You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2018/10/03 16:37:42 UTC

svn commit: r1842743 - /pdfbox/branches/2.0/parent/pom.xml

Author: tilman
Date: Wed Oct  3 16:37:41 2018
New Revision: 1842743

URL: http://svn.apache.org/viewvc?rev=1842743&view=rev
Log:
PDFBOX-4331: make jdk9 activation automatic

Modified:
    pdfbox/branches/2.0/parent/pom.xml

Modified: pdfbox/branches/2.0/parent/pom.xml
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/parent/pom.xml?rev=1842743&r1=1842742&r2=1842743&view=diff
==============================================================================
--- pdfbox/branches/2.0/parent/pom.xml (original)
+++ pdfbox/branches/2.0/parent/pom.xml Wed Oct  3 16:37:41 2018
@@ -123,6 +123,14 @@
         <!-- call mvn with -Pjdk9 or call with -Daddmod="...." -->
         <profile>
             <id>jdk9</id>
+            <!--
+            allows automatic activation when jdk9 or higher is used
+            https://maven.apache.org/guides/introduction/introduction-to-profiles.html
+            https://maven.apache.org/enforcer/enforcer-rules/versionRanges.html
+            -->
+            <activation>
+                <jdk>[9,)</jdk>
+            </activation>
             <properties>
                 <addmod>--add-modules java.activation --add-modules java.xml.bind</addmod>
             </properties>