From b9103bc8cd4eaa772e3c2e2dee29f5f5bd23bf34 Mon Sep 17 00:00:00 2001 From: Tuna Aksoy Date: Mon, 23 Jan 2017 23:01:31 +0000 Subject: [PATCH] Updated Alfresco dependency for RM Community (Repo -> 5.2.e, Share -> 5.2.d) --- pom.xml | 26 ++++++----------- rm-community/pom.xml | 28 +++++++++++++++++-- rm-community/rm-community-repo/pom.xml | 4 +-- .../rm/rest/api/impl/RMSitesImpl.java | 2 +- 4 files changed, 38 insertions(+), 22 deletions(-) diff --git a/pom.xml b/pom.xml index 4eff6fbd7f..48eb54091a 100644 --- a/pom.xml +++ b/pom.xml @@ -65,23 +65,6 @@ - - - - ${alfresco.groupId} - alfresco-platform-distribution - ${alfresco.version} - pom - import - - - org.reflections - reflections - 0.9.10 - - - - rm-community @@ -117,6 +100,15 @@ + + + junit + junit + 4.12 + test + + + ${project.artifactId}-${project.version} diff --git a/rm-community/pom.xml b/rm-community/pom.xml index 5ade81abbe..ec4af993c7 100644 --- a/rm-community/pom.xml +++ b/rm-community/pom.xml @@ -23,8 +23,32 @@ rm-community-share + + + + ${alfresco.groupId} + alfresco-parent + ${alfresco.version} + pom + import + + + ${alfresco.groupId} + alfresco-share-parent + ${share.version} + pom + import + + + org.reflections + reflections + 0.9.10 + + + + - 5.2.b-EA - ${alfresco.version} + 5.2.e + 5.2.d diff --git a/rm-community/rm-community-repo/pom.xml b/rm-community/rm-community-repo/pom.xml index 3097d04a65..0aaff805ad 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 @@ -268,11 +268,11 @@ ${alfresco.groupId} alfresco-remote-api + ${alfresco.version} javax.servlet javax.servlet-api - 3.1.0 provided 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();