You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2021/06/25 09:06:19 UTC

[wicket] branch master updated: Add a profile for JDK EA (17+) that fixes the url to the javadocs

This is an automated email from the ASF dual-hosted git repository.

mgrigorov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/wicket.git


The following commit(s) were added to refs/heads/master by this push:
     new e1f1662  Add a profile for JDK EA (17+) that fixes the url to the javadocs
e1f1662 is described below

commit e1f1662cb50cf3605e2b8da93ddb3f805c96eb93
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
AuthorDate: Fri Jun 25 12:05:01 2021 +0300

    Add a profile for JDK EA (17+) that fixes the url to the javadocs
    
    Fixes yet another javadoc error while building with JDK EA
    
    (cherry picked from commit c94e971e5604d742f42b062b70e0ed0c48a22ce6)
---
 pom.xml | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index bb2c4cc..d523dac 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1581,7 +1581,7 @@
 			</build>
 		</profile>
 		<profile>
-			<id>on-java-11-or-12</id>
+			<id>on-jdk-11-or-12</id>
 			<activation>
 				<jdk>[11,12]</jdk>
 			</activation>
@@ -1589,6 +1589,15 @@
 				<javadoc.additionalJOption>--no-module-directories</javadoc.additionalJOption>
 			</properties>
 		</profile>
+		<profile>
+			<id>on-jdk-early-access</id>
+			<activation>
+				<jdk>[17,)</jdk>
+			</activation>
+			<properties>
+				<javadoc.jdk.apidocs.link>https://download.java.net/java/early_access/jdk${java.specification.version}/docs/api/</javadoc.jdk.apidocs.link>
+			</properties>
+		</profile>
 	</profiles>
 	<reporting>
 		<plugins>