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/pom.xml | 420 ++++++++++++++++++----------------------------------------- 1 file changed, 130 insertions(+), 290 deletions(-) (limited to 'java/pom.xml') diff --git a/java/pom.xml b/java/pom.xml index 3eab00ad..d5719edf 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -8,17 +8,33 @@ google 1 + com.google.protobuf - protobuf-java + protobuf-parent 3.0.0-beta-2 - bundle - Protocol Buffer Java API + pom + + Protocol Buffers [Parent] + 2008 + https://developers.google.com/protocol-buffers/ Protocol Buffers are a way of encoding structured data in an efficient yet extensible format. - 2008 - https://developers.google.com/protocol-buffers/ + + + UTF-8 + UTF-8 + + + ${project.basedir}/../.. + ${protobuf.basedir}/src + ${protobuf.source.dir}/protoc + src/test/proto + ${project.build.directory}/generated-sources + ${project.build.directory}/generated-test-sources + + New BSD license @@ -26,217 +42,116 @@ repo + https://github.com/google/protobuf - - scm:git:https://github.com/google/protobuf.git - + scm:git:https://github.com/google/protobuf.git - - - junit - junit - 4.4 - test - - - org.easymock - easymock - 2.2 - test - - - org.easymock - easymockclassextension - 2.2.1 - test - - + + + + sonatype-nexus-staging + https://oss.sonatype.org/content/repositories/snapshots + + + sonatype-nexus-staging + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + + + + + + + junit + junit + 4.4 + test + + + org.easymock + easymock + 2.2 + test + + + org.easymock + easymockclassextension + 2.2.1 + test + + + com.google.guava + guava + 18.0 + + + + - - - maven-compiler-plugin - - 1.5 - 1.5 - - - - maven-surefire-plugin - - - **/*Test.java - - - - - maven-antrun-plugin - - - generate-sources - generate-sources - - - - - - - - - - - - - - - - - - - - - target/generated-sources - - - run - - - - generate-test-sources - generate-test-sources - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - target/generated-test-sources - - - run - - - - - - org.apache.felix - maven-bundle-plugin - true - - - https://developers.google.com/protocol-buffers/ - com.google.protobuf - com.google.protobuf;version=3.0.0-beta-2 - - - - - - - ../src - - google/protobuf/any.proto - google/protobuf/api.proto - google/protobuf/descriptor.proto - google/protobuf/duration.proto - google/protobuf/empty.proto - google/protobuf/field_mask.proto - google/protobuf/source_context.proto - google/protobuf/struct.proto - google/protobuf/timestamp.proto - google/protobuf/type.proto - google/protobuf/wrappers.proto - google/protobuf/compiler/plugin.proto - - - + + + + maven-compiler-plugin + 3.3 + + 1.6 + 1.6 + + + + maven-source-plugin + 2.4 + + + attach-sources + + jar-no-fork + + + + + + maven-javadoc-plugin + 2.10.3 + + + attach-javadocs + + jar + + + + + + maven-jar-plugin + 2.6 + + + org.codehaus.mojo + build-helper-maven-plugin + 1.10 + + + org.apache.felix + maven-bundle-plugin + 3.0.1 + + + maven-antrun-plugin + 1.8 + + + + 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 + 1.6 sign-artifacts @@ -250,98 +165,23 @@ org.sonatype.plugins nexus-staging-maven-plugin - 1.6.3 + 1.6.6 true - sonatype-nexus-staging - https://oss.sonatype.org/ - false - - - - - - - lite - - - - maven-compiler-plugin - - - **/AbstractMessageLite.java - **/AbstractParser.java - **/AbstractProtobufList.java - **/BoundedByteString.java - **/BooleanArrayList.java - **/ByteString.java - **/CodedInputStream.java - **/CodedOutputStream.java - **/DoublerrayList.java - **/ExtensionLite.java - **/ExtensionRegistryLite.java - **/FieldSet.java - **/FloatArrayList.java - **/GeneratedMessageLite.java - **/IntArrayList.java - **/Internal.java - **/InvalidProtocolBufferException.java - **/LazyFieldLite.java - **/LazyStringArrayList.java - **/LazyStringList.java - **/LiteralByteString.java - **/LongArrayList.java - **/MapEntryLite.java - **/MapFieldLite.java - **/MessageLite.java - **/MessageLiteOrBuilder.java - **/MessageLiteToString.java - **/MutabilityOracle.java - **/NioByteString.java - **/Parser.java - **/ProtobufArrayList.java - **/ProtocolStringList.java - **/RopeByteString.java - **/SmallSortedMap.java - **/TextFormatEscaper.java - **/UninitializedMessageException.java - **/UnknownFieldSetLite.java - **/UnmodifiableLazyStringList.java - **/UnsafeByteStrings.java - **/Utf8.java - **/WireFormat.java - - - **/*Lite.java - **/BooleanArrayListTest.java - **/DoubleArrayListTest.java - **/FloatArrayListTest.java - **/IntArrayListTest.java - **/LazyMessageLiteTest.java - **/LiteTest.java - **/LongArrayListTest.java - **/NioByteStringTest.java - **/ProtobufArrayListTest.java - **/UnknownFieldSetLiteTest.java - - - - - maven-surefire-plugin - - - **/*Test.java - - - - - maven-jar-plugin - - lite + sonatype-nexus-staging + https://oss.sonatype.org/ + false + + + core + lite + util + + -- cgit v1.2.3