Changes to make build process more reliable

This commit is contained in:
Graham Triggs 2016-06-24 17:52:39 +01:00
parent 9e8a8a0e7b
commit a292213817
2 changed files with 28 additions and 18 deletions

View file

@ -10,6 +10,16 @@
<version>1.9.0-SNAPSHOT</version>
<packaging>pom</packaging>
<!--
The parent POM is normally retrieved from Maven Central
In the event of a build failure, it's possible to remove this definition.
-->
<parent>
<groupId>org.vivoweb</groupId>
<artifactId>vivo-project</artifactId>
<version>1.9.0-SNAPSHOT</version>
</parent>
<name>VIVO Installer</name>
<build>

36
pom.xml
View file

@ -169,6 +169,24 @@
<autoReleaseAfterClose>false</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.4</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
<configuration>
<doCheck>false</doCheck>
<doUpdate>false</doUpdate>
<shortRevisionLength>7</shortRevisionLength>
</configuration>
</plugin>
</plugins>
</build>
</profile>
@ -208,24 +226,6 @@
<target>1.7</target>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.4</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
<configuration>
<doCheck>false</doCheck>
<doUpdate>false</doUpdate>
<shortRevisionLength>7</shortRevisionLength>
</configuration>
</plugin>
</plugins>
</build>