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 2019/03/05 20:54:40 UTC

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

Author: tilman
Date: Tue Mar  5 20:54:40 2019
New Revision: 1854874

URL: http://svn.apache.org/viewvc?rev=1854874&view=rev
Log:
PDFBOX-4479: fork javac to use dk6 on Jenkins, as suggested by Simon Steiner, see also r1784884 + Jenkins config of xmlgraphics-commons

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=1854874&r1=1854873&r2=1854874&view=diff
==============================================================================
--- pdfbox/branches/2.0/parent/pom.xml (original)
+++ pdfbox/branches/2.0/parent/pom.xml Tue Mar  5 20:54:40 2019
@@ -54,6 +54,9 @@
         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
 
         <bouncycastle.version>1.60</bouncycastle.version>
+        
+        <!-- PDFBOX-4479 to build on jdk6 on newer Jenkins -->
+        <jdk.path>${env.JAVA_HOME}</jdk.path>
     </properties>
 
     <dependencyManagement>
@@ -199,6 +202,8 @@
                     <target>1.6</target>
                     <source>1.6</source>
                     <encoding>UTF-8</encoding>
+                    <executable>${jdk.path}/bin/javac</executable>
+                    <fork>true</fork>
                 </configuration>
             </plugin>
             <plugin>