From 49efe9d7db877022e76375df2d4daadab98619b6 Mon Sep 17 00:00:00 2001 From: nmittler Date: Fri, 8 Jan 2016 09:19:11 -0800 Subject: Restructuring protobuf to multiple modules protobuf/java will become a parent pom that will contain two modules: core - contains all of the code for the protobuf-java artifact util - contains all of the code for the protobuf-java-util artifact Also cleaned up various Maven warnings. --- java/util/pom.xml | 189 ++++++++++++++---------------------------------------- 1 file changed, 47 insertions(+), 142 deletions(-) (limited to 'java/util/pom.xml') diff --git a/java/util/pom.xml b/java/util/pom.xml index 70401a4b..26c12c82 100644 --- a/java/util/pom.xml +++ b/java/util/pom.xml @@ -4,110 +4,73 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 - com.google - google - 1 + com.google.protobuf + protobuf-parent + 3.0.0-beta-2 - com.google.protobuf + protobuf-java-util - 3.0.0-beta-2 bundle - Protocol Buffer Java API - - Protocol Buffers are a way of encoding structured data in an efficient yet - extensible format. - - 2008 - https://developers.google.com/protocol-buffers/ - - - New BSD license - http://www.opensource.org/licenses/bsd-license.php - repo - - - - https://github.com/google/protobuf - - scm:git:https://github.com/google/protobuf.git - - + + Protocol Buffers [Util] + Utilities for Protocol Buffers + - com.google.protobuf + ${project.groupId} protobuf-java - 3.0.0-beta-2 - compile + ${project.version} com.google.guava guava - 18.0 - compile com.google.code.gson gson 2.3 - compile junit junit - 4.4 - test org.easymock easymock - 2.2 - test org.easymock easymockclassextension - 2.2.1 - test + + + + ../core/src/test/proto + + - - maven-compiler-plugin - - 1.5 - 1.5 - - - - maven-surefire-plugin - - - **/*Test.java - ../src/main/java/com/google/protobuf/TestUtil.java - - - maven-antrun-plugin + generate-test-sources generate-test-sources - - - - - - - - - - + + + + + + + + + + - - target/generated-test-sources + run @@ -115,6 +78,16 @@ + + + maven-compiler-plugin + + + ${generated.testsources.dir} + + + + org.apache.felix maven-bundle-plugin @@ -123,88 +96,20 @@ https://developers.google.com/protocol-buffers/ com.google.protobuf.util - com.google.protobuf.util;version=3.0.0-beta-2 + com.google.protobuf.util;version=${project.version} + + - maven-assembly-plugin - - - jar-with-dependencies - - + maven-assembly-plugin + + + jar-with-dependencies + + - - - release - - - sonatype-nexus-staging - https://oss.sonatype.org/content/repositories/snapshots - - - sonatype-nexus-staging - https://oss.sonatype.org/service/local/staging/deploy/maven2/ - - - - - - org.apache.maven.plugins - maven-source-plugin - 2.2.1 - - - attach-sources - - jar-no-fork - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.9.1 - - - attach-javadocs - - jar - - - - - - org.apache.maven.plugins - maven-gpg-plugin - 1.5 - - - sign-artifacts - verify - - sign - - - - - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.3 - true - - sonatype-nexus-staging - https://oss.sonatype.org/ - false - - - - - - -- cgit v1.2.3