From ebcda12102f2beaa630a81f5675854abb44746c1 Mon Sep 17 00:00:00 2001 From: Bo Yang Date: Tue, 20 Sep 2016 21:29:02 +0000 Subject: Bump version number to 3.1.0-alpha-1. --- java/util/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java/util/pom.xml') diff --git a/java/util/pom.xml b/java/util/pom.xml index 58cc4b30..4d6ad7fa 100644 --- a/java/util/pom.xml +++ b/java/util/pom.xml @@ -6,7 +6,7 @@ com.google.protobuf protobuf-parent - 3.0.2 + 3.1.0-alpha-1 protobuf-java-util -- cgit v1.2.3 From 6cb6bd9f213a7610ff180dbac7226a22a9f71867 Mon Sep 17 00:00:00 2001 From: Bo Yang Date: Tue, 20 Sep 2016 22:04:48 +0000 Subject: Fix gson dependency. gson 2.3 has internal bug that it doesn't work with some versions of maven. --- WORKSPACE | 2 +- java/util/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'java/util/pom.xml') diff --git a/WORKSPACE b/WORKSPACE index df919ad1..2a49e372 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -44,7 +44,7 @@ bind( maven_jar( name = "gson_maven", - artifact = "com.google.code.gson:gson:2.3", + artifact = "com.google.code.gson:gson:2.7", ) bind( diff --git a/java/util/pom.xml b/java/util/pom.xml index 4d6ad7fa..56a4e528 100644 --- a/java/util/pom.xml +++ b/java/util/pom.xml @@ -28,7 +28,7 @@ com.google.code.gson gson - 2.3 + 2.7 junit -- cgit v1.2.3 From 8c88762e3ef78b81435ecfba973c2e9d3b74f13b Mon Sep 17 00:00:00 2001 From: Bo Yang Date: Thu, 22 Sep 2016 19:24:19 -0700 Subject: Update version number. --- java/util/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java/util/pom.xml') diff --git a/java/util/pom.xml b/java/util/pom.xml index 56a4e528..6b07bcdf 100644 --- a/java/util/pom.xml +++ b/java/util/pom.xml @@ -6,7 +6,7 @@ com.google.protobuf protobuf-parent - 3.1.0-alpha-1 + 3.1.0 protobuf-java-util -- cgit v1.2.3 From eb7f3a3ad1e89ab5de0846c354bbc682e63bd837 Mon Sep 17 00:00:00 2001 From: Christopher Tubbs Date: Fri, 4 Nov 2016 02:11:55 -0400 Subject: Use latest maven-compiler-plugin (2.6.0) * Uses build-helper-maven-plugin to add generated sources to the classpath * Fixes an issue building with newer versions of the maven-compiler-plugin (See https://issues.apache.org/jira/browse/MCOMPILER-240) --- java/compatibility_tests/v2.5.0/protos/pom.xml | 2 +- java/core/pom.xml | 33 ++++++++++++++++++++++---- java/lite/pom.xml | 32 +++++++++++++++++++++++-- java/pom.xml | 2 +- java/util/pom.xml | 22 +++++++++++++---- 5 files changed, 77 insertions(+), 14 deletions(-) (limited to 'java/util/pom.xml') diff --git a/java/compatibility_tests/v2.5.0/protos/pom.xml b/java/compatibility_tests/v2.5.0/protos/pom.xml index 24447bdc..a22e91ed 100644 --- a/java/compatibility_tests/v2.5.0/protos/pom.xml +++ b/java/compatibility_tests/v2.5.0/protos/pom.xml @@ -28,7 +28,7 @@ maven-compiler-plugin - 3.3 + 3.6.0 1.6 1.6 diff --git a/java/core/pom.xml b/java/core/pom.xml index 8a83eb4e..cced344e 100644 --- a/java/core/pom.xml +++ b/java/core/pom.xml @@ -92,11 +92,34 @@ - maven-compiler-plugin - - ${generated.sources.dir} - ${generated.testsources.dir} - + org.codehaus.mojo + build-helper-maven-plugin + + + add-generated-sources + generate-sources + + add-source + + + + ${generated.sources.dir} + + + + + add-generated-test-sources + generate-test-sources + + add-test-source + + + + ${generated.testsources.dir} + + + + diff --git a/java/lite/pom.xml b/java/lite/pom.xml index 9862cd94..d7b15097 100644 --- a/java/lite/pom.xml +++ b/java/lite/pom.xml @@ -75,11 +75,39 @@ + + org.codehaus.mojo + build-helper-maven-plugin + + + add-generated-sources + generate-sources + + add-source + + + + ${generated.sources.lite.dir} + + + + + add-generated-test-sources + generate-test-sources + + add-test-source + + + + ${generated.testsources.lite.dir} + + + + + maven-compiler-plugin - ${generated.sources.lite.dir} - ${generated.testsources.lite.dir} **/AbstractMessageLite.java **/AbstractParser.java diff --git a/java/pom.xml b/java/pom.xml index 881473f3..6789e7c1 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -94,7 +94,7 @@ maven-compiler-plugin - 3.3 + 3.6.0 1.6 1.6 diff --git a/java/util/pom.xml b/java/util/pom.xml index 6b07bcdf..0ccfc848 100644 --- a/java/util/pom.xml +++ b/java/util/pom.xml @@ -79,12 +79,24 @@ + - maven-compiler-plugin - - - ${generated.testsources.dir} - + org.codehaus.mojo + build-helper-maven-plugin + + + add-generated-test-sources + generate-test-sources + + add-test-source + + + + ${generated.testsources.dir} + + + + -- cgit v1.2.3