diff --git a/l10n.properties b/l10n.properties
index 85886b3ad2..c079b739f2 100644
--- a/l10n.properties
+++ b/l10n.properties
@@ -1,4 +1,4 @@
# Localisation config overrides for Records Management module
-MESSAGE_SEARCH_PATH="rm-community/rm-server/config rm-community/rm-share/config rm-community/rm-share/source rm-enterprise/rm-server-enterprise/src/main/resources rm-enterprise/rm-share-enterprise/src/main"
+MESSAGE_SEARCH_PATH="rm-community/rm-community-repo/config rm-community/rm-community-share rm-community/rm-share/source rm-enterprise/rm-enterprise-repo/src/main/resources rm-enterprise/rm-enterprise-share/src/main "
EXCLUDED_FILES="$EXCLUDED_FILES rm-method-security.properties springloaded.properties file-mapping.properties classified-content-notForTranslating.properties"
EXTENSION_PREFIX=-RM
diff --git a/pom.xml b/pom.xml
index 50f48d26b3..ba6897da96 100644
--- a/pom.xml
+++ b/pom.xml
@@ -49,6 +49,7 @@
https://artifacts.alfresco.com/nexus/content/repositories/5.1-EA
+
alfresco-public
@@ -82,6 +83,7 @@
rm-community
rm-enterprise
+ rm-automation
@@ -100,7 +102,6 @@
org.apache.maven.plugins
maven-enforcer-plugin
- 1.3.1
enforce-java
@@ -120,8 +121,31 @@
org.codehaus.mojo
build-helper-maven-plugin
- ${maven.buildhelper.version}
+
+ regex-properties
+
+ regex-properties
+
+
+
+
+ rm.module.repo.version.min
+ ${alfresco.version}
+ (\d+)\.(\d+).*
+ $1.$2
+ false
+
+
+ rm.module.version
+ ${alfresco.rm.version}
+ (\d+)\.(\d+).*
+ $1.$2
+ false
+
+
+
+
add-test-source
@@ -149,7 +173,7 @@
maven-compiler-plugin
- 3.2
+ ${maven.compiler.version}
${maven.build.sourceVersion}
${maven.build.sourceVersion}
@@ -192,6 +216,36 @@
+
+ org.apache.maven.plugins
+ maven-enforcer-plugin
+ ${maven.enforcer.plugin}
+
+
+ org.codehaus.mojo
+ properties-maven-plugin
+ 1.0-alpha-2
+
+
+ org.apache.maven.plugins
+ maven-failsafe-plugin
+ 2.19
+
+
+ org.apache.maven.plugins
+ maven-source-plugin
+ 2.4
+
+
+ org.codehaus.mojo
+ build-helper-maven-plugin
+ ${maven.buildhelper.version}
+
+
+ org.codehaus.mojo
+ sql-maven-plugin
+ 1.5
+
diff --git a/rm-automation/pom.xml b/rm-automation/pom.xml
new file mode 100644
index 0000000000..48dccede8f
--- /dev/null
+++ b/rm-automation/pom.xml
@@ -0,0 +1,348 @@
+
+
+
+ 4.0.0
+ alfresco-rm-automation
+ Alfresco Records Management Automation
+
+
+ org.alfresco
+ alfresco-rm
+ 2.5-SNAPSHOT
+
+
+
+ 2.45.0
+ 4.0.5.RELEASE
+ 1.8
+ testng.xml
+ true
+
+
+
+
+
+ org.codehaus.mojo
+ build-helper-maven-plugin
+
+
+ add-test-source
+
+ add-test-source
+
+
+
+ src/unit-test/java
+
+
+
+
+
+
+ maven-surefire-plugin
+
+ false
+
+ ${project.build.testOutputDirectory}/${suiteXmlFile}
+
+ ${skip.automationtests}
+
+
+
+ maven-antrun-plugin
+
+
+ default-cli
+
+
+ Stopping Alfresco...
+
+
+
+
+
+
+
+
+
+
+
+
+
+ org.alfresco.test
+ dataprep
+ 1.4
+
+
+ org.alfresco.test
+ alfresco-testng
+ 1.1
+
+
+ org.alfresco
+ selenium-grid
+ 1.4
+
+
+ org.springframework
+ spring-beans
+ ${spring.version}
+
+
+ org.springframework
+ spring-core
+ ${spring.version}
+
+
+ org.springframework
+ spring-context
+ ${spring.version}
+
+
+ org.springframework
+ spring-tx
+ ${spring.version}
+ test
+
+
+ org.springframework
+ spring-test
+ ${spring.version}
+ test
+
+
+ org.testng
+ testng
+ 6.8.8
+
+
+ ru.yandex.qatools.htmlelements
+ htmlelements-all
+ 1.12
+
+
+ ru.yandex.qatools.properties
+ properties-loader
+ 1.5
+ test
+
+
+ com.github.tomakehurst
+ wiremock
+ 1.56
+
+
+ org.apache.chemistry.opencmis
+ chemistry-opencmis-client-bindings
+ 0.11.0
+
+
+
+
+
+ install-alfresco
+
+
+
+ maven-antrun-plugin
+
+
+ fetch-installer
+ generate-test-resources
+
+ run
+
+
+
+ Recreating database...
+ drop database if exists alfresco; create database alfresco
+ Downloading Alfresco installer...
+
+
+
+ Installing Alfresco...
+
+
+
+
+
+
+
+
+
+ org.apache.ant
+ ant-jsch
+ 1.8.2
+
+
+ postgresql
+ postgresql
+ 9.1-901-1.jdbc4
+
+
+
+
+ maven-dependency-plugin
+
+
+ fetch-amps
+ process-test-resources
+
+ copy
+
+
+
+
+ org.alfresco
+ alfresco-rm-community-share
+ ${project.version}
+ amp
+
+
+ org.alfresco
+ alfresco-rm-enterprise-share
+ ${project.version}
+ amp
+
+
+ org.alfresco
+ alfresco-rm-community-repo
+ ${project.version}
+ amp
+
+
+ org.alfresco
+ alfresco-rm-enterprise-repo
+ ${project.version}
+ amp
+
+
+ ${project.build.directory}/amps
+ true
+
+
+
+
+
+ org.alfresco.maven.plugin
+ alfresco-maven-plugin
+ true
+
+
+ install-community-repo-amp
+
+ install
+
+ process-test-resources
+
+ true
+ ${project.build.directory}/amps/alfresco-rm-community-repo-${project.version}.amp
+ ${project.build.directory}/alf-installation/tomcat/webapps/alfresco.war
+
+
+
+ install-enterprise-repo-amp
+
+ install
+
+ process-test-resources
+
+ true
+ ${project.build.directory}/amps/alfresco-rm-enterprise-repo-${project.version}.amp
+ ${project.build.directory}/alf-installation/tomcat/webapps/alfresco.war
+
+
+
+ install-community-share-amp
+
+ install
+
+ process-test-resources
+
+ true
+ ${project.build.directory}/amps/alfresco-rm-community-share-${project.version}.amp
+ ${project.build.directory}/alf-installation/tomcat/webapps/share.war
+
+
+
+ install-enterprise-share-amp
+
+ install
+
+ process-test-resources
+
+ true
+ ${project.build.directory}/amps/alfresco-rm-enterprise-share-${project.version}.amp
+ ${project.build.directory}/alf-installation/tomcat/webapps/share.war
+
+
+
+
+
+
+
+
+ run-alfresco
+
+
+
+ org.jacoco
+ jacoco-maven-plugin
+ 0.7.5.201505241946
+
+
+ prepare-jacoco
+
+ prepare-agent
+
+
+
+
+
+ org.alfresco.*
+
+
+
+
+ maven-antrun-plugin
+
+
+ start-alfresco
+ process-test-classes
+
+ run
+
+
+
+ Starting Alfresco...
+
+
+
+
+
+
+
+
+
+ stop-alfresco
+ post-integration-test
+
+ run
+
+
+
+ Stopping Alfresco...
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/module.properties b/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/module.properties
index 19d6ed89dd..0d8ed72b10 100644
--- a/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/module.properties
+++ b/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/module.properties
@@ -6,6 +6,6 @@ module.aliases=org_alfresco_module_dod5015
module.title=Records Management
module.description=Alfresco Record Management Extension
-module.version=2.3
+module.version=${rm.module.version}
-module.repo.version.min=4.2.2
\ No newline at end of file
+module.repo.version.min=${rm.module.repo.version.min}
\ No newline at end of file
diff --git a/rm-community/rm-community-repo/pom.xml b/rm-community/rm-community-repo/pom.xml
index 560c76574f..36cb31fc9d 100644
--- a/rm-community/rm-community-repo/pom.xml
+++ b/rm-community/rm-community-repo/pom.xml
@@ -26,12 +26,14 @@
true
${project.build.directory}/solr/home
+
source/java
test/java
config
+ ${app.filtering.enabled}
@@ -80,13 +82,13 @@
run
-
+
-
+
@@ -94,7 +96,6 @@
org.codehaus.mojo
properties-maven-plugin
- 1.0-alpha-2
initialize
@@ -111,18 +112,17 @@
- org.apache.maven.plugins
+ org.apache.maven.plugins
maven-surefire-plugin
-
- **/AllUnitTestSuite.class
-
+
+ **/AllUnitTestSuite.class
+
-
+
org.apache.maven.plugins
maven-failsafe-plugin
- 2.19
integration-tests
@@ -139,7 +139,6 @@
-
org.apache.maven.plugins
maven-dependency-plugin
@@ -164,8 +163,6 @@
-
org.alfresco.maven.plugin
alfresco-maven-plugin
@@ -199,11 +196,6 @@
-
-
-
org.apache.maven.plugins
@@ -224,7 +216,6 @@
org.apache.maven.plugins
maven-source-plugin
- 2.4
attach-sources
@@ -237,11 +228,9 @@
-
org.eclipse.m2e
lifecycle-mapping
- 1.0.0
@@ -272,12 +261,10 @@
gson
2.3.1
-
${alfresco.groupId}
alfresco-remote-api
-
io.takari.junit
takari-cpsuite
@@ -320,7 +307,6 @@
tests
test
-
postgresql
postgresql
@@ -373,7 +359,6 @@
start-repo
-
org.apache.maven.plugins
maven-dependency-plugin
@@ -396,7 +381,6 @@
-
unpack-alfresco-config
@@ -418,7 +402,6 @@
-
org.alfresco.maven.plugin
alfresco-maven-plugin
@@ -432,15 +415,12 @@
-
false
-
org.codehaus.mojo
build-helper-maven-plugin
- 1.8
regex-property
@@ -458,7 +438,6 @@
-
com.google.code.maven-replacer-plugin
replacer
@@ -543,26 +522,15 @@
-
wipeDB
-
org.codehaus.mojo
sql-maven-plugin
- 1.5
true
${alfresco.db.datasource.class}
@@ -608,6 +576,5 @@
-
\ No newline at end of file