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 d17c3e196e
commit b488d25a0f

12
pom.xml
View File

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