mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
REPO-2815 Populate version.properties with maven version
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -2,7 +2,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<artifactId>acs-community-packaging</artifactId>
|
<artifactId>acs-community-packaging</artifactId>
|
||||||
<name>Alfresco Content Services Community Packaging</name>
|
<name>Alfresco Content Services Community Packaging</name>
|
||||||
<version>6.0-SNAPSHOT</version>
|
<version>6.0.a-SNAPSHOT</version>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
|
21
war/pom.xml
21
war/pom.xml
@@ -7,7 +7,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>acs-community-packaging</artifactId>
|
<artifactId>acs-community-packaging</artifactId>
|
||||||
<version>6.0-SNAPSHOT</version>
|
<version>6.0.a-SNAPSHOT</version>
|
||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
@@ -215,6 +215,25 @@
|
|||||||
<shortRevisionLength>8</shortRevisionLength>
|
<shortRevisionLength>8</shortRevisionLength>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<!-- populate version.properties with the correct version -->
|
||||||
|
<!-- Creates the following variables:
|
||||||
|
parsedVersion.majorVersion
|
||||||
|
parsedVersion.minorVersion
|
||||||
|
parsedVersion.incrementalVersion
|
||||||
|
-->
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>build-helper-maven-plugin</artifactId>
|
||||||
|
<version>3.0.0</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<phase>validate</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>parse-version</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-dependency-plugin</artifactId>
|
<artifactId>maven-dependency-plugin</artifactId>
|
||||||
<executions>
|
<executions>
|
||||||
|
@@ -4,9 +4,9 @@
|
|||||||
|
|
||||||
# Version label
|
# Version label
|
||||||
|
|
||||||
version.major=5
|
version.major=@parsedVersion.majorVersion@
|
||||||
version.minor=3
|
version.minor=@parsedVersion.minorVersion@
|
||||||
version.revision=0
|
version.revision=@parsedVersion.qualifier@
|
||||||
version.label=
|
version.label=
|
||||||
|
|
||||||
# Edition label
|
# Edition label
|
||||||
|
@@ -8,7 +8,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>acs-community-packaging</artifactId>
|
<artifactId>acs-community-packaging</artifactId>
|
||||||
<version>6.0-SNAPSHOT</version>
|
<version>6.0.a-SNAPSHOT</version>
|
||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user