RM-4245_update_module_version

Update {alfresco.rm.version} to handle more digits
This commit is contained in:
Mihai Cozma
2016-10-26 10:02:34 +03:00
parent ebd20c8a7f
commit 354928e51a

12
pom.xml
View File

@@ -102,6 +102,7 @@
</profiles> </profiles>
<properties> <properties>
<alfresco.rm.version>${project.version}</alfresco.rm.version>
<alfresco.db.params>AUTO_SERVER=TRUE;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=10000;MVCC=FALSE;LOCK_MODE=0;IGNORECASE=TRUE</alfresco.db.params> <alfresco.db.params>AUTO_SERVER=TRUE;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=10000;MVCC=FALSE;LOCK_MODE=0;IGNORECASE=TRUE</alfresco.db.params>
<maven.alfresco.includeDependencies>false</maven.alfresco.includeDependencies> <maven.alfresco.includeDependencies>false</maven.alfresco.includeDependencies>
<maven.build.sourceVersion>1.7</maven.build.sourceVersion> <maven.build.sourceVersion>1.7</maven.build.sourceVersion>
@@ -110,6 +111,7 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<argLine>-Xmx1024m -XX:MaxPermSize=256m -Duser.language=en -Dcom.sun.management.jmxremote</argLine> <argLine>-Xmx1024m -XX:MaxPermSize=256m -Duser.language=en -Dcom.sun.management.jmxremote</argLine>
<!-- license properties --> <!-- license properties -->
<license.update.dryrun>true</license.update.dryrun> <license.update.dryrun>true</license.update.dryrun>
<license.verbose>false</license.verbose> <license.verbose>false</license.verbose>
@@ -152,15 +154,15 @@
<regexPropertySetting> <regexPropertySetting>
<name>rm.module.repo.version.min</name> <name>rm.module.repo.version.min</name>
<value>${alfresco.version}</value> <value>${alfresco.version}</value>
<regex>([0-9\.]*[0-9]).*</regex> - <regex>(\d+)\.(\d+).*</regex>
<replacement>$1</replacement> - <replacement>$1.$2</replacement>
<failIfNoMatch>false</failIfNoMatch> <failIfNoMatch>false</failIfNoMatch>
</regexPropertySetting> </regexPropertySetting>
<regexPropertySetting> <regexPropertySetting>
<name>rm.module.version</name> <name>rm.module.version</name>
<value>${project.version}</value> <value>${alfresco.rm.version}</value>
<regex>(\d+)\.(\d+).*</regex> <regex>([0-9\.]*[0-9]).*</regex>
<replacement>$1.$2</replacement> <replacement>$1</replacement>
<failIfNoMatch>false</failIfNoMatch> <failIfNoMatch>false</failIfNoMatch>
</regexPropertySetting> </regexPropertySetting>
</regexPropertySettings> </regexPropertySettings>