Skip to content

Commit

Permalink
chore: Move plugin maven-resources-plugin to module `flink-platform…
Browse files Browse the repository at this point in the history
…-web`
  • Loading branch information
itinycheng committed Jan 3, 2025
1 parent c62a59a commit 8b4b721
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 15 deletions.
14 changes: 0 additions & 14 deletions flink-platform-ui/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,20 +57,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<configuration>
<encoding>${project.build.sourceEncoding}</encoding>
<outputDirectory>${project.build.directory}</outputDirectory>
<resources>
<resource>
<targetPath>${project.parent.basedir}/flink-platform-web/src/main/resources/static</targetPath>
<directory>${basedir}/frontend/dist</directory>
</resource>
</resources>
</configuration>
</plugin>
</plugins>
</build>
</project>
23 changes: 23 additions & 0 deletions flink-platform-web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,29 @@
</resources>

<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>generate-resources</id>
<phase>generate-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<encoding>${project.build.sourceEncoding}</encoding>
<outputDirectory>${project.build.directory}</outputDirectory>
<resources>
<resource>
<targetPath>${basedir}/src/main/resources/static</targetPath>
<directory>${project.parent.basedir}/flink-platform-ui/frontend/dist</directory>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@
<module>flink-sql-submit</module>
<module>flink-platform-ui</module>
<module>flink-platform-storage</module>
<module>flink-platform-web</module>
<module>flink-platform-plugin</module>
<module>flink-platform-web</module>
</modules>
</project>

0 comments on commit 8b4b721

Please sign in to comment.