PHILO-HE commented on code in PR #9768:
URL: https://github.com/apache/incubator-gluten/pull/9768#discussion_r2269177188


##########
gluten-ui/pom.xml:
##########
@@ -66,6 +66,66 @@
         </dependency>
     </dependencies>
 
+<profiles>
+    <profile>
+        <id>spark-4.0</id>
+        <build>
+            <plugins>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-antrun-plugin</artifactId>
+                    <executions>
+                        <execution>
+                            <phase>generate-sources</phase>
+                            <configuration>
+                                <target>
+                                    <replaceregexp 
file="src/main/scala/org/apache/spark/sql/execution/ui/GlutenAllExecutionsPage.scala"
+                                                   match="import javax.servlet"
+                                                   replace="import 
jakarta.servlet"
+                                                   byline="true"/>
+                                </target>
+                            </configuration>
+                            <goals>
+                                <goal>run</goal>
+                            </goals>
+                        </execution>
+                    </executions>
+                </plugin>
+            </plugins>
+        </build>
+    </profile>
+    <profile>
+        <id>!spark-4.0</id>
+        <activation>
+            <activeByDefault>true</activeByDefault>
+        </activation>
+        <build>
+            <plugins>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-antrun-plugin</artifactId>
+                    <executions>
+                        <execution>
+                            <phase>generate-sources</phase>
+                            <configuration>
+                                <target>
+                                    <replaceregexp 
file="src/main/scala/org/apache/spark/sql/execution/ui/GlutenAllExecutionsPage.scala"

Review Comment:
   @zhztheplayer, I have created a pr to fix: 
https://github.com/zhouyuan/gluten/pull/33. Thanks.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to