Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
d584321f
Commit
d584321f
authored
Nov 09, 2016
by
Adam Cozzette
Committed by
GitHub
Nov 09, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2327 from ctubbsii/fix-maven-compiler-plugin
Use latest maven-compiler-plugin (2.6.0)
parents
1f2dbc89
eb7f3a3a
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
73 additions
and
10 deletions
+73
-10
pom.xml
java/compatibility_tests/v2.5.0/protos/pom.xml
+1
-1
pom.xml
java/core/pom.xml
+26
-3
pom.xml
java/lite/pom.xml
+30
-2
pom.xml
java/pom.xml
+1
-1
pom.xml
java/util/pom.xml
+15
-3
No files found.
java/compatibility_tests/v2.5.0/protos/pom.xml
View file @
d584321f
...
...
@@ -28,7 +28,7 @@
<plugins>
<plugin>
<artifactId>
maven-compiler-plugin
</artifactId>
<version>
3.
3
</version>
<version>
3.
6.0
</version>
<configuration>
<source>
1.6
</source>
<target>
1.6
</target>
...
...
java/core/pom.xml
View file @
d584321f
...
...
@@ -92,11 +92,34 @@
<!-- Add the generated sources to the build -->
<plugin>
<artifactId>
maven-compiler-plugin
</artifactId>
<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>
<generatedSourcesDirectory>
${generated.sources.dir}
</generatedSourcesDirectory>
<generatedTestSourcesDirectory>
${generated.testsources.dir}
</generatedTestSourcesDirectory>
<sources>
<source>
${generated.testsources.dir}
</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<!-- OSGI bundle configuration -->
...
...
java/lite/pom.xml
View file @
d584321f
...
...
@@ -75,11 +75,39 @@
</plugin>
<!-- Only compile a subset of the files -->
<plugin>
<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.lite.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.lite.dir}
</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>
maven-compiler-plugin
</artifactId>
<configuration>
<generatedSourcesDirectory>
${generated.sources.lite.dir}
</generatedSourcesDirectory>
<generatedTestSourcesDirectory>
${generated.testsources.lite.dir}
</generatedTestSourcesDirectory>
<includes>
<include>
**/AbstractMessageLite.java
</include>
<include>
**/AbstractParser.java
</include>
...
...
java/pom.xml
View file @
d584321f
...
...
@@ -94,7 +94,7 @@
<plugins>
<plugin>
<artifactId>
maven-compiler-plugin
</artifactId>
<version>
3.
3
</version>
<version>
3.
6.0
</version>
<configuration>
<source>
1.6
</source>
<target>
1.6
</target>
...
...
java/util/pom.xml
View file @
d584321f
...
...
@@ -79,12 +79,24 @@
</executions>
</plugin>
<!-- Add the generated test sources to the build -->
<plugin>
<artifactId>
maven-compiler-plugin
</artifactId>
<groupId>
org.codehaus.mojo
</groupId>
<artifactId>
build-helper-maven-plugin
</artifactId>
<executions>
<execution>
<id>
add-generated-test-sources
</id>
<phase>
generate-test-sources
</phase>
<goals>
<goal>
add-test-source
</goal>
</goals>
<configuration>
<!-- Add the generated test sources to the build -->
<generatedTestSourcesDirectory>
${generated.testsources.dir}
</generatedTestSourcesDirectory>
<sources>
<source>
${generated.testsources.dir}
</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<!-- Configure the OSGI bundle -->
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment