diff --git a/pom.xml b/pom.xml index 0ccff532af..eb5850fdec 100644 --- a/pom.xml +++ b/pom.xml @@ -42,8 +42,8 @@ - alfresco-internal - https://artifacts.alfresco.com/nexus/content/groups/private + alfresco-public + https://artifacts.alfresco.com/nexus/content/groups/public @@ -65,23 +65,6 @@ - - - - ${alfresco.groupId} - alfresco-platform-distribution - ${alfresco.version} - pom - import - - - org.reflections - reflections - 0.9.10 - - - - rm-community @@ -99,24 +82,42 @@ rm-automation rm-benchmark + + + alfresco-internal + https://artifacts.alfresco.com/nexus/content/groups/private + + + + + alfresco-private + https://artifacts.alfresco.com/nexus/content/groups/private + + AUTO_SERVER=TRUE;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=10000;MVCC=FALSE;LOCK_MODE=0;IGNORECASE=TRUE false - 1.7 + 1.8 1.8 UTF-8 UTF-8 -Xmx1024m -XX:MaxPermSize=256m -Duser.language=en -Dcom.sun.management.jmxremote - - - true - false - + true + false + + + junit + junit + 4.12 + test + + + ${project.artifactId}-${project.version} @@ -332,7 +333,6 @@ - org.codehaus.mojo license-maven-plugin diff --git a/rm-automation/rm-automation-community-rest-api/pom.xml b/rm-automation/rm-automation-community-rest-api/pom.xml index 9c7d523c11..7ecbbea085 100644 --- a/rm-automation/rm-automation-community-rest-api/pom.xml +++ b/rm-automation/rm-automation-community-rest-api/pom.xml @@ -15,7 +15,7 @@ 1.8 alfresco-rm-community-share alfresco-rm-community-repo - 5.2.0-4 + 5.2.0-7 2.0.0 @@ -45,11 +45,11 @@ - - com.jayway.restassured - rest-assured - 2.9.0 - + + com.jayway.restassured + rest-assured + 2.9.0 + org.alfresco.tas restapi-test diff --git a/rm-community/pom.xml b/rm-community/pom.xml index 5ade81abbe..3e968cbb1d 100644 --- a/rm-community/pom.xml +++ b/rm-community/pom.xml @@ -23,8 +23,27 @@ rm-community-share + + + + ${alfresco.groupId} + alfresco-parent + ${alfresco.version} + pom + import + + + ${alfresco.groupId} + alfresco-share-parent + ${share.version} + pom + import + + + + - 5.2.b-EA - ${alfresco.version} + 5.2.f + 5.2.e diff --git a/rm-community/rm-community-repo/pom.xml b/rm-community/rm-community-repo/pom.xml index 3097d04a65..f61f1bf752 100644 --- a/rm-community/rm-community-repo/pom.xml +++ b/rm-community/rm-community-repo/pom.xml @@ -19,7 +19,7 @@ alfresco alfresco localhost - alfresco + alfresco-platform 9.1-901.jdbc4 5.1.31 alfresco-rm-community-repo @@ -146,6 +146,24 @@ org.apache.maven.plugins maven-dependency-plugin + + fetch-share-services-amp + process-test-resources + + copy + + + + + org.alfresco + alfresco-share-services + ${share.version} + amp + + + ${project.build.directory} + + unpack-alfresco prepare-package @@ -188,6 +206,18 @@ install + + install-share-services-amp + + install + + prepare-package + + true + ${project.build.directory}/alfresco-share-services-${share.version}.amp + ${app.amp.client.war.folder} + + @@ -268,11 +298,12 @@ ${alfresco.groupId} alfresco-remote-api + ${alfresco.version} + provided javax.servlet javax.servlet-api - 3.1.0 provided @@ -344,6 +375,7 @@ org.reflections reflections + 0.9.10 test diff --git a/rm-community/rm-community-repo/source/java/org/alfresco/rm/rest/api/impl/RMSitesImpl.java b/rm-community/rm-community-repo/source/java/org/alfresco/rm/rest/api/impl/RMSitesImpl.java index 569ce2549c..45a8b50cea 100644 --- a/rm-community/rm-community-repo/source/java/org/alfresco/rm/rest/api/impl/RMSitesImpl.java +++ b/rm-community/rm-community-repo/source/java/org/alfresco/rm/rest/api/impl/RMSitesImpl.java @@ -207,7 +207,7 @@ public class RMSitesImpl extends SitesImpl implements RMSites * @param site * @return */ - private Site validateSite(Site site) + protected Site validateSite(Site site) { // site title - mandatory String siteTitle = site.getTitle();