From 49efe9d7db877022e76375df2d4daadab98619b6 Mon Sep 17 00:00:00 2001 From: nmittler Date: Fri, 8 Jan 2016 09:19:11 -0800 Subject: [PATCH] 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/core/generate-sources-build.xml | 20 + java/core/generate-test-sources-build.xml | 43 ++ java/core/pom.xml | 118 +++++ .../com/google/protobuf/AbstractMessage.java | 0 .../google/protobuf/AbstractMessageLite.java | 0 .../com/google/protobuf/AbstractParser.java | 0 .../google/protobuf/AbstractProtobufList.java | 0 .../google/protobuf/BlockingRpcChannel.java | 0 .../com/google/protobuf/BlockingService.java | 0 .../com/google/protobuf/BooleanArrayList.java | 0 .../google/protobuf/BoundedByteString.java | 0 .../java/com/google/protobuf/ByteString.java | 0 .../com/google/protobuf/CodedInputStream.java | 0 .../google/protobuf/CodedOutputStream.java | 0 .../java/com/google/protobuf/Descriptors.java | 0 .../com/google/protobuf/DoubleArrayList.java | 0 .../com/google/protobuf/DynamicMessage.java | 0 .../java/com/google/protobuf/Extension.java | 0 .../com/google/protobuf/ExtensionLite.java | 0 .../google/protobuf/ExtensionRegistry.java | 0 .../protobuf/ExtensionRegistryLite.java | 0 .../java/com/google/protobuf/FieldSet.java | 0 .../com/google/protobuf/FloatArrayList.java | 0 .../com/google/protobuf/GeneratedMessage.java | 0 .../google/protobuf/GeneratedMessageLite.java | 0 .../com/google/protobuf/IntArrayList.java | 0 .../java/com/google/protobuf/Internal.java | 0 .../InvalidProtocolBufferException.java | 0 .../java/com/google/protobuf/LazyField.java | 0 .../com/google/protobuf/LazyFieldLite.java | 0 .../google/protobuf/LazyStringArrayList.java | 0 .../com/google/protobuf/LazyStringList.java | 0 .../google/protobuf/LiteralByteString.java | 0 .../com/google/protobuf/LongArrayList.java | 0 .../java/com/google/protobuf/MapEntry.java | 0 .../com/google/protobuf/MapEntryLite.java | 0 .../java/com/google/protobuf/MapField.java | 0 .../com/google/protobuf/MapFieldLite.java | 0 .../java/com/google/protobuf/Message.java | 0 .../java/com/google/protobuf/MessageLite.java | 0 .../google/protobuf/MessageLiteOrBuilder.java | 0 .../google/protobuf/MessageLiteToString.java | 0 .../com/google/protobuf/MessageOrBuilder.java | 0 .../google/protobuf/MessageReflection.java | 0 .../com/google/protobuf/MutabilityOracle.java | 0 .../com/google/protobuf/NioByteString.java | 0 .../main/java/com/google/protobuf/Parser.java | 0 .../google/protobuf/ProtobufArrayList.java | 0 .../google/protobuf/ProtocolMessageEnum.java | 0 .../google/protobuf/ProtocolStringList.java | 0 .../google/protobuf/RepeatedFieldBuilder.java | 0 .../com/google/protobuf/RopeByteString.java | 0 .../java/com/google/protobuf/RpcCallback.java | 0 .../java/com/google/protobuf/RpcChannel.java | 0 .../com/google/protobuf/RpcController.java | 0 .../java/com/google/protobuf/RpcUtil.java | 0 .../java/com/google/protobuf/Service.java | 0 .../com/google/protobuf/ServiceException.java | 0 .../google/protobuf/SingleFieldBuilder.java | 0 .../com/google/protobuf/SmallSortedMap.java | 0 .../java/com/google/protobuf/TextFormat.java | 0 .../google/protobuf/TextFormatEscaper.java | 0 .../UninitializedMessageException.java | 0 .../com/google/protobuf/UnknownFieldSet.java | 0 .../google/protobuf/UnknownFieldSetLite.java | 0 .../protobuf/UnmodifiableLazyStringList.java | 0 .../google/protobuf/UnsafeByteStrings.java | 0 .../main/java/com/google/protobuf/Utf8.java | 0 .../java/com/google/protobuf/WireFormat.java | 0 .../google/protobuf/AbstractMessageTest.java | 0 .../java/com/google/protobuf/AnyTest.java | 0 .../google/protobuf/BooleanArrayListTest.java | 0 .../protobuf/BoundedByteStringTest.java | 0 .../com/google/protobuf/ByteStringTest.java | 0 .../com/google/protobuf/CheckUtf8Test.java | 0 .../google/protobuf/CodedInputStreamTest.java | 0 .../protobuf/CodedOutputStreamTest.java | 0 .../google/protobuf/DeprecatedFieldTest.java | 0 .../com/google/protobuf/DescriptorsTest.java | 0 .../google/protobuf/DoubleArrayListTest.java | 0 .../google/protobuf/DynamicMessageTest.java | 0 .../google/protobuf/FieldPresenceTest.java | 0 .../google/protobuf/FloatArrayListTest.java | 0 .../protobuf/ForceFieldBuildersPreRun.java | 0 .../google/protobuf/GeneratedMessageTest.java | 0 .../com/google/protobuf/IntArrayListTest.java | 0 .../com/google/protobuf/IsValidUtf8Test.java | 0 .../google/protobuf/IsValidUtf8TestUtil.java | 0 .../google/protobuf/LazyFieldLiteTest.java | 0 .../com/google/protobuf/LazyFieldTest.java | 0 .../google/protobuf/LazyMessageLiteTest.java | 0 .../protobuf/LazyStringArrayListTest.java | 0 .../protobuf/LazyStringEndToEndTest.java | 0 .../protobuf/LiteEqualsAndHashTest.java | 0 .../java/com/google/protobuf/LiteTest.java | 0 .../protobuf/LiteralByteStringTest.java | 0 .../google/protobuf/LongArrayListTest.java | 0 .../google/protobuf/MapForProto2LiteTest.java | 0 .../com/google/protobuf/MapForProto2Test.java | 0 .../java/com/google/protobuf/MapTest.java | 0 .../java/com/google/protobuf/MessageTest.java | 0 .../google/protobuf/NestedBuildersTest.java | 0 .../google/protobuf/NioByteStringTest.java | 0 .../java/com/google/protobuf/ParserTest.java | 0 .../protobuf/ProtobufArrayListTest.java | 0 .../protobuf/RepeatedFieldBuilderTest.java | 0 .../protobuf/RopeByteStringSubstringTest.java | 0 .../google/protobuf/RopeByteStringTest.java | 0 .../java/com/google/protobuf/ServiceTest.java | 0 .../protobuf/SingleFieldBuilderTest.java | 0 .../google/protobuf/SmallSortedMapTest.java | 0 .../google/protobuf/TestBadIdentifiers.java | 0 .../java/com/google/protobuf/TestUtil.java | 0 .../com/google/protobuf/TextFormatTest.java | 0 .../google/protobuf/UnknownEnumValueTest.java | 0 .../protobuf/UnknownFieldSetLiteTest.java | 0 .../google/protobuf/UnknownFieldSetTest.java | 0 .../UnmodifiableLazyStringListTest.java | 0 .../google/protobuf/WellKnownTypesTest.java | 0 .../com/google/protobuf/WireFormatTest.java | 0 .../proto}/com/google/protobuf/any_test.proto | 0 .../google/protobuf/field_presence_test.proto | 0 .../google/protobuf/lazy_fields_lite.proto | 0 .../protobuf/lite_equals_and_hash.proto | 0 .../protobuf/map_for_proto2_lite_test.proto | 0 .../google/protobuf/map_for_proto2_test.proto | 0 .../map_initialization_order_test.proto | 0 .../proto}/com/google/protobuf/map_test.proto | 0 .../google/protobuf/multiple_files_test.proto | 0 .../protobuf/nested_builders_test.proto | 0 .../google/protobuf/nested_extension.proto | 0 .../protobuf/nested_extension_lite.proto | 0 .../protobuf/non_nested_extension.proto | 0 .../protobuf/non_nested_extension_lite.proto | 0 .../protobuf/outer_class_name_test.proto | 0 .../protobuf/outer_class_name_test2.proto | 0 .../protobuf/outer_class_name_test3.proto | 0 .../protobuf/test_bad_identifiers.proto | 0 .../com/google/protobuf/test_check_utf8.proto | 0 .../protobuf/test_check_utf8_size.proto | 0 .../google/protobuf/test_custom_options.proto | 0 .../protobuf/test_extra_interfaces.proto | 0 java/lite/pom.xml | 158 +++++++ java/pom.xml | 420 ++++++------------ java/util/pom.xml | 189 ++------ .../com/google/protobuf/util/json_test.proto | 0 146 files changed, 516 insertions(+), 432 deletions(-) create mode 100644 java/core/generate-sources-build.xml create mode 100644 java/core/generate-test-sources-build.xml create mode 100644 java/core/pom.xml rename java/{ => core}/src/main/java/com/google/protobuf/AbstractMessage.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/AbstractMessageLite.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/AbstractParser.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/AbstractProtobufList.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/BlockingRpcChannel.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/BlockingService.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/BooleanArrayList.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/BoundedByteString.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/ByteString.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/CodedInputStream.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/CodedOutputStream.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/Descriptors.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/DoubleArrayList.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/DynamicMessage.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/Extension.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/ExtensionLite.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/ExtensionRegistry.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/ExtensionRegistryLite.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/FieldSet.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/FloatArrayList.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/GeneratedMessage.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/GeneratedMessageLite.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/IntArrayList.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/Internal.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/InvalidProtocolBufferException.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/LazyField.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/LazyFieldLite.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/LazyStringArrayList.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/LazyStringList.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/LiteralByteString.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/LongArrayList.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/MapEntry.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/MapEntryLite.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/MapField.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/MapFieldLite.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/Message.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/MessageLite.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/MessageLiteOrBuilder.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/MessageLiteToString.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/MessageOrBuilder.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/MessageReflection.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/MutabilityOracle.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/NioByteString.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/Parser.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/ProtobufArrayList.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/ProtocolMessageEnum.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/ProtocolStringList.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/RepeatedFieldBuilder.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/RopeByteString.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/RpcCallback.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/RpcChannel.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/RpcController.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/RpcUtil.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/Service.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/ServiceException.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/SingleFieldBuilder.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/SmallSortedMap.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/TextFormat.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/TextFormatEscaper.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/UninitializedMessageException.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/UnknownFieldSet.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/UnknownFieldSetLite.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/UnmodifiableLazyStringList.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/UnsafeByteStrings.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/Utf8.java (100%) rename java/{ => core}/src/main/java/com/google/protobuf/WireFormat.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/AbstractMessageTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/AnyTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/BooleanArrayListTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/BoundedByteStringTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/ByteStringTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/CheckUtf8Test.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/CodedInputStreamTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/CodedOutputStreamTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/DeprecatedFieldTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/DescriptorsTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/DoubleArrayListTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/DynamicMessageTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/FieldPresenceTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/FloatArrayListTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/ForceFieldBuildersPreRun.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/GeneratedMessageTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/IntArrayListTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/IsValidUtf8Test.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/LazyFieldLiteTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/LazyFieldTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/LazyMessageLiteTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/LazyStringArrayListTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/LazyStringEndToEndTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/LiteEqualsAndHashTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/LiteTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/LiteralByteStringTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/LongArrayListTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/MapForProto2LiteTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/MapForProto2Test.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/MapTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/MessageTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/NestedBuildersTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/NioByteStringTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/ParserTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/ProtobufArrayListTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/RepeatedFieldBuilderTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/RopeByteStringSubstringTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/RopeByteStringTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/ServiceTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/SingleFieldBuilderTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/SmallSortedMapTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/TestBadIdentifiers.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/TestUtil.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/TextFormatTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/UnknownEnumValueTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/UnknownFieldSetLiteTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/UnknownFieldSetTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/UnmodifiableLazyStringListTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/WellKnownTypesTest.java (100%) rename java/{ => core}/src/test/java/com/google/protobuf/WireFormatTest.java (100%) rename java/{src/test/java => core/src/test/proto}/com/google/protobuf/any_test.proto (100%) rename java/{src/test/java => core/src/test/proto}/com/google/protobuf/field_presence_test.proto (100%) rename java/{src/test/java => core/src/test/proto}/com/google/protobuf/lazy_fields_lite.proto (100%) rename java/{src/test/java => core/src/test/proto}/com/google/protobuf/lite_equals_and_hash.proto (100%) rename java/{src/test/java => core/src/test/proto}/com/google/protobuf/map_for_proto2_lite_test.proto (100%) rename java/{src/test/java => core/src/test/proto}/com/google/protobuf/map_for_proto2_test.proto (100%) rename java/{src/test/java => core/src/test/proto}/com/google/protobuf/map_initialization_order_test.proto (100%) rename java/{src/test/java => core/src/test/proto}/com/google/protobuf/map_test.proto (100%) rename java/{src/test/java => core/src/test/proto}/com/google/protobuf/multiple_files_test.proto (100%) rename java/{src/test/java => core/src/test/proto}/com/google/protobuf/nested_builders_test.proto (100%) rename java/{src/test/java => core/src/test/proto}/com/google/protobuf/nested_extension.proto (100%) rename java/{src/test/java => core/src/test/proto}/com/google/protobuf/nested_extension_lite.proto (100%) rename java/{src/test/java => core/src/test/proto}/com/google/protobuf/non_nested_extension.proto (100%) rename java/{src/test/java => core/src/test/proto}/com/google/protobuf/non_nested_extension_lite.proto (100%) rename java/{src/test/java => core/src/test/proto}/com/google/protobuf/outer_class_name_test.proto (100%) rename java/{src/test/java => core/src/test/proto}/com/google/protobuf/outer_class_name_test2.proto (100%) rename java/{src/test/java => core/src/test/proto}/com/google/protobuf/outer_class_name_test3.proto (100%) rename java/{src/test/java => core/src/test/proto}/com/google/protobuf/test_bad_identifiers.proto (100%) rename java/{src/test/java => core/src/test/proto}/com/google/protobuf/test_check_utf8.proto (100%) rename java/{src/test/java => core/src/test/proto}/com/google/protobuf/test_check_utf8_size.proto (100%) rename java/{src/test/java => core/src/test/proto}/com/google/protobuf/test_custom_options.proto (100%) rename java/{src/test/java => core/src/test/proto}/com/google/protobuf/test_extra_interfaces.proto (100%) create mode 100644 java/lite/pom.xml rename java/util/src/test/{java => proto}/com/google/protobuf/util/json_test.proto (100%) diff --git a/java/core/generate-sources-build.xml b/java/core/generate-sources-build.xml new file mode 100644 index 000000000..0996e5fff --- /dev/null +++ b/java/core/generate-sources-build.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/java/core/generate-test-sources-build.xml b/java/core/generate-test-sources-build.xml new file mode 100644 index 000000000..ab415db68 --- /dev/null +++ b/java/core/generate-test-sources-build.xml @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/java/core/pom.xml b/java/core/pom.xml new file mode 100644 index 000000000..74d5ead3d --- /dev/null +++ b/java/core/pom.xml @@ -0,0 +1,118 @@ + + + 4.0.0 + + com.google.protobuf + protobuf-parent + 3.0.0-beta-2 + + + protobuf-java + bundle + + Protocol Buffers [Core] + + Core Protocol Buffers library. Protocol Buffers are a way of encoding structured data in an + efficient yet extensible format. + + + + + junit + junit + + + org.easymock + easymock + + + org.easymock + easymockclassextension + + + + + + + + ${protobuf.source.dir} + + 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-antrun-plugin + + + + generate-sources + generate-sources + + + + + + + run + + + + + + generate-test-sources + generate-test-sources + + + + + + + run + + + + + + + + maven-compiler-plugin + + ${generated.sources.dir} + ${generated.testsources.dir} + + + + + + org.apache.felix + maven-bundle-plugin + true + + + https://developers.google.com/protocol-buffers/ + com.google.protobuf + com.google.protobuf;version=${project.version} + + + + + + + diff --git a/java/src/main/java/com/google/protobuf/AbstractMessage.java b/java/core/src/main/java/com/google/protobuf/AbstractMessage.java similarity index 100% rename from java/src/main/java/com/google/protobuf/AbstractMessage.java rename to java/core/src/main/java/com/google/protobuf/AbstractMessage.java diff --git a/java/src/main/java/com/google/protobuf/AbstractMessageLite.java b/java/core/src/main/java/com/google/protobuf/AbstractMessageLite.java similarity index 100% rename from java/src/main/java/com/google/protobuf/AbstractMessageLite.java rename to java/core/src/main/java/com/google/protobuf/AbstractMessageLite.java diff --git a/java/src/main/java/com/google/protobuf/AbstractParser.java b/java/core/src/main/java/com/google/protobuf/AbstractParser.java similarity index 100% rename from java/src/main/java/com/google/protobuf/AbstractParser.java rename to java/core/src/main/java/com/google/protobuf/AbstractParser.java diff --git a/java/src/main/java/com/google/protobuf/AbstractProtobufList.java b/java/core/src/main/java/com/google/protobuf/AbstractProtobufList.java similarity index 100% rename from java/src/main/java/com/google/protobuf/AbstractProtobufList.java rename to java/core/src/main/java/com/google/protobuf/AbstractProtobufList.java diff --git a/java/src/main/java/com/google/protobuf/BlockingRpcChannel.java b/java/core/src/main/java/com/google/protobuf/BlockingRpcChannel.java similarity index 100% rename from java/src/main/java/com/google/protobuf/BlockingRpcChannel.java rename to java/core/src/main/java/com/google/protobuf/BlockingRpcChannel.java diff --git a/java/src/main/java/com/google/protobuf/BlockingService.java b/java/core/src/main/java/com/google/protobuf/BlockingService.java similarity index 100% rename from java/src/main/java/com/google/protobuf/BlockingService.java rename to java/core/src/main/java/com/google/protobuf/BlockingService.java diff --git a/java/src/main/java/com/google/protobuf/BooleanArrayList.java b/java/core/src/main/java/com/google/protobuf/BooleanArrayList.java similarity index 100% rename from java/src/main/java/com/google/protobuf/BooleanArrayList.java rename to java/core/src/main/java/com/google/protobuf/BooleanArrayList.java diff --git a/java/src/main/java/com/google/protobuf/BoundedByteString.java b/java/core/src/main/java/com/google/protobuf/BoundedByteString.java similarity index 100% rename from java/src/main/java/com/google/protobuf/BoundedByteString.java rename to java/core/src/main/java/com/google/protobuf/BoundedByteString.java diff --git a/java/src/main/java/com/google/protobuf/ByteString.java b/java/core/src/main/java/com/google/protobuf/ByteString.java similarity index 100% rename from java/src/main/java/com/google/protobuf/ByteString.java rename to java/core/src/main/java/com/google/protobuf/ByteString.java diff --git a/java/src/main/java/com/google/protobuf/CodedInputStream.java b/java/core/src/main/java/com/google/protobuf/CodedInputStream.java similarity index 100% rename from java/src/main/java/com/google/protobuf/CodedInputStream.java rename to java/core/src/main/java/com/google/protobuf/CodedInputStream.java diff --git a/java/src/main/java/com/google/protobuf/CodedOutputStream.java b/java/core/src/main/java/com/google/protobuf/CodedOutputStream.java similarity index 100% rename from java/src/main/java/com/google/protobuf/CodedOutputStream.java rename to java/core/src/main/java/com/google/protobuf/CodedOutputStream.java diff --git a/java/src/main/java/com/google/protobuf/Descriptors.java b/java/core/src/main/java/com/google/protobuf/Descriptors.java similarity index 100% rename from java/src/main/java/com/google/protobuf/Descriptors.java rename to java/core/src/main/java/com/google/protobuf/Descriptors.java diff --git a/java/src/main/java/com/google/protobuf/DoubleArrayList.java b/java/core/src/main/java/com/google/protobuf/DoubleArrayList.java similarity index 100% rename from java/src/main/java/com/google/protobuf/DoubleArrayList.java rename to java/core/src/main/java/com/google/protobuf/DoubleArrayList.java diff --git a/java/src/main/java/com/google/protobuf/DynamicMessage.java b/java/core/src/main/java/com/google/protobuf/DynamicMessage.java similarity index 100% rename from java/src/main/java/com/google/protobuf/DynamicMessage.java rename to java/core/src/main/java/com/google/protobuf/DynamicMessage.java diff --git a/java/src/main/java/com/google/protobuf/Extension.java b/java/core/src/main/java/com/google/protobuf/Extension.java similarity index 100% rename from java/src/main/java/com/google/protobuf/Extension.java rename to java/core/src/main/java/com/google/protobuf/Extension.java diff --git a/java/src/main/java/com/google/protobuf/ExtensionLite.java b/java/core/src/main/java/com/google/protobuf/ExtensionLite.java similarity index 100% rename from java/src/main/java/com/google/protobuf/ExtensionLite.java rename to java/core/src/main/java/com/google/protobuf/ExtensionLite.java diff --git a/java/src/main/java/com/google/protobuf/ExtensionRegistry.java b/java/core/src/main/java/com/google/protobuf/ExtensionRegistry.java similarity index 100% rename from java/src/main/java/com/google/protobuf/ExtensionRegistry.java rename to java/core/src/main/java/com/google/protobuf/ExtensionRegistry.java diff --git a/java/src/main/java/com/google/protobuf/ExtensionRegistryLite.java b/java/core/src/main/java/com/google/protobuf/ExtensionRegistryLite.java similarity index 100% rename from java/src/main/java/com/google/protobuf/ExtensionRegistryLite.java rename to java/core/src/main/java/com/google/protobuf/ExtensionRegistryLite.java diff --git a/java/src/main/java/com/google/protobuf/FieldSet.java b/java/core/src/main/java/com/google/protobuf/FieldSet.java similarity index 100% rename from java/src/main/java/com/google/protobuf/FieldSet.java rename to java/core/src/main/java/com/google/protobuf/FieldSet.java diff --git a/java/src/main/java/com/google/protobuf/FloatArrayList.java b/java/core/src/main/java/com/google/protobuf/FloatArrayList.java similarity index 100% rename from java/src/main/java/com/google/protobuf/FloatArrayList.java rename to java/core/src/main/java/com/google/protobuf/FloatArrayList.java diff --git a/java/src/main/java/com/google/protobuf/GeneratedMessage.java b/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java similarity index 100% rename from java/src/main/java/com/google/protobuf/GeneratedMessage.java rename to java/core/src/main/java/com/google/protobuf/GeneratedMessage.java diff --git a/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java b/java/core/src/main/java/com/google/protobuf/GeneratedMessageLite.java similarity index 100% rename from java/src/main/java/com/google/protobuf/GeneratedMessageLite.java rename to java/core/src/main/java/com/google/protobuf/GeneratedMessageLite.java diff --git a/java/src/main/java/com/google/protobuf/IntArrayList.java b/java/core/src/main/java/com/google/protobuf/IntArrayList.java similarity index 100% rename from java/src/main/java/com/google/protobuf/IntArrayList.java rename to java/core/src/main/java/com/google/protobuf/IntArrayList.java diff --git a/java/src/main/java/com/google/protobuf/Internal.java b/java/core/src/main/java/com/google/protobuf/Internal.java similarity index 100% rename from java/src/main/java/com/google/protobuf/Internal.java rename to java/core/src/main/java/com/google/protobuf/Internal.java diff --git a/java/src/main/java/com/google/protobuf/InvalidProtocolBufferException.java b/java/core/src/main/java/com/google/protobuf/InvalidProtocolBufferException.java similarity index 100% rename from java/src/main/java/com/google/protobuf/InvalidProtocolBufferException.java rename to java/core/src/main/java/com/google/protobuf/InvalidProtocolBufferException.java diff --git a/java/src/main/java/com/google/protobuf/LazyField.java b/java/core/src/main/java/com/google/protobuf/LazyField.java similarity index 100% rename from java/src/main/java/com/google/protobuf/LazyField.java rename to java/core/src/main/java/com/google/protobuf/LazyField.java diff --git a/java/src/main/java/com/google/protobuf/LazyFieldLite.java b/java/core/src/main/java/com/google/protobuf/LazyFieldLite.java similarity index 100% rename from java/src/main/java/com/google/protobuf/LazyFieldLite.java rename to java/core/src/main/java/com/google/protobuf/LazyFieldLite.java diff --git a/java/src/main/java/com/google/protobuf/LazyStringArrayList.java b/java/core/src/main/java/com/google/protobuf/LazyStringArrayList.java similarity index 100% rename from java/src/main/java/com/google/protobuf/LazyStringArrayList.java rename to java/core/src/main/java/com/google/protobuf/LazyStringArrayList.java diff --git a/java/src/main/java/com/google/protobuf/LazyStringList.java b/java/core/src/main/java/com/google/protobuf/LazyStringList.java similarity index 100% rename from java/src/main/java/com/google/protobuf/LazyStringList.java rename to java/core/src/main/java/com/google/protobuf/LazyStringList.java diff --git a/java/src/main/java/com/google/protobuf/LiteralByteString.java b/java/core/src/main/java/com/google/protobuf/LiteralByteString.java similarity index 100% rename from java/src/main/java/com/google/protobuf/LiteralByteString.java rename to java/core/src/main/java/com/google/protobuf/LiteralByteString.java diff --git a/java/src/main/java/com/google/protobuf/LongArrayList.java b/java/core/src/main/java/com/google/protobuf/LongArrayList.java similarity index 100% rename from java/src/main/java/com/google/protobuf/LongArrayList.java rename to java/core/src/main/java/com/google/protobuf/LongArrayList.java diff --git a/java/src/main/java/com/google/protobuf/MapEntry.java b/java/core/src/main/java/com/google/protobuf/MapEntry.java similarity index 100% rename from java/src/main/java/com/google/protobuf/MapEntry.java rename to java/core/src/main/java/com/google/protobuf/MapEntry.java diff --git a/java/src/main/java/com/google/protobuf/MapEntryLite.java b/java/core/src/main/java/com/google/protobuf/MapEntryLite.java similarity index 100% rename from java/src/main/java/com/google/protobuf/MapEntryLite.java rename to java/core/src/main/java/com/google/protobuf/MapEntryLite.java diff --git a/java/src/main/java/com/google/protobuf/MapField.java b/java/core/src/main/java/com/google/protobuf/MapField.java similarity index 100% rename from java/src/main/java/com/google/protobuf/MapField.java rename to java/core/src/main/java/com/google/protobuf/MapField.java diff --git a/java/src/main/java/com/google/protobuf/MapFieldLite.java b/java/core/src/main/java/com/google/protobuf/MapFieldLite.java similarity index 100% rename from java/src/main/java/com/google/protobuf/MapFieldLite.java rename to java/core/src/main/java/com/google/protobuf/MapFieldLite.java diff --git a/java/src/main/java/com/google/protobuf/Message.java b/java/core/src/main/java/com/google/protobuf/Message.java similarity index 100% rename from java/src/main/java/com/google/protobuf/Message.java rename to java/core/src/main/java/com/google/protobuf/Message.java diff --git a/java/src/main/java/com/google/protobuf/MessageLite.java b/java/core/src/main/java/com/google/protobuf/MessageLite.java similarity index 100% rename from java/src/main/java/com/google/protobuf/MessageLite.java rename to java/core/src/main/java/com/google/protobuf/MessageLite.java diff --git a/java/src/main/java/com/google/protobuf/MessageLiteOrBuilder.java b/java/core/src/main/java/com/google/protobuf/MessageLiteOrBuilder.java similarity index 100% rename from java/src/main/java/com/google/protobuf/MessageLiteOrBuilder.java rename to java/core/src/main/java/com/google/protobuf/MessageLiteOrBuilder.java diff --git a/java/src/main/java/com/google/protobuf/MessageLiteToString.java b/java/core/src/main/java/com/google/protobuf/MessageLiteToString.java similarity index 100% rename from java/src/main/java/com/google/protobuf/MessageLiteToString.java rename to java/core/src/main/java/com/google/protobuf/MessageLiteToString.java diff --git a/java/src/main/java/com/google/protobuf/MessageOrBuilder.java b/java/core/src/main/java/com/google/protobuf/MessageOrBuilder.java similarity index 100% rename from java/src/main/java/com/google/protobuf/MessageOrBuilder.java rename to java/core/src/main/java/com/google/protobuf/MessageOrBuilder.java diff --git a/java/src/main/java/com/google/protobuf/MessageReflection.java b/java/core/src/main/java/com/google/protobuf/MessageReflection.java similarity index 100% rename from java/src/main/java/com/google/protobuf/MessageReflection.java rename to java/core/src/main/java/com/google/protobuf/MessageReflection.java diff --git a/java/src/main/java/com/google/protobuf/MutabilityOracle.java b/java/core/src/main/java/com/google/protobuf/MutabilityOracle.java similarity index 100% rename from java/src/main/java/com/google/protobuf/MutabilityOracle.java rename to java/core/src/main/java/com/google/protobuf/MutabilityOracle.java diff --git a/java/src/main/java/com/google/protobuf/NioByteString.java b/java/core/src/main/java/com/google/protobuf/NioByteString.java similarity index 100% rename from java/src/main/java/com/google/protobuf/NioByteString.java rename to java/core/src/main/java/com/google/protobuf/NioByteString.java diff --git a/java/src/main/java/com/google/protobuf/Parser.java b/java/core/src/main/java/com/google/protobuf/Parser.java similarity index 100% rename from java/src/main/java/com/google/protobuf/Parser.java rename to java/core/src/main/java/com/google/protobuf/Parser.java diff --git a/java/src/main/java/com/google/protobuf/ProtobufArrayList.java b/java/core/src/main/java/com/google/protobuf/ProtobufArrayList.java similarity index 100% rename from java/src/main/java/com/google/protobuf/ProtobufArrayList.java rename to java/core/src/main/java/com/google/protobuf/ProtobufArrayList.java diff --git a/java/src/main/java/com/google/protobuf/ProtocolMessageEnum.java b/java/core/src/main/java/com/google/protobuf/ProtocolMessageEnum.java similarity index 100% rename from java/src/main/java/com/google/protobuf/ProtocolMessageEnum.java rename to java/core/src/main/java/com/google/protobuf/ProtocolMessageEnum.java diff --git a/java/src/main/java/com/google/protobuf/ProtocolStringList.java b/java/core/src/main/java/com/google/protobuf/ProtocolStringList.java similarity index 100% rename from java/src/main/java/com/google/protobuf/ProtocolStringList.java rename to java/core/src/main/java/com/google/protobuf/ProtocolStringList.java diff --git a/java/src/main/java/com/google/protobuf/RepeatedFieldBuilder.java b/java/core/src/main/java/com/google/protobuf/RepeatedFieldBuilder.java similarity index 100% rename from java/src/main/java/com/google/protobuf/RepeatedFieldBuilder.java rename to java/core/src/main/java/com/google/protobuf/RepeatedFieldBuilder.java diff --git a/java/src/main/java/com/google/protobuf/RopeByteString.java b/java/core/src/main/java/com/google/protobuf/RopeByteString.java similarity index 100% rename from java/src/main/java/com/google/protobuf/RopeByteString.java rename to java/core/src/main/java/com/google/protobuf/RopeByteString.java diff --git a/java/src/main/java/com/google/protobuf/RpcCallback.java b/java/core/src/main/java/com/google/protobuf/RpcCallback.java similarity index 100% rename from java/src/main/java/com/google/protobuf/RpcCallback.java rename to java/core/src/main/java/com/google/protobuf/RpcCallback.java diff --git a/java/src/main/java/com/google/protobuf/RpcChannel.java b/java/core/src/main/java/com/google/protobuf/RpcChannel.java similarity index 100% rename from java/src/main/java/com/google/protobuf/RpcChannel.java rename to java/core/src/main/java/com/google/protobuf/RpcChannel.java diff --git a/java/src/main/java/com/google/protobuf/RpcController.java b/java/core/src/main/java/com/google/protobuf/RpcController.java similarity index 100% rename from java/src/main/java/com/google/protobuf/RpcController.java rename to java/core/src/main/java/com/google/protobuf/RpcController.java diff --git a/java/src/main/java/com/google/protobuf/RpcUtil.java b/java/core/src/main/java/com/google/protobuf/RpcUtil.java similarity index 100% rename from java/src/main/java/com/google/protobuf/RpcUtil.java rename to java/core/src/main/java/com/google/protobuf/RpcUtil.java diff --git a/java/src/main/java/com/google/protobuf/Service.java b/java/core/src/main/java/com/google/protobuf/Service.java similarity index 100% rename from java/src/main/java/com/google/protobuf/Service.java rename to java/core/src/main/java/com/google/protobuf/Service.java diff --git a/java/src/main/java/com/google/protobuf/ServiceException.java b/java/core/src/main/java/com/google/protobuf/ServiceException.java similarity index 100% rename from java/src/main/java/com/google/protobuf/ServiceException.java rename to java/core/src/main/java/com/google/protobuf/ServiceException.java diff --git a/java/src/main/java/com/google/protobuf/SingleFieldBuilder.java b/java/core/src/main/java/com/google/protobuf/SingleFieldBuilder.java similarity index 100% rename from java/src/main/java/com/google/protobuf/SingleFieldBuilder.java rename to java/core/src/main/java/com/google/protobuf/SingleFieldBuilder.java diff --git a/java/src/main/java/com/google/protobuf/SmallSortedMap.java b/java/core/src/main/java/com/google/protobuf/SmallSortedMap.java similarity index 100% rename from java/src/main/java/com/google/protobuf/SmallSortedMap.java rename to java/core/src/main/java/com/google/protobuf/SmallSortedMap.java diff --git a/java/src/main/java/com/google/protobuf/TextFormat.java b/java/core/src/main/java/com/google/protobuf/TextFormat.java similarity index 100% rename from java/src/main/java/com/google/protobuf/TextFormat.java rename to java/core/src/main/java/com/google/protobuf/TextFormat.java diff --git a/java/src/main/java/com/google/protobuf/TextFormatEscaper.java b/java/core/src/main/java/com/google/protobuf/TextFormatEscaper.java similarity index 100% rename from java/src/main/java/com/google/protobuf/TextFormatEscaper.java rename to java/core/src/main/java/com/google/protobuf/TextFormatEscaper.java diff --git a/java/src/main/java/com/google/protobuf/UninitializedMessageException.java b/java/core/src/main/java/com/google/protobuf/UninitializedMessageException.java similarity index 100% rename from java/src/main/java/com/google/protobuf/UninitializedMessageException.java rename to java/core/src/main/java/com/google/protobuf/UninitializedMessageException.java diff --git a/java/src/main/java/com/google/protobuf/UnknownFieldSet.java b/java/core/src/main/java/com/google/protobuf/UnknownFieldSet.java similarity index 100% rename from java/src/main/java/com/google/protobuf/UnknownFieldSet.java rename to java/core/src/main/java/com/google/protobuf/UnknownFieldSet.java diff --git a/java/src/main/java/com/google/protobuf/UnknownFieldSetLite.java b/java/core/src/main/java/com/google/protobuf/UnknownFieldSetLite.java similarity index 100% rename from java/src/main/java/com/google/protobuf/UnknownFieldSetLite.java rename to java/core/src/main/java/com/google/protobuf/UnknownFieldSetLite.java diff --git a/java/src/main/java/com/google/protobuf/UnmodifiableLazyStringList.java b/java/core/src/main/java/com/google/protobuf/UnmodifiableLazyStringList.java similarity index 100% rename from java/src/main/java/com/google/protobuf/UnmodifiableLazyStringList.java rename to java/core/src/main/java/com/google/protobuf/UnmodifiableLazyStringList.java diff --git a/java/src/main/java/com/google/protobuf/UnsafeByteStrings.java b/java/core/src/main/java/com/google/protobuf/UnsafeByteStrings.java similarity index 100% rename from java/src/main/java/com/google/protobuf/UnsafeByteStrings.java rename to java/core/src/main/java/com/google/protobuf/UnsafeByteStrings.java diff --git a/java/src/main/java/com/google/protobuf/Utf8.java b/java/core/src/main/java/com/google/protobuf/Utf8.java similarity index 100% rename from java/src/main/java/com/google/protobuf/Utf8.java rename to java/core/src/main/java/com/google/protobuf/Utf8.java diff --git a/java/src/main/java/com/google/protobuf/WireFormat.java b/java/core/src/main/java/com/google/protobuf/WireFormat.java similarity index 100% rename from java/src/main/java/com/google/protobuf/WireFormat.java rename to java/core/src/main/java/com/google/protobuf/WireFormat.java diff --git a/java/src/test/java/com/google/protobuf/AbstractMessageTest.java b/java/core/src/test/java/com/google/protobuf/AbstractMessageTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/AbstractMessageTest.java rename to java/core/src/test/java/com/google/protobuf/AbstractMessageTest.java diff --git a/java/src/test/java/com/google/protobuf/AnyTest.java b/java/core/src/test/java/com/google/protobuf/AnyTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/AnyTest.java rename to java/core/src/test/java/com/google/protobuf/AnyTest.java diff --git a/java/src/test/java/com/google/protobuf/BooleanArrayListTest.java b/java/core/src/test/java/com/google/protobuf/BooleanArrayListTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/BooleanArrayListTest.java rename to java/core/src/test/java/com/google/protobuf/BooleanArrayListTest.java diff --git a/java/src/test/java/com/google/protobuf/BoundedByteStringTest.java b/java/core/src/test/java/com/google/protobuf/BoundedByteStringTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/BoundedByteStringTest.java rename to java/core/src/test/java/com/google/protobuf/BoundedByteStringTest.java diff --git a/java/src/test/java/com/google/protobuf/ByteStringTest.java b/java/core/src/test/java/com/google/protobuf/ByteStringTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/ByteStringTest.java rename to java/core/src/test/java/com/google/protobuf/ByteStringTest.java diff --git a/java/src/test/java/com/google/protobuf/CheckUtf8Test.java b/java/core/src/test/java/com/google/protobuf/CheckUtf8Test.java similarity index 100% rename from java/src/test/java/com/google/protobuf/CheckUtf8Test.java rename to java/core/src/test/java/com/google/protobuf/CheckUtf8Test.java diff --git a/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java b/java/core/src/test/java/com/google/protobuf/CodedInputStreamTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/CodedInputStreamTest.java rename to java/core/src/test/java/com/google/protobuf/CodedInputStreamTest.java diff --git a/java/src/test/java/com/google/protobuf/CodedOutputStreamTest.java b/java/core/src/test/java/com/google/protobuf/CodedOutputStreamTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/CodedOutputStreamTest.java rename to java/core/src/test/java/com/google/protobuf/CodedOutputStreamTest.java diff --git a/java/src/test/java/com/google/protobuf/DeprecatedFieldTest.java b/java/core/src/test/java/com/google/protobuf/DeprecatedFieldTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/DeprecatedFieldTest.java rename to java/core/src/test/java/com/google/protobuf/DeprecatedFieldTest.java diff --git a/java/src/test/java/com/google/protobuf/DescriptorsTest.java b/java/core/src/test/java/com/google/protobuf/DescriptorsTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/DescriptorsTest.java rename to java/core/src/test/java/com/google/protobuf/DescriptorsTest.java diff --git a/java/src/test/java/com/google/protobuf/DoubleArrayListTest.java b/java/core/src/test/java/com/google/protobuf/DoubleArrayListTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/DoubleArrayListTest.java rename to java/core/src/test/java/com/google/protobuf/DoubleArrayListTest.java diff --git a/java/src/test/java/com/google/protobuf/DynamicMessageTest.java b/java/core/src/test/java/com/google/protobuf/DynamicMessageTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/DynamicMessageTest.java rename to java/core/src/test/java/com/google/protobuf/DynamicMessageTest.java diff --git a/java/src/test/java/com/google/protobuf/FieldPresenceTest.java b/java/core/src/test/java/com/google/protobuf/FieldPresenceTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/FieldPresenceTest.java rename to java/core/src/test/java/com/google/protobuf/FieldPresenceTest.java diff --git a/java/src/test/java/com/google/protobuf/FloatArrayListTest.java b/java/core/src/test/java/com/google/protobuf/FloatArrayListTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/FloatArrayListTest.java rename to java/core/src/test/java/com/google/protobuf/FloatArrayListTest.java diff --git a/java/src/test/java/com/google/protobuf/ForceFieldBuildersPreRun.java b/java/core/src/test/java/com/google/protobuf/ForceFieldBuildersPreRun.java similarity index 100% rename from java/src/test/java/com/google/protobuf/ForceFieldBuildersPreRun.java rename to java/core/src/test/java/com/google/protobuf/ForceFieldBuildersPreRun.java diff --git a/java/src/test/java/com/google/protobuf/GeneratedMessageTest.java b/java/core/src/test/java/com/google/protobuf/GeneratedMessageTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/GeneratedMessageTest.java rename to java/core/src/test/java/com/google/protobuf/GeneratedMessageTest.java diff --git a/java/src/test/java/com/google/protobuf/IntArrayListTest.java b/java/core/src/test/java/com/google/protobuf/IntArrayListTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/IntArrayListTest.java rename to java/core/src/test/java/com/google/protobuf/IntArrayListTest.java diff --git a/java/src/test/java/com/google/protobuf/IsValidUtf8Test.java b/java/core/src/test/java/com/google/protobuf/IsValidUtf8Test.java similarity index 100% rename from java/src/test/java/com/google/protobuf/IsValidUtf8Test.java rename to java/core/src/test/java/com/google/protobuf/IsValidUtf8Test.java diff --git a/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java b/java/core/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java similarity index 100% rename from java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java rename to java/core/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java diff --git a/java/src/test/java/com/google/protobuf/LazyFieldLiteTest.java b/java/core/src/test/java/com/google/protobuf/LazyFieldLiteTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/LazyFieldLiteTest.java rename to java/core/src/test/java/com/google/protobuf/LazyFieldLiteTest.java diff --git a/java/src/test/java/com/google/protobuf/LazyFieldTest.java b/java/core/src/test/java/com/google/protobuf/LazyFieldTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/LazyFieldTest.java rename to java/core/src/test/java/com/google/protobuf/LazyFieldTest.java diff --git a/java/src/test/java/com/google/protobuf/LazyMessageLiteTest.java b/java/core/src/test/java/com/google/protobuf/LazyMessageLiteTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/LazyMessageLiteTest.java rename to java/core/src/test/java/com/google/protobuf/LazyMessageLiteTest.java diff --git a/java/src/test/java/com/google/protobuf/LazyStringArrayListTest.java b/java/core/src/test/java/com/google/protobuf/LazyStringArrayListTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/LazyStringArrayListTest.java rename to java/core/src/test/java/com/google/protobuf/LazyStringArrayListTest.java diff --git a/java/src/test/java/com/google/protobuf/LazyStringEndToEndTest.java b/java/core/src/test/java/com/google/protobuf/LazyStringEndToEndTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/LazyStringEndToEndTest.java rename to java/core/src/test/java/com/google/protobuf/LazyStringEndToEndTest.java diff --git a/java/src/test/java/com/google/protobuf/LiteEqualsAndHashTest.java b/java/core/src/test/java/com/google/protobuf/LiteEqualsAndHashTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/LiteEqualsAndHashTest.java rename to java/core/src/test/java/com/google/protobuf/LiteEqualsAndHashTest.java diff --git a/java/src/test/java/com/google/protobuf/LiteTest.java b/java/core/src/test/java/com/google/protobuf/LiteTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/LiteTest.java rename to java/core/src/test/java/com/google/protobuf/LiteTest.java diff --git a/java/src/test/java/com/google/protobuf/LiteralByteStringTest.java b/java/core/src/test/java/com/google/protobuf/LiteralByteStringTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/LiteralByteStringTest.java rename to java/core/src/test/java/com/google/protobuf/LiteralByteStringTest.java diff --git a/java/src/test/java/com/google/protobuf/LongArrayListTest.java b/java/core/src/test/java/com/google/protobuf/LongArrayListTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/LongArrayListTest.java rename to java/core/src/test/java/com/google/protobuf/LongArrayListTest.java diff --git a/java/src/test/java/com/google/protobuf/MapForProto2LiteTest.java b/java/core/src/test/java/com/google/protobuf/MapForProto2LiteTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/MapForProto2LiteTest.java rename to java/core/src/test/java/com/google/protobuf/MapForProto2LiteTest.java diff --git a/java/src/test/java/com/google/protobuf/MapForProto2Test.java b/java/core/src/test/java/com/google/protobuf/MapForProto2Test.java similarity index 100% rename from java/src/test/java/com/google/protobuf/MapForProto2Test.java rename to java/core/src/test/java/com/google/protobuf/MapForProto2Test.java diff --git a/java/src/test/java/com/google/protobuf/MapTest.java b/java/core/src/test/java/com/google/protobuf/MapTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/MapTest.java rename to java/core/src/test/java/com/google/protobuf/MapTest.java diff --git a/java/src/test/java/com/google/protobuf/MessageTest.java b/java/core/src/test/java/com/google/protobuf/MessageTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/MessageTest.java rename to java/core/src/test/java/com/google/protobuf/MessageTest.java diff --git a/java/src/test/java/com/google/protobuf/NestedBuildersTest.java b/java/core/src/test/java/com/google/protobuf/NestedBuildersTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/NestedBuildersTest.java rename to java/core/src/test/java/com/google/protobuf/NestedBuildersTest.java diff --git a/java/src/test/java/com/google/protobuf/NioByteStringTest.java b/java/core/src/test/java/com/google/protobuf/NioByteStringTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/NioByteStringTest.java rename to java/core/src/test/java/com/google/protobuf/NioByteStringTest.java diff --git a/java/src/test/java/com/google/protobuf/ParserTest.java b/java/core/src/test/java/com/google/protobuf/ParserTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/ParserTest.java rename to java/core/src/test/java/com/google/protobuf/ParserTest.java diff --git a/java/src/test/java/com/google/protobuf/ProtobufArrayListTest.java b/java/core/src/test/java/com/google/protobuf/ProtobufArrayListTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/ProtobufArrayListTest.java rename to java/core/src/test/java/com/google/protobuf/ProtobufArrayListTest.java diff --git a/java/src/test/java/com/google/protobuf/RepeatedFieldBuilderTest.java b/java/core/src/test/java/com/google/protobuf/RepeatedFieldBuilderTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/RepeatedFieldBuilderTest.java rename to java/core/src/test/java/com/google/protobuf/RepeatedFieldBuilderTest.java diff --git a/java/src/test/java/com/google/protobuf/RopeByteStringSubstringTest.java b/java/core/src/test/java/com/google/protobuf/RopeByteStringSubstringTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/RopeByteStringSubstringTest.java rename to java/core/src/test/java/com/google/protobuf/RopeByteStringSubstringTest.java diff --git a/java/src/test/java/com/google/protobuf/RopeByteStringTest.java b/java/core/src/test/java/com/google/protobuf/RopeByteStringTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/RopeByteStringTest.java rename to java/core/src/test/java/com/google/protobuf/RopeByteStringTest.java diff --git a/java/src/test/java/com/google/protobuf/ServiceTest.java b/java/core/src/test/java/com/google/protobuf/ServiceTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/ServiceTest.java rename to java/core/src/test/java/com/google/protobuf/ServiceTest.java diff --git a/java/src/test/java/com/google/protobuf/SingleFieldBuilderTest.java b/java/core/src/test/java/com/google/protobuf/SingleFieldBuilderTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/SingleFieldBuilderTest.java rename to java/core/src/test/java/com/google/protobuf/SingleFieldBuilderTest.java diff --git a/java/src/test/java/com/google/protobuf/SmallSortedMapTest.java b/java/core/src/test/java/com/google/protobuf/SmallSortedMapTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/SmallSortedMapTest.java rename to java/core/src/test/java/com/google/protobuf/SmallSortedMapTest.java diff --git a/java/src/test/java/com/google/protobuf/TestBadIdentifiers.java b/java/core/src/test/java/com/google/protobuf/TestBadIdentifiers.java similarity index 100% rename from java/src/test/java/com/google/protobuf/TestBadIdentifiers.java rename to java/core/src/test/java/com/google/protobuf/TestBadIdentifiers.java diff --git a/java/src/test/java/com/google/protobuf/TestUtil.java b/java/core/src/test/java/com/google/protobuf/TestUtil.java similarity index 100% rename from java/src/test/java/com/google/protobuf/TestUtil.java rename to java/core/src/test/java/com/google/protobuf/TestUtil.java diff --git a/java/src/test/java/com/google/protobuf/TextFormatTest.java b/java/core/src/test/java/com/google/protobuf/TextFormatTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/TextFormatTest.java rename to java/core/src/test/java/com/google/protobuf/TextFormatTest.java diff --git a/java/src/test/java/com/google/protobuf/UnknownEnumValueTest.java b/java/core/src/test/java/com/google/protobuf/UnknownEnumValueTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/UnknownEnumValueTest.java rename to java/core/src/test/java/com/google/protobuf/UnknownEnumValueTest.java diff --git a/java/src/test/java/com/google/protobuf/UnknownFieldSetLiteTest.java b/java/core/src/test/java/com/google/protobuf/UnknownFieldSetLiteTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/UnknownFieldSetLiteTest.java rename to java/core/src/test/java/com/google/protobuf/UnknownFieldSetLiteTest.java diff --git a/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java b/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java rename to java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java diff --git a/java/src/test/java/com/google/protobuf/UnmodifiableLazyStringListTest.java b/java/core/src/test/java/com/google/protobuf/UnmodifiableLazyStringListTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/UnmodifiableLazyStringListTest.java rename to java/core/src/test/java/com/google/protobuf/UnmodifiableLazyStringListTest.java diff --git a/java/src/test/java/com/google/protobuf/WellKnownTypesTest.java b/java/core/src/test/java/com/google/protobuf/WellKnownTypesTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/WellKnownTypesTest.java rename to java/core/src/test/java/com/google/protobuf/WellKnownTypesTest.java diff --git a/java/src/test/java/com/google/protobuf/WireFormatTest.java b/java/core/src/test/java/com/google/protobuf/WireFormatTest.java similarity index 100% rename from java/src/test/java/com/google/protobuf/WireFormatTest.java rename to java/core/src/test/java/com/google/protobuf/WireFormatTest.java diff --git a/java/src/test/java/com/google/protobuf/any_test.proto b/java/core/src/test/proto/com/google/protobuf/any_test.proto similarity index 100% rename from java/src/test/java/com/google/protobuf/any_test.proto rename to java/core/src/test/proto/com/google/protobuf/any_test.proto diff --git a/java/src/test/java/com/google/protobuf/field_presence_test.proto b/java/core/src/test/proto/com/google/protobuf/field_presence_test.proto similarity index 100% rename from java/src/test/java/com/google/protobuf/field_presence_test.proto rename to java/core/src/test/proto/com/google/protobuf/field_presence_test.proto diff --git a/java/src/test/java/com/google/protobuf/lazy_fields_lite.proto b/java/core/src/test/proto/com/google/protobuf/lazy_fields_lite.proto similarity index 100% rename from java/src/test/java/com/google/protobuf/lazy_fields_lite.proto rename to java/core/src/test/proto/com/google/protobuf/lazy_fields_lite.proto diff --git a/java/src/test/java/com/google/protobuf/lite_equals_and_hash.proto b/java/core/src/test/proto/com/google/protobuf/lite_equals_and_hash.proto similarity index 100% rename from java/src/test/java/com/google/protobuf/lite_equals_and_hash.proto rename to java/core/src/test/proto/com/google/protobuf/lite_equals_and_hash.proto diff --git a/java/src/test/java/com/google/protobuf/map_for_proto2_lite_test.proto b/java/core/src/test/proto/com/google/protobuf/map_for_proto2_lite_test.proto similarity index 100% rename from java/src/test/java/com/google/protobuf/map_for_proto2_lite_test.proto rename to java/core/src/test/proto/com/google/protobuf/map_for_proto2_lite_test.proto diff --git a/java/src/test/java/com/google/protobuf/map_for_proto2_test.proto b/java/core/src/test/proto/com/google/protobuf/map_for_proto2_test.proto similarity index 100% rename from java/src/test/java/com/google/protobuf/map_for_proto2_test.proto rename to java/core/src/test/proto/com/google/protobuf/map_for_proto2_test.proto diff --git a/java/src/test/java/com/google/protobuf/map_initialization_order_test.proto b/java/core/src/test/proto/com/google/protobuf/map_initialization_order_test.proto similarity index 100% rename from java/src/test/java/com/google/protobuf/map_initialization_order_test.proto rename to java/core/src/test/proto/com/google/protobuf/map_initialization_order_test.proto diff --git a/java/src/test/java/com/google/protobuf/map_test.proto b/java/core/src/test/proto/com/google/protobuf/map_test.proto similarity index 100% rename from java/src/test/java/com/google/protobuf/map_test.proto rename to java/core/src/test/proto/com/google/protobuf/map_test.proto diff --git a/java/src/test/java/com/google/protobuf/multiple_files_test.proto b/java/core/src/test/proto/com/google/protobuf/multiple_files_test.proto similarity index 100% rename from java/src/test/java/com/google/protobuf/multiple_files_test.proto rename to java/core/src/test/proto/com/google/protobuf/multiple_files_test.proto diff --git a/java/src/test/java/com/google/protobuf/nested_builders_test.proto b/java/core/src/test/proto/com/google/protobuf/nested_builders_test.proto similarity index 100% rename from java/src/test/java/com/google/protobuf/nested_builders_test.proto rename to java/core/src/test/proto/com/google/protobuf/nested_builders_test.proto diff --git a/java/src/test/java/com/google/protobuf/nested_extension.proto b/java/core/src/test/proto/com/google/protobuf/nested_extension.proto similarity index 100% rename from java/src/test/java/com/google/protobuf/nested_extension.proto rename to java/core/src/test/proto/com/google/protobuf/nested_extension.proto diff --git a/java/src/test/java/com/google/protobuf/nested_extension_lite.proto b/java/core/src/test/proto/com/google/protobuf/nested_extension_lite.proto similarity index 100% rename from java/src/test/java/com/google/protobuf/nested_extension_lite.proto rename to java/core/src/test/proto/com/google/protobuf/nested_extension_lite.proto diff --git a/java/src/test/java/com/google/protobuf/non_nested_extension.proto b/java/core/src/test/proto/com/google/protobuf/non_nested_extension.proto similarity index 100% rename from java/src/test/java/com/google/protobuf/non_nested_extension.proto rename to java/core/src/test/proto/com/google/protobuf/non_nested_extension.proto diff --git a/java/src/test/java/com/google/protobuf/non_nested_extension_lite.proto b/java/core/src/test/proto/com/google/protobuf/non_nested_extension_lite.proto similarity index 100% rename from java/src/test/java/com/google/protobuf/non_nested_extension_lite.proto rename to java/core/src/test/proto/com/google/protobuf/non_nested_extension_lite.proto diff --git a/java/src/test/java/com/google/protobuf/outer_class_name_test.proto b/java/core/src/test/proto/com/google/protobuf/outer_class_name_test.proto similarity index 100% rename from java/src/test/java/com/google/protobuf/outer_class_name_test.proto rename to java/core/src/test/proto/com/google/protobuf/outer_class_name_test.proto diff --git a/java/src/test/java/com/google/protobuf/outer_class_name_test2.proto b/java/core/src/test/proto/com/google/protobuf/outer_class_name_test2.proto similarity index 100% rename from java/src/test/java/com/google/protobuf/outer_class_name_test2.proto rename to java/core/src/test/proto/com/google/protobuf/outer_class_name_test2.proto diff --git a/java/src/test/java/com/google/protobuf/outer_class_name_test3.proto b/java/core/src/test/proto/com/google/protobuf/outer_class_name_test3.proto similarity index 100% rename from java/src/test/java/com/google/protobuf/outer_class_name_test3.proto rename to java/core/src/test/proto/com/google/protobuf/outer_class_name_test3.proto diff --git a/java/src/test/java/com/google/protobuf/test_bad_identifiers.proto b/java/core/src/test/proto/com/google/protobuf/test_bad_identifiers.proto similarity index 100% rename from java/src/test/java/com/google/protobuf/test_bad_identifiers.proto rename to java/core/src/test/proto/com/google/protobuf/test_bad_identifiers.proto diff --git a/java/src/test/java/com/google/protobuf/test_check_utf8.proto b/java/core/src/test/proto/com/google/protobuf/test_check_utf8.proto similarity index 100% rename from java/src/test/java/com/google/protobuf/test_check_utf8.proto rename to java/core/src/test/proto/com/google/protobuf/test_check_utf8.proto diff --git a/java/src/test/java/com/google/protobuf/test_check_utf8_size.proto b/java/core/src/test/proto/com/google/protobuf/test_check_utf8_size.proto similarity index 100% rename from java/src/test/java/com/google/protobuf/test_check_utf8_size.proto rename to java/core/src/test/proto/com/google/protobuf/test_check_utf8_size.proto diff --git a/java/src/test/java/com/google/protobuf/test_custom_options.proto b/java/core/src/test/proto/com/google/protobuf/test_custom_options.proto similarity index 100% rename from java/src/test/java/com/google/protobuf/test_custom_options.proto rename to java/core/src/test/proto/com/google/protobuf/test_custom_options.proto diff --git a/java/src/test/java/com/google/protobuf/test_extra_interfaces.proto b/java/core/src/test/proto/com/google/protobuf/test_extra_interfaces.proto similarity index 100% rename from java/src/test/java/com/google/protobuf/test_extra_interfaces.proto rename to java/core/src/test/proto/com/google/protobuf/test_extra_interfaces.proto diff --git a/java/lite/pom.xml b/java/lite/pom.xml new file mode 100644 index 000000000..29d8c8c40 --- /dev/null +++ b/java/lite/pom.xml @@ -0,0 +1,158 @@ + + + 4.0.0 + + com.google.protobuf + protobuf-parent + 3.0.0-beta-2 + + + protobuf-lite + bundle + + Protocol Buffers [Lite] + A trimmed-down version of the Protocol Buffers library. + + + + junit + junit + + + org.easymock + easymock + + + org.easymock + easymockclassextension + + + + + ../core + ${core.root}/src/test/proto + + + + ${core.root}/src/main/java + ${core.root}/src/test/java + + + + + maven-antrun-plugin + + + + generate-sources + generate-sources + + + + + + + run + + + + + + generate-test-sources + generate-test-sources + + + + + + + run + + + + + + + + maven-compiler-plugin + + ${generated.sources.dir} + ${generated.testsources.dir} + + **/AbstractMessageLite.java + **/AbstractParser.java + **/AbstractProtobufList.java + **/BoundedByteString.java + **/BooleanArrayList.java + **/ByteString.java + **/CodedInputStream.java + **/CodedOutputStream.java + **/DoubleArrayList.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 + + + + + + + org.apache.felix + maven-bundle-plugin + true + + + https://developers.google.com/protocol-buffers/ + com.google.protobuf + com.google.${project.artifactId};version=${project.version} + + + + + + + diff --git a/java/pom.xml b/java/pom.xml index 3eab00ad9..d5719edf0 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 + + diff --git a/java/util/pom.xml b/java/util/pom.xml index 70401a4be..26c12c825 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 - - - - - - diff --git a/java/util/src/test/java/com/google/protobuf/util/json_test.proto b/java/util/src/test/proto/com/google/protobuf/util/json_test.proto similarity index 100% rename from java/util/src/test/java/com/google/protobuf/util/json_test.proto rename to java/util/src/test/proto/com/google/protobuf/util/json_test.proto