From e02e7aa1e2210cf24172e6aff78a5d899ced8097 Mon Sep 17 00:00:00 2001 From: Keghani Kouzoujian Date: Wed, 6 Jul 2016 12:11:20 +0200 Subject: [PATCH] Fix Maven project hierarchy and plugin versions, also moving towards a hermetic build (#1192) Great! --- java/demo/pom.xml | 2 +- java/libphonenumber/pom.xml | 1 + java/pom.xml | 8 ++++---- tools/java/common/pom.xml | 2 ++ tools/java/cpp-build/pom.xml | 4 ++++ tools/java/data/pom.xml | 12 +----------- tools/java/java-build/pom.xml | 2 ++ 7 files changed, 15 insertions(+), 16 deletions(-) diff --git a/java/demo/pom.xml b/java/demo/pom.xml index a1e3345b6..015d9e0ef 100644 --- a/java/demo/pom.xml +++ b/java/demo/pom.xml @@ -31,7 +31,7 @@ 2.5 - org.apache.commons + commons-io commons-io 1.3.2 diff --git a/java/libphonenumber/pom.xml b/java/libphonenumber/pom.xml index 3f197d8bf..d20340495 100644 --- a/java/libphonenumber/pom.xml +++ b/java/libphonenumber/pom.xml @@ -31,6 +31,7 @@ maven-jar-plugin + 2.2 com/google/i18n/phonenumbers/SingleFileMetadataSourceImpl.class diff --git a/java/pom.xml b/java/pom.xml index 203ac0927..f54f22421 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -8,9 +8,9 @@ https://github.com/googlei18n/libphonenumber/ - org.sonatype.oss - oss-parent - 7 + com.google.i18n.phonenumbers + libphonenumber-build-parent + 1.0-SNAPSHOT @@ -92,7 +92,7 @@ maven-surefire-plugin 2.12 - never + 0 **/*Test.java diff --git a/tools/java/common/pom.xml b/tools/java/common/pom.xml index 456c7f589..14beba550 100644 --- a/tools/java/common/pom.xml +++ b/tools/java/common/pom.xml @@ -21,6 +21,7 @@ org.apache.maven.plugins maven-compiler-plugin + 2.0.2 1.5 1.5 @@ -31,6 +32,7 @@ org.codehaus.mojo build-helper-maven-plugin + 1.9.1 add-source diff --git a/tools/java/cpp-build/pom.xml b/tools/java/cpp-build/pom.xml index c99811dea..0f2fb6677 100644 --- a/tools/java/cpp-build/pom.xml +++ b/tools/java/cpp-build/pom.xml @@ -25,6 +25,7 @@ org.apache.maven.plugins maven-compiler-plugin + 2.0.2 1.5 1.5 @@ -33,6 +34,7 @@ org.codehaus.mojo build-helper-maven-plugin + 1.9.1 add-source @@ -56,6 +58,7 @@ org.codehaus.mojo exec-maven-plugin + 1.4.0 generate-sources @@ -76,6 +79,7 @@ org.apache.maven.plugins maven-jar-plugin + 2.2 diff --git a/tools/java/data/pom.xml b/tools/java/data/pom.xml index ef04c1864..77aeca15f 100644 --- a/tools/java/data/pom.xml +++ b/tools/java/data/pom.xml @@ -47,15 +47,12 @@ org.apache.maven.plugins maven-compiler-plugin + 2.0.2 1.6 1.6 - - net.kindleit - maven-gae-plugin - org.apache.maven.plugins maven-assembly-plugin @@ -80,13 +77,6 @@ - - org.apache.maven.plugins - maven-war-plugin - - webapp - - org.mortbay.jetty maven-jetty-plugin diff --git a/tools/java/java-build/pom.xml b/tools/java/java-build/pom.xml index 77d860bef..3caa92261 100644 --- a/tools/java/java-build/pom.xml +++ b/tools/java/java-build/pom.xml @@ -43,6 +43,7 @@ org.apache.maven.plugins maven-compiler-plugin + 2.0.2 1.5 1.5 @@ -51,6 +52,7 @@ org.codehaus.mojo build-helper-maven-plugin + 1.9.1 add-source