From c9b33b4f59c1a79d92e0f5011f37086604a57847 Mon Sep 17 00:00:00 2001 From: Samuel Langlois Date: Thu, 23 Mar 2017 16:08:31 +0000 Subject: [PATCH 1/2] #443 Upgrade Maven plugins and dependencies --- archetypes/activiti-jar-archetype/pom.xml | 1 - .../alfresco-allinone-archetype/pom.xml | 1 - .../alfresco-platform-jar-archetype/pom.xml | 1 - .../alfresco-share-jar-archetype/pom.xml | 1 - plugins/alfresco-maven-plugin/pom.xml | 24 +++++++++---------- pom.xml | 19 ++++++++------- 6 files changed, 22 insertions(+), 25 deletions(-) diff --git a/archetypes/activiti-jar-archetype/pom.xml b/archetypes/activiti-jar-archetype/pom.xml index cdde384c..9a9bb515 100644 --- a/archetypes/activiti-jar-archetype/pom.xml +++ b/archetypes/activiti-jar-archetype/pom.xml @@ -48,7 +48,6 @@ org.apache.maven.plugins maven-resources-plugin - ${maven.resource.version} false diff --git a/archetypes/alfresco-allinone-archetype/pom.xml b/archetypes/alfresco-allinone-archetype/pom.xml index 7a72870e..ca597016 100644 --- a/archetypes/alfresco-allinone-archetype/pom.xml +++ b/archetypes/alfresco-allinone-archetype/pom.xml @@ -47,7 +47,6 @@ org.apache.maven.plugins maven-resources-plugin - ${maven.resource.version} false diff --git a/archetypes/alfresco-platform-jar-archetype/pom.xml b/archetypes/alfresco-platform-jar-archetype/pom.xml index 252090e2..223c8b66 100644 --- a/archetypes/alfresco-platform-jar-archetype/pom.xml +++ b/archetypes/alfresco-platform-jar-archetype/pom.xml @@ -48,7 +48,6 @@ org.apache.maven.plugins maven-resources-plugin - ${maven.resource.version} false diff --git a/archetypes/alfresco-share-jar-archetype/pom.xml b/archetypes/alfresco-share-jar-archetype/pom.xml index 1127c735..15279f98 100644 --- a/archetypes/alfresco-share-jar-archetype/pom.xml +++ b/archetypes/alfresco-share-jar-archetype/pom.xml @@ -50,7 +50,6 @@ org.apache.maven.plugins maven-resources-plugin - ${maven.resource.version} false diff --git a/plugins/alfresco-maven-plugin/pom.xml b/plugins/alfresco-maven-plugin/pom.xml index ec4a35e5..8204865e 100644 --- a/plugins/alfresco-maven-plugin/pom.xml +++ b/plugins/alfresco-maven-plugin/pom.xml @@ -17,7 +17,7 @@ org.apache.maven.plugins maven-plugin-plugin - 3.2 + 3.5 generated-helpmojo @@ -68,12 +68,12 @@ org.apache.maven maven-plugin-api - 3.0.4 + 3.2.5 org.apache.maven.plugin-tools maven-plugin-annotations - 3.2 + 3.5 provided @@ -81,7 +81,7 @@ org.apache.maven maven-archiver - 2.5 + 3.1.1 maven-core @@ -92,32 +92,32 @@ org.codehaus.plexus plexus-archiver - 2.3 + 3.4 org.apache.maven maven-artifact - 3.0.4 + 3.2.5 org.apache.maven maven-core - 3.0.4 + 3.2.5 org.apache.httpcomponents httpclient - 4.3 + 4.5.3 commons-net commons-net - 3.3 + 3.6 commons-io commons-io - 2.1 + 2.5 org.alfresco @@ -138,7 +138,7 @@ org.zeroturnaround zt-zip - 1.9 + 1.11 @@ -147,7 +147,7 @@ org.apache.maven.plugins maven-plugin-plugin - 3.3 + 3.5 diff --git a/pom.xml b/pom.xml index c6e44afa..3b7adb3f 100644 --- a/pom.xml +++ b/pom.xml @@ -132,8 +132,7 @@ UTF-8 1.7 1.7 - 3.0.1 - 2.4 + 3.0.0 ${project.version} */*-enterprise/* @@ -146,6 +145,11 @@ + + org.apache.maven.plugins + maven-resources-plugin + 3.0.2 + org.apache.maven.plugins maven-archetype-plugin @@ -253,17 +257,14 @@ sdk-release https://artifacts.alfresco.com/nexus/content/repositories/alfresco-docs/alfresco-sdk-aggregator/latest - 2.5.2 deploy site-deploy - 3.4 - 2.10 org.apache.maven.plugins maven-gpg-plugin - 1.5 + 1.6 sign-artifacts @@ -277,7 +278,7 @@ org.apache.maven.plugins maven-release-plugin - ${maven.release.version} + 2.5.3 clean install ${maven.release.goals} @@ -291,7 +292,7 @@ org.apache.maven.plugins maven-site-plugin - ${maven.site.version} + 3.6 @@ -301,7 +302,7 @@ org.apache.maven.plugins maven-changes-plugin - ${maven.changes.version} + 2.12.1 From b7dbbe89957f819ab6f039133245cb8b8c398b84 Mon Sep 17 00:00:00 2001 From: Samuel Langlois Date: Thu, 23 Mar 2017 17:17:55 +0000 Subject: [PATCH 2/2] Downgrade alfresco-mmt dependency to 5.1.g, for plugin to work with JDK7 --- plugins/alfresco-maven-plugin/pom.xml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/alfresco-maven-plugin/pom.xml b/plugins/alfresco-maven-plugin/pom.xml index 8204865e..628b128b 100644 --- a/plugins/alfresco-maven-plugin/pom.xml +++ b/plugins/alfresco-maven-plugin/pom.xml @@ -122,7 +122,7 @@ org.alfresco alfresco-mmt - ${alfresco.community.default.version} + 5.1.g org.alfrescolabs.alfresco-technical-validation diff --git a/pom.xml b/pom.xml index 3b7adb3f..44ac26e9 100644 --- a/pom.xml +++ b/pom.xml @@ -136,7 +136,7 @@ ${project.version} */*-enterprise/* - + 5.2.e https://github.com/Alfresco/alfresco-sdk