Skip to content

Commit

Permalink
[GAE-Java] Use maven-flatten-plugin to replace revision property for …
Browse files Browse the repository at this point in the history
…locally build&install (#2840)

Fixes #2833, Resolve the problem of revision property for mvn installation, whith maven-flatten-plugin
  • Loading branch information
zhanglei1949 committed Jun 8, 2023
1 parent 3c4cd9d commit a8b9dce
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions analytical_engine/java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,36 @@
</plugin>
</plugins>
</pluginManagement>

<!-- use flatten plugin to replace revision property value in mvn install,otherwise the version
of grape-jdk can not be resolved -->
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.1.0</version>
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>resolveCiFriendliesOnly</flattenMode>
</configuration>
<executions>
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

<profiles>
Expand Down

0 comments on commit a8b9dce

Please sign in to comment.