| Index: third_party/protobuf/java/core/pom.xml
|
| diff --git a/third_party/protobuf/java/core/pom.xml b/third_party/protobuf/java/core/pom.xml
|
| index 0d4c5c75d07b4076e9fba5d076c047d560f17b31..cced344edf1da572f311de07779cd43f8eaab4d6 100644
|
| --- a/third_party/protobuf/java/core/pom.xml
|
| +++ b/third_party/protobuf/java/core/pom.xml
|
| @@ -6,7 +6,7 @@
|
| <parent>
|
| <groupId>com.google.protobuf</groupId>
|
| <artifactId>protobuf-parent</artifactId>
|
| - <version>3.0.0-beta-3</version>
|
| + <version>3.1.0</version>
|
| </parent>
|
|
|
| <artifactId>protobuf-java</artifactId>
|
| @@ -92,11 +92,34 @@
|
|
|
| <!-- Add the generated sources to the build -->
|
| <plugin>
|
| - <artifactId>maven-compiler-plugin</artifactId>
|
| - <configuration>
|
| - <generatedSourcesDirectory>${generated.sources.dir}</generatedSourcesDirectory>
|
| - <generatedTestSourcesDirectory>${generated.testsources.dir}</generatedTestSourcesDirectory>
|
| - </configuration>
|
| + <groupId>org.codehaus.mojo</groupId>
|
| + <artifactId>build-helper-maven-plugin</artifactId>
|
| + <executions>
|
| + <execution>
|
| + <id>add-generated-sources</id>
|
| + <phase>generate-sources</phase>
|
| + <goals>
|
| + <goal>add-source</goal>
|
| + </goals>
|
| + <configuration>
|
| + <sources>
|
| + <source>${generated.sources.dir}</source>
|
| + </sources>
|
| + </configuration>
|
| + </execution>
|
| + <execution>
|
| + <id>add-generated-test-sources</id>
|
| + <phase>generate-test-sources</phase>
|
| + <goals>
|
| + <goal>add-test-source</goal>
|
| + </goals>
|
| + <configuration>
|
| + <sources>
|
| + <source>${generated.testsources.dir}</source>
|
| + </sources>
|
| + </configuration>
|
| + </execution>
|
| + </executions>
|
| </plugin>
|
|
|
| <!-- OSGI bundle configuration -->
|
|
|