From 79095ce544367f5fefd7c48bfbc268ba125c3ef2 Mon Sep 17 00:00:00 2001 From: alandavis Date: Wed, 5 May 2021 21:26:14 +0100 Subject: [PATCH] Simplify dependencies so they are inherited. Includes Cezar's removal of eclipse profiles. [ags] (cherry picked from commit cd2afea3be4a89f25b1585af3f5d4f7519e9d464) --- amps/ags/pom.xml | 65 +------------------ amps/ags/rm-automation/pom.xml | 28 -------- .../rm-automation-community-rest-api/pom.xml | 8 +-- amps/ags/rm-community/pom.xml | 10 --- .../rm-community/rm-community-repo/pom.xml | 46 ------------- amps/share-services/pom.xml | 1 - data-model/pom.xml | 37 ----------- packaging/war/pom.xml | 19 ------ pom.xml | 30 ++++++++- repository/pom.xml | 51 --------------- 10 files changed, 31 insertions(+), 264 deletions(-) diff --git a/amps/ags/pom.xml b/amps/ags/pom.xml index 2c4e8de8d0..1aa7824543 100644 --- a/amps/ags/pom.xml +++ b/amps/ags/pom.xml @@ -47,26 +47,6 @@ jakarta.jws-api provided - - - - - - - - - - - - - - - - - - - - @@ -277,49 +257,6 @@ - - org.eclipse.m2e - lifecycle-mapping - 1.0.0 - - - - - - org.apache.maven.plugins - maven-enforcer-plugin - [1.0.0,) - - enforce - - - - - - - - - - org.codehaus.mojo - - - build-helper-maven-plugin - - - [1.9.1,) - - - regex-properties - - - - - - - - - - maven-enforcer-plugin ${maven.enforcer.plugin} @@ -429,7 +366,7 @@ org.apache.maven.shared maven-filtering - 3.1.1 + ${dependency.maven-filtering.version} diff --git a/amps/ags/rm-automation/pom.xml b/amps/ags/rm-automation/pom.xml index 4ade32c99c..c8903f7c6b 100644 --- a/amps/ags/rm-automation/pom.xml +++ b/amps/ags/rm-automation/pom.xml @@ -38,33 +38,5 @@ - - - - org.eclipse.m2e - lifecycle-mapping - 1.0.0 - - - - - - org.codehaus.mojo - license-maven-plugin - [1.8,) - - update-file-header - - - - - - - - - - - - diff --git a/amps/ags/rm-automation/rm-automation-community-rest-api/pom.xml b/amps/ags/rm-automation/rm-automation-community-rest-api/pom.xml index 896d7a3b1c..2175452cdf 100644 --- a/amps/ags/rm-automation/rm-automation-community-rest-api/pom.xml +++ b/amps/ags/rm-automation/rm-automation-community-rest-api/pom.xml @@ -12,8 +12,6 @@ false - 2.0.0 - 2.7.9.1 @@ -51,7 +49,6 @@ org.alfresco.tas restapi - ${dependency.tas-restapi.version} com.fasterxml.jackson.core @@ -71,14 +68,13 @@ org.projectlombok lombok - 1.18.6 provided org.jglue.fluent-json fluent-json - ${fluent.json.version} + 2.0.0 org.alfresco.test @@ -88,7 +84,6 @@ org.apache.commons commons-collections4 - 4.1 com.github.docker-java @@ -98,7 +93,6 @@ com.fasterxml.jackson.core jackson-databind - ${jackson.databind.version} diff --git a/amps/ags/rm-community/pom.xml b/amps/ags/rm-community/pom.xml index 2fdcfcf9a8..c450b93df3 100644 --- a/amps/ags/rm-community/pom.xml +++ b/amps/ags/rm-community/pom.xml @@ -20,14 +20,4 @@ LGPL 3 - - - - - org.springframework - spring-test - ${dependency.spring.version} - - - diff --git a/amps/ags/rm-community/rm-community-repo/pom.xml b/amps/ags/rm-community/rm-community-repo/pom.xml index 3e352d91fd..1e6708d089 100644 --- a/amps/ags/rm-community/rm-community-repo/pom.xml +++ b/amps/ags/rm-community/rm-community-repo/pom.xml @@ -12,10 +12,7 @@ - alfresco-platform - alfresco/alfresco-governance-repository-community - false @@ -101,14 +98,12 @@ io.swagger swagger-parser - 1.0.52 test com.github.fge json-schema-validator - 2.2.6 test @@ -387,47 +382,6 @@ - - - - - org.eclipse.m2e - lifecycle-mapping - - - - - - org.codehaus.mojo - properties-maven-plugin - [1.0-alpha-2,) - - read-project-properties - - - - - - - - - org.codehaus.mojo - license-maven-plugin - [1.8,) - - update-file-header - - - - - - - - - - - - diff --git a/amps/share-services/pom.xml b/amps/share-services/pom.xml index 62bdc35278..53eb4bfda2 100644 --- a/amps/share-services/pom.xml +++ b/amps/share-services/pom.xml @@ -131,7 +131,6 @@ org.springframework spring-test - ${dependency.spring.version} test diff --git a/data-model/pom.xml b/data-model/pom.xml index a98cd03154..6c9a98aec2 100644 --- a/data-model/pom.xml +++ b/data-model/pom.xml @@ -73,43 +73,6 @@ - - - - - - org.eclipse.m2e - lifecycle-mapping - 1.0.0 - - - - - - org.jibx - - maven-jibx-plugin - - - [1.2.5,) - - - bind - - - - - true - true - - - - - - - - - diff --git a/packaging/war/pom.xml b/packaging/war/pom.xml index 9b6f5540b6..d230eabfac 100644 --- a/packaging/war/pom.xml +++ b/packaging/war/pom.xml @@ -249,23 +249,4 @@ - - - - - m2e - - - commons-logging - commons-logging - - runtime - - - mysql - mysql-connector-java - - - - diff --git a/pom.xml b/pom.xml index 11504caa78..6c9f1c0f0a 100644 --- a/pom.xml +++ b/pom.xml @@ -90,7 +90,9 @@ 1.20 1.2.5 4.0.3 - 3.38.0 + 3.38.0 + 1.0.52 + 3.1.1 2.3.3 2.3.3 @@ -632,6 +634,11 @@ junrar 7.4.0 + + com.github.fge + json-schema-validator + 2.2.6 + org.jsoup @@ -649,6 +656,11 @@ commons-csv 1.8 + + org.apache.commons + commons-collections4 + 4.2 + org.postgresql @@ -846,6 +858,22 @@ taglibs-standard-jstlel ${dependency.apache.taglibs.version} + + org.reflections + reflections + 0.9.12 + + + + io.swagger + swagger-parser + ${dependency.swagger-parser.version} + + + org.projectlombok + lombok + 1.18.6 + diff --git a/repository/pom.xml b/repository/pom.xml index 7308041ec2..2be77ad9a3 100644 --- a/repository/pom.xml +++ b/repository/pom.xml @@ -1025,57 +1025,6 @@ license-maven-plugin 2.0.0 - - - org.eclipse.m2e - lifecycle-mapping - 1.0.0 - - - - - - - org.apache.maven.plugins - - - maven-surefire-plugin - - - [2.14,) - - - test - - - - - - - - - org.jibx - - maven-jibx-plugin - - - [1.2.5,) - - - bind - - - - - true - true - - - - - - -