Added a milestone profile to the maven build

This commit is contained in:
Marcin Grzejszczak
2020-10-03 08:38:23 +02:00
parent e91b91efba
commit 24c930acd2

View File

@@ -141,6 +141,39 @@
</plugins>
</build>
</profile>
<profile>
<id>milestone</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<!-- we need a different version so as not to inherit from parent -->
<version>${exec-maven-plugin.version}</version>
<executions>
<execution>
<id>gradle</id>
<phase>package</phase>
<configuration>
<executable>./gradlew</executable>
<arguments>
<argument>${gradle.task}</argument>
<!--<argument>jacocoTestReport</argument>-->
<argument>-PverifierVersion=${project.version}</argument>
</arguments>
</configuration>
<goals>
<goal>exec</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>windows</id>
<activation>