You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-commits@xmlgraphics.apache.org by ss...@apache.org on 2020/02/11 12:32:18 UTC
svn commit: r1873898 - /xmlgraphics/batik/trunk/pom.xml
Author: ssteiner
Date: Tue Feb 11 12:32:17 2020
New Revision: 1873898
URL: http://svn.apache.org/viewvc?rev=1873898&view=rev
Log:
Fix compile on newer mvn
Modified:
xmlgraphics/batik/trunk/pom.xml
Modified: xmlgraphics/batik/trunk/pom.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/pom.xml?rev=1873898&r1=1873897&r2=1873898&view=diff
==============================================================================
--- xmlgraphics/batik/trunk/pom.xml (original)
+++ xmlgraphics/batik/trunk/pom.xml Tue Feb 11 12:32:17 2020
@@ -116,10 +116,8 @@
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
- <executable>${jdk.path}/bin/javac</executable>
- <fork>true</fork>
- <compilerArgs></compilerArgs>
- <showWarnings>false</showWarnings>
+ <compilerArgs></compilerArgs>
+ <showWarnings>false</showWarnings>
</configuration>
</plugin>
<plugin>
@@ -150,7 +148,35 @@
</plugins>
</pluginManagement>
</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>
+ <version>${compiler.version}</version>
+ <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>
+
<scm>
<connection>scm:svn:https://svn.apache.org/repos/asf/xmlgraphics/batik/trunk/</connection>
<url>scm:svn:https://svn.apache.org/repos/asf/xmlgraphics/batik/trunk/</url>