From 320908db31634a040e832bb92308893a8c200225 Mon Sep 17 00:00:00 2001 From: cagache Date: Wed, 10 Apr 2019 15:39:35 +0300 Subject: [PATCH 1/4] RM-6803 Skip Javadoc execution for not a Java classpath-capable packages --- pom.xml | 2 +- rm-automation/rm-automation-community-rest-api/pom.xml | 1 + rm-community/rm-community-repo/pom.xml | 2 ++ rm-community/rm-community-rest-api-explorer/pom.xml | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 48edb2850f..753b534264 100644 --- a/pom.xml +++ b/pom.xml @@ -475,6 +475,7 @@ /share 3.1.0 + true 2.6 false 1.8 @@ -679,7 +680,6 @@ jar - diff --git a/rm-automation/rm-automation-community-rest-api/pom.xml b/rm-automation/rm-automation-community-rest-api/pom.xml index 66be754b6e..c643e57053 100644 --- a/rm-automation/rm-automation-community-rest-api/pom.xml +++ b/rm-automation/rm-automation-community-rest-api/pom.xml @@ -13,6 +13,7 @@ 1.8 + false alfresco-governance-services-community-share alfresco-governance-services-community-repo 6.0.0.3 diff --git a/rm-community/rm-community-repo/pom.xml b/rm-community/rm-community-repo/pom.xml index 094995701c..b1f15dc32a 100644 --- a/rm-community/rm-community-repo/pom.xml +++ b/rm-community/rm-community-repo/pom.xml @@ -33,6 +33,8 @@ 6.0.b alfresco/alfresco-governance-repository-community + false + diff --git a/rm-community/rm-community-rest-api-explorer/pom.xml b/rm-community/rm-community-rest-api-explorer/pom.xml index cda7507d96..a9ea0cfccc 100644 --- a/rm-community/rm-community-rest-api-explorer/pom.xml +++ b/rm-community/rm-community-rest-api-explorer/pom.xml @@ -13,6 +13,7 @@ 1.8 1.8 + false UTF-8 UTF-8 From 3310d3805a95a54b252b55e1233dcde663e04a5f Mon Sep 17 00:00:00 2001 From: cagache Date: Wed, 10 Apr 2019 17:47:48 +0300 Subject: [PATCH 2/4] Renamed files to end with Test or Tests to get rid of java.lang.ClassNotFoundException --- .../search/{ShareLiveSearch.java => ShareLiveSearchTests.java} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/search/{ShareLiveSearch.java => ShareLiveSearchTests.java} (97%) diff --git a/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/search/ShareLiveSearch.java b/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/search/ShareLiveSearchTests.java similarity index 97% rename from rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/search/ShareLiveSearch.java rename to rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/search/ShareLiveSearchTests.java index af396539f7..5a0f1dfa2e 100644 --- a/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/search/ShareLiveSearch.java +++ b/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/search/ShareLiveSearchTests.java @@ -38,7 +38,7 @@ import org.alfresco.test.AlfrescoTest; import org.springframework.beans.factory.annotation.Autowired; import org.testng.annotations.Test; -public class ShareLiveSearch extends BaseRMRestTest +public class ShareLiveSearchTests extends BaseRMRestTest { @Autowired SearchAPI searchApi; From cb6b79124f985895225a642268ecf888acd626fb Mon Sep 17 00:00:00 2001 From: Rodica Sutu Date: Fri, 12 Apr 2019 10:31:23 +0300 Subject: [PATCH 3/4] fix the illegal reflective access operation warning from xstream library --- pom.xml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 424a44e4d1..ae6530870c 100644 --- a/pom.xml +++ b/pom.xml @@ -481,7 +481,7 @@ /share 3.1.0 - 2.6 + 3.2.2 false 1.8 1.8 @@ -1045,6 +1045,12 @@ maven-war-plugin ${maven.war.plugin.version} + + + org.apache.commons + commons-compress + 1.18 + org.alfresco.maven.plugin alfresco-maven-plugin From 1047fd46a2362c6b6c4ddfa83a863c10ccd619ed Mon Sep 17 00:00:00 2001 From: cagache Date: Fri, 12 Apr 2019 14:32:52 +0300 Subject: [PATCH 4/4] Renamed test classes to end with Test or Tests --- .../audit/{AuditLoginEvents.java => AuditLoginEventsTests.java} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/audit/{AuditLoginEvents.java => AuditLoginEventsTests.java} (98%) diff --git a/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/audit/AuditLoginEvents.java b/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/audit/AuditLoginEventsTests.java similarity index 98% rename from rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/audit/AuditLoginEvents.java rename to rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/audit/AuditLoginEventsTests.java index 1b86d8b3ef..12b445b3e3 100644 --- a/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/audit/AuditLoginEvents.java +++ b/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/audit/AuditLoginEventsTests.java @@ -48,7 +48,7 @@ import org.testng.annotations.Test; * @since 2.7 */ @AlfrescoTest (jira = "RM-5234") -public class AuditLoginEvents extends BaseRMRestTest +public class AuditLoginEventsTests extends BaseRMRestTest { @Autowired private RMAuditAPI rmAuditAPI;