From 12edc7a256d4b59d829cf879f69c1a6b59c89319 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Sun, 26 Apr 2015 22:52:34 -0700 Subject: [PATCH 1/5] GUAC-1170: Add missing Maven plugin versions. --- doc/guacamole-example/pom.xml | 1 + guacamole-common/pom.xml | 2 ++ guacamole-ext/pom.xml | 2 ++ guacamole/pom.xml | 1 + 4 files changed, 6 insertions(+) diff --git a/doc/guacamole-example/pom.xml b/doc/guacamole-example/pom.xml index d1f5d0f4b..1b3b29a7f 100644 --- a/doc/guacamole-example/pom.xml +++ b/doc/guacamole-example/pom.xml @@ -36,6 +36,7 @@ org.apache.maven.plugins maven-war-plugin + 2.6 diff --git a/guacamole-common/pom.xml b/guacamole-common/pom.xml index c4de00582..552d82040 100644 --- a/guacamole-common/pom.xml +++ b/guacamole-common/pom.xml @@ -70,6 +70,7 @@ org.apache.maven.plugins maven-source-plugin + 2.4 attach-sources @@ -84,6 +85,7 @@ org.apache.maven.plugins maven-javadoc-plugin + 2.10.3 false diff --git a/guacamole-ext/pom.xml b/guacamole-ext/pom.xml index 298207f7a..4dc59dad0 100644 --- a/guacamole-ext/pom.xml +++ b/guacamole-ext/pom.xml @@ -70,6 +70,7 @@ org.apache.maven.plugins maven-source-plugin + 2.4 attach-sources @@ -84,6 +85,7 @@ org.apache.maven.plugins maven-javadoc-plugin + 2.10.3 false diff --git a/guacamole/pom.xml b/guacamole/pom.xml index 3d5847433..b221f59bf 100644 --- a/guacamole/pom.xml +++ b/guacamole/pom.xml @@ -69,6 +69,7 @@ org.apache.maven.plugins maven-war-plugin + 2.6 From 2e2cd76a9c11fb8330438a7a1cabe2986aa755d2 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Sun, 26 Apr 2015 23:10:32 -0700 Subject: [PATCH 2/5] GUAC-1170: Explicitly use GNU mode for long filenames in .tar.gz source archive. --- pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/pom.xml b/pom.xml index 8d0135870..8b94b55a7 100644 --- a/pom.xml +++ b/pom.xml @@ -46,6 +46,7 @@ ${project.artifactId}-${project.version} false + gnu project-assembly.xml From 67424f693eef49e10a1baa8aa6b2d8f7cdde28d7 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Sun, 26 Apr 2015 23:17:44 -0700 Subject: [PATCH 3/5] GUAC-1170: Move to maven-assembly-plugin 2.5.3 for all projects. --- .../modules/guacamole-auth-jdbc-mysql/pom.xml | 2 +- .../modules/guacamole-auth-jdbc-postgresql/pom.xml | 2 +- extensions/guacamole-auth-jdbc/pom.xml | 2 +- extensions/guacamole-auth-ldap/pom.xml | 2 +- extensions/guacamole-auth-noauth/pom.xml | 2 +- guacamole-common-js/pom.xml | 2 +- pom.xml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-mysql/pom.xml b/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-mysql/pom.xml index 4e38e1953..3e47aa6ba 100644 --- a/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-mysql/pom.xml +++ b/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-mysql/pom.xml @@ -41,7 +41,7 @@ maven-assembly-plugin - 2.2-beta-5 + 2.5.3 jar-with-dependencies diff --git a/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-postgresql/pom.xml b/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-postgresql/pom.xml index 2dbdc0acf..655a32b61 100644 --- a/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-postgresql/pom.xml +++ b/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-postgresql/pom.xml @@ -41,7 +41,7 @@ maven-assembly-plugin - 2.2-beta-5 + 2.5.3 jar-with-dependencies diff --git a/extensions/guacamole-auth-jdbc/pom.xml b/extensions/guacamole-auth-jdbc/pom.xml index 3051f3e6d..3fb51f7e9 100644 --- a/extensions/guacamole-auth-jdbc/pom.xml +++ b/extensions/guacamole-auth-jdbc/pom.xml @@ -32,7 +32,7 @@ maven-assembly-plugin - 2.2-beta-5 + 2.5.3 false diff --git a/extensions/guacamole-auth-ldap/pom.xml b/extensions/guacamole-auth-ldap/pom.xml index d217a9adb..8e67ab405 100644 --- a/extensions/guacamole-auth-ldap/pom.xml +++ b/extensions/guacamole-auth-ldap/pom.xml @@ -35,7 +35,7 @@ maven-assembly-plugin - 2.2-beta-5 + 2.5.3 ${project.artifactId}-${project.version} false diff --git a/extensions/guacamole-auth-noauth/pom.xml b/extensions/guacamole-auth-noauth/pom.xml index a543ee2da..4596d32d6 100644 --- a/extensions/guacamole-auth-noauth/pom.xml +++ b/extensions/guacamole-auth-noauth/pom.xml @@ -35,7 +35,7 @@ maven-assembly-plugin - 2.2-beta-5 + 2.5.3 ${project.artifactId}-${project.version} false diff --git a/guacamole-common-js/pom.xml b/guacamole-common-js/pom.xml index 7dc88a2e6..4fcc1fca9 100644 --- a/guacamole-common-js/pom.xml +++ b/guacamole-common-js/pom.xml @@ -54,7 +54,7 @@ maven-assembly-plugin - 2.4 + 2.5.3 false diff --git a/pom.xml b/pom.xml index 8b94b55a7..1b34eef4d 100644 --- a/pom.xml +++ b/pom.xml @@ -40,7 +40,7 @@ maven-assembly-plugin - 2.4 + 2.5.3 From 4eadf19a9158372216a6ae26b646ef4158ff9406 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Sun, 26 Apr 2015 23:21:46 -0700 Subject: [PATCH 4/5] GUAC-1170: Use relative paths for dist archives. --- .../guacamole-auth-jdbc/src/main/assembly/dist.xml | 8 ++++---- .../guacamole-auth-ldap/src/main/assembly/dist.xml | 5 ++--- .../guacamole-auth-noauth/src/main/assembly/dist.xml | 11 +++++------ project-assembly.xml | 1 - 4 files changed, 11 insertions(+), 14 deletions(-) diff --git a/extensions/guacamole-auth-jdbc/src/main/assembly/dist.xml b/extensions/guacamole-auth-jdbc/src/main/assembly/dist.xml index a416ea191..915b17d17 100644 --- a/extensions/guacamole-auth-jdbc/src/main/assembly/dist.xml +++ b/extensions/guacamole-auth-jdbc/src/main/assembly/dist.xml @@ -16,12 +16,12 @@ - /mysql/schema + mysql/schema modules/guacamole-auth-jdbc-mysql/schema modules/guacamole-auth-jdbc-mysql/target/extension - /mysql + mysql *.jar @@ -29,12 +29,12 @@ - /postgresql/schema + postgresql/schema modules/guacamole-auth-jdbc-postgresql/schema modules/guacamole-auth-jdbc-postgresql/target/extension - /postgresql + postgresql *.jar diff --git a/extensions/guacamole-auth-ldap/src/main/assembly/dist.xml b/extensions/guacamole-auth-ldap/src/main/assembly/dist.xml index 0628ad61c..9b0b27dde 100644 --- a/extensions/guacamole-auth-ldap/src/main/assembly/dist.xml +++ b/extensions/guacamole-auth-ldap/src/main/assembly/dist.xml @@ -16,13 +16,12 @@ - / doc - /schema + schema schema @@ -33,7 +32,7 @@ - /lib + lib runtime false true diff --git a/extensions/guacamole-auth-noauth/src/main/assembly/dist.xml b/extensions/guacamole-auth-noauth/src/main/assembly/dist.xml index bb4280639..610749432 100644 --- a/extensions/guacamole-auth-noauth/src/main/assembly/dist.xml +++ b/extensions/guacamole-auth-noauth/src/main/assembly/dist.xml @@ -14,11 +14,10 @@ - - - / - doc - + + + doc + @@ -27,7 +26,7 @@ - /lib + lib runtime false true diff --git a/project-assembly.xml b/project-assembly.xml index ec1d7249b..7745bb935 100644 --- a/project-assembly.xml +++ b/project-assembly.xml @@ -12,7 +12,6 @@ ${project.basedir} - / true **/*.log From a0ba68fcafb46da9cf00bb4b7efad3ac12e7fd0b Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Sun, 26 Apr 2015 23:42:53 -0700 Subject: [PATCH 5/5] GUAC-1170: Use maven-dependency-plugin instead of maven-assembly-plugin, when build artifact should really only be one .jar file. --- .../modules/guacamole-auth-jdbc-mysql/pom.xml | 21 ++++++++----------- .../guacamole-auth-jdbc-postgresql/pom.xml | 21 ++++++++----------- .../src/main/assembly/dist.xml | 4 ++-- 3 files changed, 20 insertions(+), 26 deletions(-) diff --git a/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-mysql/pom.xml b/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-mysql/pom.xml index 3e47aa6ba..436cb6ca3 100644 --- a/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-mysql/pom.xml +++ b/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-mysql/pom.xml @@ -38,25 +38,22 @@ - + - maven-assembly-plugin - 2.5.3 + org.apache.maven.plugins + maven-dependency-plugin + 2.10 - jar-with-dependencies - package + unpack-dependencies + prepare-package - single + unpack-dependencies - extension/${project.artifactId}-${project.version} - false - - jar-with-dependencies - + ${project.build.directory}/classes - + diff --git a/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-postgresql/pom.xml b/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-postgresql/pom.xml index 655a32b61..207348690 100644 --- a/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-postgresql/pom.xml +++ b/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-postgresql/pom.xml @@ -38,25 +38,22 @@ - + - maven-assembly-plugin - 2.5.3 + org.apache.maven.plugins + maven-dependency-plugin + 2.10 - jar-with-dependencies - package + unpack-dependencies + prepare-package - single + unpack-dependencies - extension/${project.artifactId}-${project.version} - false - - jar-with-dependencies - + ${project.build.directory}/classes - + diff --git a/extensions/guacamole-auth-jdbc/src/main/assembly/dist.xml b/extensions/guacamole-auth-jdbc/src/main/assembly/dist.xml index 915b17d17..4e72cec1e 100644 --- a/extensions/guacamole-auth-jdbc/src/main/assembly/dist.xml +++ b/extensions/guacamole-auth-jdbc/src/main/assembly/dist.xml @@ -20,7 +20,7 @@ modules/guacamole-auth-jdbc-mysql/schema - modules/guacamole-auth-jdbc-mysql/target/extension + modules/guacamole-auth-jdbc-mysql/target mysql *.jar @@ -33,7 +33,7 @@ modules/guacamole-auth-jdbc-postgresql/schema - modules/guacamole-auth-jdbc-postgresql/target/extension + modules/guacamole-auth-jdbc-postgresql/target postgresql *.jar