OLD | NEW |
(Empty) | |
| 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> |
| 6 <parent> |
| 7 <groupId>com.google</groupId> |
| 8 <artifactId>google</artifactId> |
| 9 <version>1</version> |
| 10 </parent> |
| 11 <groupId>com.google.protobuf</groupId> |
| 12 <artifactId>protobuf-java</artifactId> |
| 13 <version>3.0.0-beta-2</version> |
| 14 <packaging>bundle</packaging> |
| 15 <name>Protocol Buffer Java API</name> |
| 16 <description> |
| 17 Protocol Buffers are a way of encoding structured data in an efficient yet |
| 18 extensible format. |
| 19 </description> |
| 20 <inceptionYear>2008</inceptionYear> |
| 21 <url>https://developers.google.com/protocol-buffers/</url> |
| 22 <licenses> |
| 23 <license> |
| 24 <name>New BSD license</name> |
| 25 <url>http://www.opensource.org/licenses/bsd-license.php</url> |
| 26 <distribution>repo</distribution> |
| 27 </license> |
| 28 </licenses> |
| 29 <scm> |
| 30 <url>https://github.com/google/protobuf</url> |
| 31 <connection> |
| 32 scm:git:https://github.com/google/protobuf.git |
| 33 </connection> |
| 34 </scm> |
| 35 <dependencies> |
| 36 <dependency> |
| 37 <groupId>junit</groupId> |
| 38 <artifactId>junit</artifactId> |
| 39 <version>4.4</version> |
| 40 <scope>test</scope> |
| 41 </dependency> |
| 42 <dependency> |
| 43 <groupId>org.easymock</groupId> |
| 44 <artifactId>easymock</artifactId> |
| 45 <version>2.2</version> |
| 46 <scope>test</scope> |
| 47 </dependency> |
| 48 <dependency> |
| 49 <groupId>org.easymock</groupId> |
| 50 <artifactId>easymockclassextension</artifactId> |
| 51 <version>2.2.1</version> |
| 52 <scope>test</scope> |
| 53 </dependency> |
| 54 </dependencies> |
| 55 <build> |
| 56 <plugins> |
| 57 <plugin> |
| 58 <artifactId>maven-compiler-plugin</artifactId> |
| 59 <configuration> |
| 60 <source>1.5</source> |
| 61 <target>1.5</target> |
| 62 </configuration> |
| 63 </plugin> |
| 64 <plugin> |
| 65 <artifactId>maven-surefire-plugin</artifactId> |
| 66 <configuration> |
| 67 <includes> |
| 68 <include>**/*Test.java</include> |
| 69 </includes> |
| 70 </configuration> |
| 71 </plugin> |
| 72 <plugin> |
| 73 <artifactId>maven-antrun-plugin</artifactId> |
| 74 <executions> |
| 75 <execution> |
| 76 <id>generate-sources</id> |
| 77 <phase>generate-sources</phase> |
| 78 <configuration> |
| 79 <tasks> |
| 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/any.proto" /> |
| 85 <arg value="../src/google/protobuf/api.proto" /> |
| 86 <arg value="../src/google/protobuf/descriptor.proto" /> |
| 87 <arg value="../src/google/protobuf/duration.proto" /> |
| 88 <arg value="../src/google/protobuf/empty.proto" /> |
| 89 <arg value="../src/google/protobuf/field_mask.proto" /> |
| 90 <arg value="../src/google/protobuf/source_context.proto" /> |
| 91 <arg value="../src/google/protobuf/struct.proto" /> |
| 92 <arg value="../src/google/protobuf/timestamp.proto" /> |
| 93 <arg value="../src/google/protobuf/type.proto" /> |
| 94 <arg value="../src/google/protobuf/wrappers.proto" /> |
| 95 <arg value="../src/google/protobuf/compiler/plugin.proto" /> |
| 96 </exec> |
| 97 </tasks> |
| 98 <sourceRoot>target/generated-sources</sourceRoot> |
| 99 </configuration> |
| 100 <goals> |
| 101 <goal>run</goal> |
| 102 </goals> |
| 103 </execution> |
| 104 <execution> |
| 105 <id>generate-test-sources</id> |
| 106 <phase>generate-test-sources</phase> |
| 107 <configuration> |
| 108 <tasks> |
| 109 <mkdir dir="target/generated-test-sources" /> |
| 110 <exec executable="../src/protoc"> |
| 111 <arg value="--java_out=target/generated-test-sources" /> |
| 112 <arg value="--proto_path=../src" /> |
| 113 <arg value="--proto_path=src/test/java" /> |
| 114 <arg value="../src/google/protobuf/unittest.proto" /> |
| 115 <arg value="../src/google/protobuf/unittest_import.proto" /> |
| 116 <arg value="../src/google/protobuf/unittest_import_public.prot
o" /> |
| 117 <arg value="../src/google/protobuf/unittest_mset.proto" /> |
| 118 <arg value="../src/google/protobuf/unittest_mset_wire_format.p
roto" /> |
| 119 <arg value="src/test/java/com/google/protobuf/lazy_fields_lite
.proto" /> |
| 120 <arg value="src/test/java/com/google/protobuf/lite_equals_and_
hash.proto" /> |
| 121 <arg |
| 122 value="src/test/java/com/google/protobuf/multiple_files_test
.proto" /> |
| 123 <arg value="src/test/java/com/google/protobuf/nested_builders_
test.proto" /> |
| 124 <arg value="src/test/java/com/google/protobuf/nested_extension
.proto" /> |
| 125 <arg value="src/test/java/com/google/protobuf/nested_extension
_lite.proto" /> |
| 126 <arg value="src/test/java/com/google/protobuf/non_nested_exten
sion.proto" /> |
| 127 <arg value="src/test/java/com/google/protobuf/non_nested_exten
sion_lite.proto" /> |
| 128 <arg value="src/test/java/com/google/protobuf/outer_class_name
_test.proto" /> |
| 129 <arg value="src/test/java/com/google/protobuf/outer_class_name
_test2.proto" /> |
| 130 <arg value="src/test/java/com/google/protobuf/outer_class_name
_test3.proto" /> |
| 131 <arg value="src/test/java/com/google/protobuf/test_bad_identif
iers.proto" /> |
| 132 <arg value="src/test/java/com/google/protobuf/test_check_utf8.
proto" /> |
| 133 <arg value="src/test/java/com/google/protobuf/test_check_utf8_
size.proto" /> |
| 134 <arg value="src/test/java/com/google/protobuf/test_custom_opti
ons.proto" /> |
| 135 <arg |
| 136 value="../src/google/protobuf/unittest_optimize_for.proto" /
> |
| 137 <arg |
| 138 value="../src/google/protobuf/unittest_custom_options.proto"
/> |
| 139 <arg value="../src/google/protobuf/unittest_lite.proto" /> |
| 140 <arg value="../src/google/protobuf/unittest_import_lite.proto"
/> |
| 141 <arg value="../src/google/protobuf/unittest_import_public_lite
.proto" /> |
| 142 <arg value="../src/google/protobuf/unittest_lite_imports_nonli
te.proto" /> |
| 143 <arg value="../src/google/protobuf/unittest_enormous_descripto
r.proto" /> |
| 144 <arg value="../src/google/protobuf/unittest_no_generic_service
s.proto" /> |
| 145 <arg value="../src/google/protobuf/unittest_well_known_types.p
roto" /> |
| 146 <arg value="src/test/java/com/google/protobuf/any_test.proto"
/> |
| 147 <arg value="src/test/java/com/google/protobuf/field_presence_t
est.proto" /> |
| 148 <arg value="src/test/java/com/google/protobuf/map_for_proto2_l
ite_test.proto" /> |
| 149 <arg value="src/test/java/com/google/protobuf/map_for_proto2_t
est.proto" /> |
| 150 <arg value="src/test/java/com/google/protobuf/map_test.proto"
/> |
| 151 <arg value="src/test/java/com/google/protobuf/map_initializati
on_order_test.proto" /> |
| 152 </exec> |
| 153 </tasks> |
| 154 <testSourceRoot>target/generated-test-sources</testSourceRoot> |
| 155 </configuration> |
| 156 <goals> |
| 157 <goal>run</goal> |
| 158 </goals> |
| 159 </execution> |
| 160 </executions> |
| 161 </plugin> |
| 162 <plugin> |
| 163 <groupId>org.apache.felix</groupId> |
| 164 <artifactId>maven-bundle-plugin</artifactId> |
| 165 <extensions>true</extensions> |
| 166 <configuration> |
| 167 <instructions> |
| 168 <Bundle-DocURL>https://developers.google.com/protocol-buffers/</Bund
le-DocURL> |
| 169 <Bundle-SymbolicName>com.google.protobuf</Bundle-SymbolicName> |
| 170 <Export-Package>com.google.protobuf;version=3.0.0-beta-2</Export-Pac
kage> |
| 171 </instructions> |
| 172 </configuration> |
| 173 </plugin> |
| 174 </plugins> |
| 175 <resources> |
| 176 <resource> |
| 177 <directory>../src</directory> |
| 178 <includes> |
| 179 <include>google/protobuf/any.proto</include> |
| 180 <include>google/protobuf/api.proto</include> |
| 181 <include>google/protobuf/descriptor.proto</include> |
| 182 <include>google/protobuf/duration.proto</include> |
| 183 <include>google/protobuf/empty.proto</include> |
| 184 <include>google/protobuf/field_mask.proto</include> |
| 185 <include>google/protobuf/source_context.proto</include> |
| 186 <include>google/protobuf/struct.proto</include> |
| 187 <include>google/protobuf/timestamp.proto</include> |
| 188 <include>google/protobuf/type.proto</include> |
| 189 <include>google/protobuf/wrappers.proto</include> |
| 190 <include>google/protobuf/compiler/plugin.proto</include> |
| 191 </includes> |
| 192 </resource> |
| 193 </resources> |
| 194 </build> |
| 195 <profiles> |
| 196 <profile> |
| 197 <id>release</id> |
| 198 <distributionManagement> |
| 199 <snapshotRepository> |
| 200 <id>sonatype-nexus-staging</id> |
| 201 <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 202 </snapshotRepository> |
| 203 <repository> |
| 204 <id>sonatype-nexus-staging</id> |
| 205 <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</ur
l> |
| 206 </repository> |
| 207 </distributionManagement> |
| 208 <build> |
| 209 <plugins> |
| 210 <plugin> |
| 211 <groupId>org.apache.maven.plugins</groupId> |
| 212 <artifactId>maven-source-plugin</artifactId> |
| 213 <version>2.2.1</version> |
| 214 <executions> |
| 215 <execution> |
| 216 <id>attach-sources</id> |
| 217 <goals> |
| 218 <goal>jar-no-fork</goal> |
| 219 </goals> |
| 220 </execution> |
| 221 </executions> |
| 222 </plugin> |
| 223 <plugin> |
| 224 <groupId>org.apache.maven.plugins</groupId> |
| 225 <artifactId>maven-javadoc-plugin</artifactId> |
| 226 <version>2.9.1</version> |
| 227 <executions> |
| 228 <execution> |
| 229 <id>attach-javadocs</id> |
| 230 <goals> |
| 231 <goal>jar</goal> |
| 232 </goals> |
| 233 </execution> |
| 234 </executions> |
| 235 </plugin> |
| 236 <plugin> |
| 237 <groupId>org.apache.maven.plugins</groupId> |
| 238 <artifactId>maven-gpg-plugin</artifactId> |
| 239 <version>1.5</version> |
| 240 <executions> |
| 241 <execution> |
| 242 <id>sign-artifacts</id> |
| 243 <phase>verify</phase> |
| 244 <goals> |
| 245 <goal>sign</goal> |
| 246 </goals> |
| 247 </execution> |
| 248 </executions> |
| 249 </plugin> |
| 250 <plugin> |
| 251 <groupId>org.sonatype.plugins</groupId> |
| 252 <artifactId>nexus-staging-maven-plugin</artifactId> |
| 253 <version>1.6.3</version> |
| 254 <extensions>true</extensions> |
| 255 <configuration> |
| 256 <serverId>sonatype-nexus-staging</serverId> |
| 257 <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 258 <autoReleaseAfterClose>false</autoReleaseAfterClose> |
| 259 </configuration> |
| 260 </plugin> |
| 261 </plugins> |
| 262 </build> |
| 263 </profile> |
| 264 <profile> |
| 265 <id>lite</id> |
| 266 <build> |
| 267 <plugins> |
| 268 <plugin> |
| 269 <artifactId>maven-compiler-plugin</artifactId> |
| 270 <configuration> |
| 271 <includes> |
| 272 <include>**/AbstractMessageLite.java</include> |
| 273 <include>**/AbstractParser.java</include> |
| 274 <include>**/AbstractProtobufList.java</include> |
| 275 <include>**/BoundedByteString.java</include> |
| 276 <include>**/BooleanArrayList.java</include> |
| 277 <include>**/ByteString.java</include> |
| 278 <include>**/CodedInputStream.java</include> |
| 279 <include>**/CodedOutputStream.java</include> |
| 280 <include>**/DoublerrayList.java</include> |
| 281 <include>**/ExtensionLite.java</include> |
| 282 <include>**/ExtensionRegistryLite.java</include> |
| 283 <include>**/FieldSet.java</include> |
| 284 <include>**/FloatArrayList.java</include> |
| 285 <include>**/GeneratedMessageLite.java</include> |
| 286 <include>**/IntArrayList.java</include> |
| 287 <include>**/Internal.java</include> |
| 288 <include>**/InvalidProtocolBufferException.java</include> |
| 289 <include>**/LazyFieldLite.java</include> |
| 290 <include>**/LazyStringArrayList.java</include> |
| 291 <include>**/LazyStringList.java</include> |
| 292 <include>**/LiteralByteString.java</include> |
| 293 <include>**/LongArrayList.java</include> |
| 294 <include>**/MapEntryLite.java</include> |
| 295 <include>**/MapFieldLite.java</include> |
| 296 <include>**/MessageLite.java</include> |
| 297 <include>**/MessageLiteOrBuilder.java</include> |
| 298 <include>**/MessageLiteToString.java</include> |
| 299 <include>**/MutabilityOracle.java</include> |
| 300 <include>**/NioByteString.java</include> |
| 301 <include>**/Parser.java</include> |
| 302 <include>**/ProtobufArrayList.java</include> |
| 303 <include>**/ProtocolStringList.java</include> |
| 304 <include>**/RopeByteString.java</include> |
| 305 <include>**/SmallSortedMap.java</include> |
| 306 <include>**/TextFormatEscaper.java</include> |
| 307 <include>**/UninitializedMessageException.java</include> |
| 308 <include>**/UnknownFieldSetLite.java</include> |
| 309 <include>**/UnmodifiableLazyStringList.java</include> |
| 310 <include>**/UnsafeByteStrings.java</include> |
| 311 <include>**/Utf8.java</include> |
| 312 <include>**/WireFormat.java</include> |
| 313 </includes> |
| 314 <testIncludes> |
| 315 <testInclude>**/*Lite.java</testInclude> |
| 316 <testInclude>**/BooleanArrayListTest.java</testInclude> |
| 317 <testInclude>**/DoubleArrayListTest.java</testInclude> |
| 318 <testInclude>**/FloatArrayListTest.java</testInclude> |
| 319 <testInclude>**/IntArrayListTest.java</testInclude> |
| 320 <testInclude>**/LazyMessageLiteTest.java</testInclude> |
| 321 <testInclude>**/LiteTest.java</testInclude> |
| 322 <testInclude>**/LongArrayListTest.java</testInclude> |
| 323 <testInclude>**/NioByteStringTest.java</testInclude> |
| 324 <testInclude>**/ProtobufArrayListTest.java</testInclude> |
| 325 <testInclude>**/UnknownFieldSetLiteTest.java</testInclude> |
| 326 </testIncludes> |
| 327 </configuration> |
| 328 </plugin> |
| 329 <plugin> |
| 330 <artifactId>maven-surefire-plugin</artifactId> |
| 331 <configuration> |
| 332 <includes> |
| 333 <include>**/*Test.java</include> |
| 334 </includes> |
| 335 </configuration> |
| 336 </plugin> |
| 337 <plugin> |
| 338 <artifactId>maven-jar-plugin</artifactId> |
| 339 <configuration> |
| 340 <classifier>lite</classifier> |
| 341 </configuration> |
| 342 </plugin> |
| 343 </plugins> |
| 344 </build> |
| 345 </profile> |
| 346 </profiles> |
| 347 </project> |
OLD | NEW |