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.protobuf.compatibility</groupId> |
| 8 <artifactId>compatibility-test-suite</artifactId> |
| 9 <version>2.5.0</version> |
| 10 <relativePath>..</relativePath> |
| 11 </parent> |
| 12 |
| 13 <groupId>com.google.protobuf.compatibility</groupId> |
| 14 <artifactId>compatibility-protos</artifactId> |
| 15 <version>2.5.0</version> |
| 16 |
| 17 <name>Protos for Compatibility test</name> |
| 18 |
| 19 <dependencies> |
| 20 <dependency> |
| 21 <groupId>com.google.protobuf</groupId> |
| 22 <artifactId>protobuf-java</artifactId> |
| 23 <version>${protos.protobuf.version}</version> |
| 24 </dependency> |
| 25 </dependencies> |
| 26 |
| 27 <build> |
| 28 <plugins> |
| 29 <plugin> |
| 30 <artifactId>maven-compiler-plugin</artifactId> |
| 31 <version>3.6.0</version> |
| 32 <configuration> |
| 33 <source>1.6</source> |
| 34 <target>1.6</target> |
| 35 </configuration> |
| 36 </plugin> |
| 37 <plugin> |
| 38 <artifactId>maven-antrun-plugin</artifactId> |
| 39 <executions> |
| 40 <execution> |
| 41 <id>generate-sources</id> |
| 42 <phase>generate-sources</phase> |
| 43 <configuration> |
| 44 <tasks> |
| 45 <mkdir dir="target/generated-sources" /> |
| 46 <exec executable="${protos.protoc.path}"> |
| 47 <arg value="--java_out=target/generated-sources" /> |
| 48 <arg value="--proto_path=src/proto" /> |
| 49 <arg value="src/proto/google/protobuf/unittest_custom_options.
proto" /> |
| 50 <arg value="src/proto/google/protobuf/unittest_enormous_descri
ptor.proto" /> |
| 51 <arg value="src/proto/google/protobuf/unittest_import.proto" /
> |
| 52 <arg value="src/proto/google/protobuf/unittest_import_public.p
roto" /> |
| 53 <arg value="src/proto/google/protobuf/unittest_mset.proto" /> |
| 54 <arg value="src/proto/google/protobuf/unittest_no_generic_serv
ices.proto" /> |
| 55 <arg value="src/proto/com/google/protobuf/nested_builders_test
.proto" /> |
| 56 <arg value="src/proto/com/google/protobuf/nested_extension.pro
to" /> |
| 57 <arg value="src/proto/com/google/protobuf/non_nested_extension
.proto" /> |
| 58 <arg value="src/proto/com/google/protobuf/test_bad_identifiers
.proto" /> |
| 59 </exec> |
| 60 </tasks> |
| 61 <sourceRoot>target/generated-sources</sourceRoot> |
| 62 </configuration> |
| 63 <goals> |
| 64 <goal>run</goal> |
| 65 </goals> |
| 66 </execution> |
| 67 </executions> |
| 68 </plugin> |
| 69 </plugins> |
| 70 </build> |
| 71 </project> |
OLD | NEW |