mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-4245_update_module_version
This commit is contained in:
45
pom.xml
45
pom.xml
@@ -85,6 +85,36 @@
|
|||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>build-helper-maven-plugin</artifactId>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>regex-property</id>
|
||||||
|
<goals>
|
||||||
|
<goal>regex-property</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<name>rm.module.version</name>
|
||||||
|
<value>${project.version}</value>
|
||||||
|
<regex>(\d+)\.(\d+).(\d+).*</regex>
|
||||||
|
<replacement>$1.$2.$3</replacement>
|
||||||
|
<failIfNoMatch>true</failIfNoMatch>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<id>add-test-source</id>
|
||||||
|
<goals>
|
||||||
|
<goal>add-test-source</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<sources>
|
||||||
|
<source>unit-test/java</source>
|
||||||
|
</sources>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-enforcer-plugin</artifactId>
|
<artifactId>maven-enforcer-plugin</artifactId>
|
||||||
@@ -311,6 +341,21 @@
|
|||||||
<ignore />
|
<ignore />
|
||||||
</action>
|
</action>
|
||||||
</pluginExecution>
|
</pluginExecution>
|
||||||
|
<pluginExecution>
|
||||||
|
<pluginExecutionFilter>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>
|
||||||
|
build-helper-maven-plugin
|
||||||
|
</artifactId>
|
||||||
|
<versionRange>[1.8,)</versionRange>
|
||||||
|
<goals>
|
||||||
|
<goal>regex-property</goal>
|
||||||
|
</goals>
|
||||||
|
</pluginExecutionFilter>
|
||||||
|
<action>
|
||||||
|
<ignore></ignore>
|
||||||
|
</action>
|
||||||
|
</pluginExecution>
|
||||||
</pluginExecutions>
|
</pluginExecutions>
|
||||||
</lifecycleMappingMetadata>
|
</lifecycleMappingMetadata>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
@@ -6,6 +6,6 @@ module.aliases=org_alfresco_module_dod5015
|
|||||||
|
|
||||||
module.title=Records Management
|
module.title=Records Management
|
||||||
module.description=Alfresco Record Management Extension
|
module.description=Alfresco Record Management Extension
|
||||||
module.version=2.3
|
module.version=${rm.module.version}
|
||||||
|
|
||||||
module.repo.version.min=4.2.2
|
module.repo.version.min=4.2.2
|
||||||
|
@@ -19,6 +19,7 @@
|
|||||||
<resources>
|
<resources>
|
||||||
<resource>
|
<resource>
|
||||||
<directory>config</directory>
|
<directory>config</directory>
|
||||||
|
<filtering>true</filtering>
|
||||||
</resource>
|
</resource>
|
||||||
</resources>
|
</resources>
|
||||||
<testResources>
|
<testResources>
|
||||||
@@ -32,6 +33,19 @@
|
|||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
<artifactId>build-helper-maven-plugin</artifactId>
|
<artifactId>build-helper-maven-plugin</artifactId>
|
||||||
<executions>
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>regex-property</id>
|
||||||
|
<goals>
|
||||||
|
<goal>regex-property</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<name>rm.module.version</name>
|
||||||
|
<value>${project.version}</value>
|
||||||
|
<regex>(\d+)\.(\d+).(\d+).*</regex>
|
||||||
|
<replacement>$1.$2.$3</replacement>
|
||||||
|
<failIfNoMatch>true</failIfNoMatch>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
<execution>
|
<execution>
|
||||||
<id>add-source</id>
|
<id>add-source</id>
|
||||||
<goals>
|
<goals>
|
||||||
@@ -154,7 +168,7 @@
|
|||||||
<goal>run</goal>
|
<goal>run</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<tasks>
|
<tasks>
|
||||||
<delete file="${project.build.outputDirectory}/alfresco/extension/dev-context.xml"/>
|
<delete file="${project.build.outputDirectory}/alfresco/extension/dev-context.xml"/>
|
||||||
<move todir="${project.build.directory}/${project.build.finalName}/config/alfresco">
|
<move todir="${project.build.directory}/${project.build.finalName}/config/alfresco">
|
||||||
<fileset dir="${project.build.outputDirectory}/alfresco"/>
|
<fileset dir="${project.build.outputDirectory}/alfresco"/>
|
||||||
|
Reference in New Issue
Block a user