1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
5 <modelVersion>4.0.0</modelVersion>
7 <groupId>com.google</groupId>
8 <artifactId>google</artifactId>
11 <groupId>com.google.protobuf</groupId>
12 <artifactId>protobuf-java</artifactId>
13 <version>2.4.2-pre</version>
14 <packaging>jar</packaging>
15 <name>Protocol Buffer Java API</name>
17 Protocol Buffers are a way of encoding structured data in an efficient yet
20 <inceptionYear>2008</inceptionYear>
21 <url>http://code.google.com/p/protobuf</url>
24 <name>New BSD license</name>
25 <url>http://www.opensource.org/licenses/bsd-license.php</url>
26 <distribution>repo</distribution>
30 <url>http://code.google.com/p/protobuf/source/browse</url>
32 scm:svn:http://protobuf.googlecode.com/svn/trunk/
37 <groupId>junit</groupId>
38 <artifactId>junit</artifactId>
39 <version>4.4</version>
43 <groupId>org.easymock</groupId>
44 <artifactId>easymock</artifactId>
45 <version>2.2</version>
49 <groupId>org.easymock</groupId>
50 <artifactId>easymockclassextension</artifactId>
51 <version>2.2.1</version>
58 <artifactId>maven-compiler-plugin</artifactId>
65 <artifactId>maven-surefire-plugin</artifactId>
68 <include>**/*Test.java</include>
73 <artifactId>maven-antrun-plugin</artifactId>
76 <id>generate-sources</id>
77 <phase>generate-sources</phase>
80 <mkdir dir="target/generated-sources" />
81 <exec executable="../src/protoc">
82 <arg value="--java_out=target/generated-sources" />
83 <arg value="--proto_path=../src" />
84 <arg value="../src/google/protobuf/descriptor.proto" />
87 <sourceRoot>target/generated-sources</sourceRoot>
94 <id>generate-test-sources</id>
95 <phase>generate-test-sources</phase>
98 <mkdir dir="target/generated-test-sources" />
99 <exec executable="../src/protoc">
100 <arg value="--java_out=target/generated-test-sources" />
101 <arg value="--proto_path=../src" />
102 <arg value="--proto_path=src/test/java" />
103 <arg value="../src/google/protobuf/unittest.proto" />
104 <arg value="../src/google/protobuf/unittest_import.proto" />
105 <arg value="../src/google/protobuf/unittest_mset.proto" />
107 value="src/test/java/com/google/protobuf/multiple_files_test.proto" />
108 <arg value="src/test/java/com/google/protobuf/nested_builders_test.proto" />
109 <arg value="src/test/java/com/google/protobuf/nested_extension.proto" />
110 <arg value="src/test/java/com/google/protobuf/nested_extension_lite.proto" />
111 <arg value="src/test/java/com/google/protobuf/non_nested_extension.proto" />
112 <arg value="src/test/java/com/google/protobuf/non_nested_extension_lite.proto" />
113 <arg value="src/test/java/com/google/protobuf/test_bad_identifiers.proto" />
115 value="../src/google/protobuf/unittest_optimize_for.proto" />
117 value="../src/google/protobuf/unittest_custom_options.proto" />
118 <arg value="../src/google/protobuf/unittest_lite.proto" />
119 <arg value="../src/google/protobuf/unittest_import_lite.proto" />
120 <arg value="../src/google/protobuf/unittest_lite_imports_nonlite.proto" />
121 <arg value="../src/google/protobuf/unittest_enormous_descriptor.proto" />
122 <arg value="../src/google/protobuf/unittest_no_generic_services.proto" />
125 <testSourceRoot>target/generated-test-sources</testSourceRoot>
141 <artifactId>maven-compiler-plugin</artifactId>
144 <include>**/AbstractMessageLite.java</include>
145 <include>**/ByteString.java</include>
146 <include>**/CodedInputStream.java</include>
147 <include>**/CodedOutputStream.java</include>
148 <include>**/ExtensionRegistryLite.java</include>
149 <include>**/FieldSet.java</include>
150 <include>**/GeneratedMessageLite.java</include>
151 <include>**/Internal.java</include>
152 <include>**/InvalidProtocolBufferException.java</include>
153 <include>**/LazyStringArrayList.java</include>
154 <include>**/LazyStringList.java</include>
155 <include>**/MessageLite.java</include>
156 <include>**/MessageLiteOrBuilder.java</include>
157 <include>**/SmallSortedMap.java</include>
158 <include>**/UninitializedMessageException.java</include>
159 <include>**/UnmodifiableLazyStringList.java</include>
160 <include>**/WireFormat.java</include>
163 <testInclude>**/LiteTest.java</testInclude>
164 <testInclude>**/*Lite.java</testInclude>
169 <artifactId>maven-surefire-plugin</artifactId>
172 <include>**/LiteTest.java</include>
177 <artifactId>maven-jar-plugin</artifactId>
179 <classifier>lite</classifier>