Use maven flatten plugin to make pom.xml variables to be replaced by value

This commit is contained in:
Mina Lee 2017-02-23 16:32:41 +09:00
parent 783c0144f5
commit 489c8431c5

28
pom.xml
View file

@ -308,6 +308,32 @@
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.0.0</version>
<configuration>
<flattenMode>ossrh</flattenMode>
<updatePomFile>true</updatePomFile>
</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>
<!-- Test coverage plugin -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
@ -475,7 +501,7 @@
<version>${plugin.deploy.version}</version>
</plugin>
<!--TODO(alex): make part of the build and reconcile conflicts
<!--TODO(alex): make part of the build and reconcile conflicts
<plugin>
<groupId>com.ning.maven.plugins</groupId>
<artifactId>maven-duplicate-finder-plugin</artifactId>