You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2018/03/31 12:17:40 UTC

svn commit: r1828102 - /maven/site/trunk/pom.xml

Author: hboutemy
Date: Sat Mar 31 12:17:40 2018
New Revision: 1828102

URL: http://svn.apache.org/viewvc?rev=1828102&view=rev
Log:
added a profile to use Java 7 symbolic link API instead of ln (require Java 8)

Modified:
    maven/site/trunk/pom.xml

Modified: maven/site/trunk/pom.xml
URL: http://svn.apache.org/viewvc/maven/site/trunk/pom.xml?rev=1828102&r1=1828101&r2=1828102&view=diff
==============================================================================
--- maven/site/trunk/pom.xml (original)
+++ maven/site/trunk/pom.xml Sat Mar 31 12:17:40 2018
@@ -307,5 +307,25 @@
         </plugins>
       </reporting>
     </profile>
+    <profile>
+      <id>java8-ant-ln</id>
+      <build>
+        <pluginManagement>
+          <plugins>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-antrun-plugin</artifactId>
+              <dependencies>
+                <dependency>
+                  <groupId>org.apache.ant</groupId>
+                  <artifactId>ant</artifactId>
+                  <version>1.10.3</version><!-- to get symbolic links from Java 7 API instead of "ln" -->
+                </dependency>
+              </dependencies>
+            </plugin>
+          </plugins>
+        </pluginManagement>
+      </build>
+    </profile>
   </profiles>
 </project>