Skip to content

Commit

Permalink
Merge pull request #170 from jakartaredhat/master
Browse files Browse the repository at this point in the history
Add module-info for the 3.0.1 service release, #169
  • Loading branch information
starksm64 authored Nov 8, 2021
2 parents 3ba937e + f70329d commit 7033194
Showing 1 changed file with 31 additions and 9 deletions.
40 changes: 31 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@
</scm>

<properties>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

Expand All @@ -109,7 +107,6 @@
<Export-Package>
jakarta.validation.*;version="${project.version}",
</Export-Package>
<Automatic-Module-Name>jakarta.validation</Automatic-Module-Name>
</instructions>
</configuration>
<executions>
Expand All @@ -122,10 +119,36 @@
</execution>
</executions>
</plugin>
<!--
Use the JDK 9+ compiler but with -source 1.8 for all
but the module-info.java file.
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>
<version>3.8.1</version>
<configuration>
<release>9</release>
<compilerArgs>
<arg>-Xlint:all</arg>
</compilerArgs>
<showDeprecation>true</showDeprecation>
<showWarnings>true</showWarnings>
</configuration>
<executions>
<execution>
<id>base-compile</id>
<goals>
<goal>compile</goal>
</goals>
<configuration>
<release>8</release>
<excludes>
<exclude>module-info.java</exclude>
</excludes>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -165,7 +188,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.4</version>
<version>3.3.0</version>
<executions>
<execution>
<id>attach-javadocs</id>
Expand All @@ -175,9 +198,8 @@
</execution>
</executions>
<configuration>
<links>
<link>http://docs.oracle.com/javase/8/docs/api/</link>
</links>
<source>8</source>
<detectJavaApiLink>false</detectJavaApiLink>
<packagesheader>Jakarta Bean Validation API Packages</packagesheader>
<doctitle>Jakarta Bean Validation API ${project.version}</doctitle>
<windowtitle>Jakarta Bean Validation API ${project.version}</windowtitle>
Expand Down Expand Up @@ -205,7 +227,7 @@ Use is subject to <a href="{@docRoot}/doc-files/speclicense.html" target="_top">
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
<version>3.0.0-M1</version>
</plugin>
<plugin>
<groupId>com.mycila</groupId>
Expand Down

0 comments on commit 7033194

Please sign in to comment.