]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Allow different compiler since jenkins requires Java 7
authorSimon Steiner <ssteiner@apache.org>
Tue, 28 Feb 2017 13:28:17 +0000 (13:28 +0000)
committerSimon Steiner <ssteiner@apache.org>
Tue, 28 Feb 2017 13:28:17 +0000 (13:28 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1784735 13f79535-47bb-0310-9956-ffa450edef68

pom.xml

diff --git a/pom.xml b/pom.xml
index 4c6908f1ce08bed50fb0689c92ebde6f75d526b4..c411e639b0664c264f11cbe84321773ab43a33bb 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -31,6 +31,7 @@
     <xml.plugin.version>1.0.1</xml.plugin.version>
     <xmlgraphics.commons.version>2.2.0-SNAPSHOT</xmlgraphics.commons.version>
     <xmlunit.version>1.2</xmlunit.version>
+    <jdk.path>${env.JAVA_HOME}</jdk.path>
   </properties>
 
   <licenses>
@@ -72,6 +73,8 @@
           <configuration>
             <source>${java.version}</source>
             <target>${java.version}</target>
+            <executable>${jdk.path}/bin/javac</executable>
+            <fork>true</fork>
           </configuration>
         </plugin>
         <plugin>