From ac4764e35507a994c38e399039fa126011cb1748 Mon Sep 17 00:00:00 2001 From: gk5885 Date: Tue, 4 Aug 2009 19:11:39 +0000 Subject: [PATCH] Update the pom to support the 'lite' profile. --- java/pom.xml | 68 +++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 51 insertions(+), 17 deletions(-) diff --git a/java/pom.xml b/java/pom.xml index bf5d206f..b4465521 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -3,12 +3,11 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 - - + com.google.protobuf protobuf-java 2.1.1-SNAPSHOT @@ -33,20 +32,6 @@ scm:svn:http://protobuf.googlecode.com/svn/trunk/ - - - - google-maven-repository - Google Maven Repository - https://google-maven-repository.googlecode.com/svn/trunk/repository/ - - - google-maven-snapshot-repository - Google Maven Snapshot Repository - https://google-maven-repository.googlecode.com/svn/trunk/snapshot-repository/ - true - - junit @@ -139,4 +124,53 @@ + + + lite + + + + maven-compiler-plugin + + + lite-compile + compile + + + **/AbstractMessageLite.java + **/ByteString.java + **/CodedInputStream.java + **/CodedOutputStream.java + **/ExtensionRegistryLite.java + **/FieldSet.java + **/GeneratedMessageLite.java + **/InvalidProtocolBufferException.java + **/Internal.java + **/MessageLite.java + **/UninitializedMessageException.java + **/WireFormat.java + + + + + lite-test-compile + test-compile + + + **/LiteTest.java + + + + + + + maven-jar-plugin + + lite + + + + + +