Removes build version suffix to SNAPSHOT releases.

See https://github.com/BentoBoxWorld/BentoBox/issues/603
This commit is contained in:
tastybento 2019-03-08 23:38:04 -08:00
parent 9ba34d1e92
commit 5d2e6e6906

15
pom.xml
View File

@ -71,21 +71,6 @@
<revision>${build.version}-SNAPSHOT</revision>
</properties>
</profile>
<profile>
<!-- Develop profile is activated if there exist environment variable BUILD_NUMBER. It adds
'-SNAPSHOT #BUILD_NUMBER' at the end of ${build.version}. -->
<!-- This profile will be used only if exist environment variable BUILD_NUMBER and master fails. -->
<id>develop</id>
<activation>
<property>
<name>env.BUILD_NUMBER</name>
</property>
</activation>
<properties>
<!-- If exist BUILD_NUMBER -->
<revision>${build.version}-SNAPSHOT-#${env.BUILD_NUMBER}</revision>
</properties>
</profile>
<profile>
<!-- Master profile is activated if exist environment variable GIT_BRANCH and its value is
origin/master. It will not add anything at the end of '${build.version}'. -->