You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2017/12/27 13:06:52 UTC
[maven-checkstyle-plugin] branch master updated: Make project Java
9 proof
This is an automated email from the ASF dual-hosted git repository.
rfscholte pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-checkstyle-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new 71b2675 Make project Java 9 proof
71b2675 is described below
commit 71b267572f85130761972bab424dec226391c1d0
Author: rfscholte <rf...@apache.org>
AuthorDate: Wed Dec 27 14:06:44 2017 +0100
Make project Java 9 proof
---
pom.xml | 43 ++++++++++++++++++++++++-
src/it/MCHECKSTYLE-332_cache-treewalker/pom.xml | 8 ++++-
2 files changed, 49 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index d85c828..fdaa4e2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -273,6 +273,11 @@ under the License.
</excludes>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-plugin-plugin</artifactId>
+ <version>3.5</version>
+ </plugin>
</plugins>
</pluginManagement>
<plugins>
@@ -301,7 +306,6 @@ under the License.
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
- <version>1.13</version>
<configuration>
<signature>
<groupId>org.codehaus.mojo.signature</groupId>
@@ -322,6 +326,7 @@ under the License.
<plugin>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-component-metadata</artifactId>
+ <version>1.7.1</version>
<executions>
<execution>
<goals>
@@ -392,6 +397,42 @@ under the License.
</plugins>
</reporting>
</profile>
+
+ <profile>
+ <id>jdk9</id>
+ <activation>
+ <jdk>[9,)</jdk>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>enforce-bytecode-version</id>
+ <configuration>
+ <rules>
+ <enforceBytecodeVersion>
+ <excludes>
+ <exclude>javax.xml.bind:jaxb-api</exclude>
+ </excludes>
+ </enforceBytecodeVersion>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>javax.xml.bind</groupId>
+ <artifactId>jaxb-api</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+ </dependencies>
+ </profile>
</profiles>
</project>
diff --git a/src/it/MCHECKSTYLE-332_cache-treewalker/pom.xml b/src/it/MCHECKSTYLE-332_cache-treewalker/pom.xml
index fb7b6ee..fffb756 100644
--- a/src/it/MCHECKSTYLE-332_cache-treewalker/pom.xml
+++ b/src/it/MCHECKSTYLE-332_cache-treewalker/pom.xml
@@ -41,13 +41,19 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>@pom.version@</version>
+ <version>@project.version@</version>
<dependencies>
<!-- force usage of 6.15, where the cacheFile property is in the TreeWalker module -->
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>6.15</version>
+ <exclusions>
+ <exclusion>
+ <groupId>com.sun</groupId>
+ <artifactId>tools</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
</dependencies>
</plugin>
--
To stop receiving notification emails like this one, please contact
['"commits@maven.apache.org" <co...@maven.apache.org>'].