From c6356a41057b5cee33901eaa08e29b74e0cccfea Mon Sep 17 00:00:00 2001 From: Tuna Aksoy Date: Fri, 5 Feb 2016 22:21:36 +0000 Subject: [PATCH] Tided up the pom files (Defined the versions for plugins so that we don't need to specify them in every pom file and we can use the same version in all submodules) Conflicts: rm-enterprise/rm-enterprise-automation/pom.xml rm-enterprise/rm-enterprise-repo/pom.xml rm-enterprise/rm-enterprise-share/pom.xml --- pom.xml | 35 ++++++++++++++++++-- rm-community/rm-community-repo/pom.xml | 46 ++++---------------------- 2 files changed, 38 insertions(+), 43 deletions(-) diff --git a/pom.xml b/pom.xml index 9c2dd694da..bdfb84fbf0 100644 --- a/pom.xml +++ b/pom.xml @@ -49,6 +49,7 @@ https://artifacts.alfresco.com/nexus/content/repositories/5.1-EA + alfresco-public @@ -100,7 +101,6 @@ org.apache.maven.plugins maven-enforcer-plugin - 1.3.1 enforce-java @@ -120,7 +120,6 @@ org.codehaus.mojo build-helper-maven-plugin - ${maven.buildhelper.version} regex-properties @@ -173,7 +172,7 @@ maven-compiler-plugin - 3.2 + ${maven.compiler.version} ${maven.build.sourceVersion} ${maven.build.sourceVersion} @@ -216,6 +215,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-community/rm-community-repo/pom.xml b/rm-community/rm-community-repo/pom.xml index a1c88ad2f7..d781638518 100644 --- a/rm-community/rm-community-repo/pom.xml +++ b/rm-community/rm-community-repo/pom.xml @@ -26,6 +26,7 @@ true ${project.build.directory}/solr/home + source/java test/java @@ -95,7 +96,6 @@ org.codehaus.mojo properties-maven-plugin - 1.0-alpha-2 initialize @@ -112,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 @@ -140,7 +139,6 @@ - org.apache.maven.plugins maven-dependency-plugin @@ -165,8 +163,6 @@ - org.alfresco.maven.plugin alfresco-maven-plugin @@ -200,11 +196,6 @@ - - - org.apache.maven.plugins @@ -225,7 +216,6 @@ org.apache.maven.plugins maven-source-plugin - 2.4 attach-sources @@ -238,11 +228,9 @@ - org.eclipse.m2e lifecycle-mapping - 1.0.0 @@ -273,12 +261,10 @@ gson 2.3.1 - ${alfresco.groupId} alfresco-remote-api - io.takari.junit takari-cpsuite @@ -321,7 +307,6 @@ tests test - postgresql postgresql @@ -374,7 +359,6 @@ start-repo - org.apache.maven.plugins maven-dependency-plugin @@ -397,7 +381,6 @@ - unpack-alfresco-config @@ -419,7 +402,6 @@ - org.alfresco.maven.plugin alfresco-maven-plugin @@ -433,15 +415,12 @@ - false - org.codehaus.mojo build-helper-maven-plugin - 1.8 regex-property @@ -459,7 +438,6 @@ - com.google.code.maven-replacer-plugin replacer @@ -544,26 +522,15 @@ - wipeDB - org.codehaus.mojo sql-maven-plugin - 1.5 true ${alfresco.db.datasource.class} @@ -609,6 +576,5 @@ - \ No newline at end of file