module-info must be excluded
use m-plugin-p 3.5 to build plugin, since it supports java9 git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1769688 13f79535-47bb-0310-9956-ffa450edef68master
parent
2767d04ccb
commit
f223b01735
|
|
@ -264,6 +264,7 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-plugin-plugin</artifactId>
|
<artifactId>maven-plugin-plugin</artifactId>
|
||||||
|
<version>3.5</version>
|
||||||
<!-- will use previous maven-plugin-plugin release to build current maven-plugin-plugin as configured in parent -->
|
<!-- will use previous maven-plugin-plugin release to build current maven-plugin-plugin as configured in parent -->
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
|
|
|
||||||
55
pom.xml
55
pom.xml
|
|
@ -398,33 +398,34 @@
|
||||||
<activation>
|
<activation>
|
||||||
<jdk>[1.9,)</jdk>
|
<jdk>[1.9,)</jdk>
|
||||||
</activation>
|
</activation>
|
||||||
<!-- chicken-egg problem. Can only be built with Java9 once maven-plugin-plugin 3.5 is available -->
|
<build>
|
||||||
<!-- <build> -->
|
<plugins>
|
||||||
<!-- <plugins> -->
|
<plugin>
|
||||||
<!-- <plugin> -->
|
<artifactId>maven-enforcer-plugin</artifactId>
|
||||||
<!-- <artifactId>maven-enforcer-plugin</artifactId> -->
|
<executions>
|
||||||
<!-- <executions> -->
|
<execution>
|
||||||
<!-- <execution> -->
|
<id>enforce-bytecode-version</id>
|
||||||
<!-- <id>enforce-bytecode-version</id> -->
|
<configuration>
|
||||||
<!-- <configuration> -->
|
<rules>
|
||||||
<!-- <rules> -->
|
<enforceBytecodeVersion>
|
||||||
<!-- <enforceBytecodeVersion> -->
|
<ignoreClasses>
|
||||||
<!-- <maxJdkVersion>1.9</maxJdkVersion> -->
|
<ignoreClass>module-info</ignoreClass>
|
||||||
<!-- </enforceBytecodeVersion> -->
|
</ignoreClasses>
|
||||||
<!-- </rules> -->
|
</enforceBytecodeVersion>
|
||||||
<!-- </configuration> -->
|
</rules>
|
||||||
<!-- </execution> -->
|
</configuration>
|
||||||
<!-- </executions> -->
|
</execution>
|
||||||
<!-- <dependencies> -->
|
</executions>
|
||||||
<!-- <dependency> -->
|
<dependencies>
|
||||||
<!-- <groupId>org.codehaus.mojo</groupId> -->
|
<dependency>
|
||||||
<!-- <artifactId>extra-enforcer-rules</artifactId> -->
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
<!-- <version>1.0-beta-5</version> -->
|
<artifactId>extra-enforcer-rules</artifactId>
|
||||||
<!-- </dependency> -->
|
<version>1.0-beta-5</version>
|
||||||
<!-- </dependencies> -->
|
</dependency>
|
||||||
<!-- </plugin> -->
|
</dependencies>
|
||||||
<!-- </plugins> -->
|
</plugin>
|
||||||
<!-- </build> -->
|
</plugins>
|
||||||
|
</build>
|
||||||
<dependencyManagement>
|
<dependencyManagement>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue