Skip to content

Commit dfe69b8

Browse files
committed
#5 Use the Java 9 API to parse module descriptors
Extend plexus-release profile with Java 9 check
1 parent 797a5f0 commit dfe69b8

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

pom.xml

+40
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,16 @@
5555
<autoVersionSubmodules>true</autoVersionSubmodules>
5656
</configuration>
5757
</plugin>
58+
<plugin>
59+
<groupId>org.apache.maven.plugins</groupId>
60+
<artifactId>maven-source-plugin</artifactId>
61+
<version>3.0.1</version>
62+
</plugin>
63+
<plugin>
64+
<groupId>org.apache.maven.plugins</groupId>
65+
<artifactId>maven-javadoc-plugin</artifactId>
66+
<version>3.0.0</version>
67+
</plugin>
5868
</plugins>
5969
</pluginManagement>
6070
<plugins>
@@ -67,4 +77,34 @@
6777
</plugin>
6878
</plugins>
6979
</build>
80+
81+
<profiles>
82+
<profile>
83+
<id>plexus-release</id>
84+
<build>
85+
<plugins>
86+
<plugin>
87+
<groupId>org.apache.maven.plugins</groupId>
88+
<artifactId>maven-enforcer-plugin</artifactId>
89+
<version>3.0.0-M1</version>
90+
<executions>
91+
<execution>
92+
<id>enforce-java</id>
93+
<goals>
94+
<goal>enforce</goal>
95+
</goals>
96+
<configuration>
97+
<rules>
98+
<requireJavaVersion>
99+
<version>9</version>
100+
</requireJavaVersion>
101+
</rules>
102+
</configuration>
103+
</execution>
104+
</executions>
105+
</plugin>
106+
</plugins>
107+
</build>
108+
</profile>
109+
</profiles>
70110
</project>

0 commit comments

Comments
 (0)