You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlgraphics.apache.org by ss...@apache.org on 2020/02/11 12:29:01 UTC
svn commit: r1873897 - /xmlgraphics/commons/trunk/pom.xml
Author: ssteiner
Date: Tue Feb 11 12:29:01 2020
New Revision: 1873897
URL: http://svn.apache.org/viewvc?rev=1873897&view=rev
Log:
Fix compile on newer mvn
Modified:
xmlgraphics/commons/trunk/pom.xml
Modified: xmlgraphics/commons/trunk/pom.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/commons/trunk/pom.xml?rev=1873897&r1=1873896&r2=1873897&view=diff
==============================================================================
--- xmlgraphics/commons/trunk/pom.xml (original)
+++ xmlgraphics/commons/trunk/pom.xml Tue Feb 11 12:29:01 2020
@@ -88,8 +88,6 @@
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
- <executable>${jdk.path}/bin/javac</executable>
- <fork>true</fork>
</configuration>
</plugin>
<plugin>
@@ -174,6 +172,33 @@
</testResource>
</testResources>
</build>
+
+ <profiles>
+ <profile>
+ <id>custom-javac</id>
+ <activation>
+ <property>
+ <name>jdk.path</name>
+ </property>
+ </activation>
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>${java.version}</source>
+ <target>${java.version}</target>
+ <executable>${jdk.path}/bin/javac</executable>
+ <fork>true</fork>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+ </profile>
+ </profiles>
<reporting>
<plugins>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org