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 2017/11/19 16:45:24 UTC

svn commit: r1815743 - in /maven/site/trunk: content/resources/components.links content/resources/plugins/ content/resources/plugins/components.links pom.xml

Author: hboutemy
Date: Sun Nov 19 16:45:23 2017
New Revision: 1815743

URL: http://svn.apache.org/viewvc?rev=1815743&view=rev
Log:
test symlink creation for each component documentation

Added:
    maven/site/trunk/content/resources/components.links
    maven/site/trunk/content/resources/plugins/
    maven/site/trunk/content/resources/plugins/components.links
Modified:
    maven/site/trunk/pom.xml

Added: maven/site/trunk/content/resources/components.links
URL: http://svn.apache.org/viewvc/maven/site/trunk/content/resources/components.links?rev=1815743&view=auto
==============================================================================
--- maven/site/trunk/content/resources/components.links (added)
+++ maven/site/trunk/content/resources/components.links Sun Nov 19 16:45:23 2017
@@ -0,0 +1,4 @@
+# links property file for Ant's symlink task in pom.xml:
+# links to components in https://maven.apache.org/components/
+ant-tasks=components/ant-tasks
+ant-tasks-archives=components/ant-tasks-archives

Added: maven/site/trunk/content/resources/plugins/components.links
URL: http://svn.apache.org/viewvc/maven/site/trunk/content/resources/plugins/components.links?rev=1815743&view=auto
==============================================================================
--- maven/site/trunk/content/resources/plugins/components.links (added)
+++ maven/site/trunk/content/resources/plugins/components.links Sun Nov 19 16:45:23 2017
@@ -0,0 +1,3 @@
+# links property file for Ant's symlink task in pom.xml:
+# links to components in https://maven.apache.org/components/
+maven-acr-plugin=../components/maven-acr-plugin

Modified: maven/site/trunk/pom.xml
URL: http://svn.apache.org/viewvc/maven/site/trunk/pom.xml?rev=1815743&r1=1815742&r2=1815743&view=diff
==============================================================================
--- maven/site/trunk/pom.xml (original)
+++ maven/site/trunk/pom.xml Sun Nov 19 16:45:23 2017
@@ -149,7 +149,12 @@
             </goals>
             <configuration>
               <target>
+                <!-- mirror cgi script: see http://www.apache.org/dev/release-download-pages.html#custom -->
                 <chmod file="${project.reporting.outputDirectory}/download.cgi" perm="ugo+rx"/>
+                <!-- links to components directories containing releases documentation: http://maven.apache.org/developers/website/ -->
+                <symlink action="recreate">
+                  <fileset dir="${project.reporting.outputDirectory}" includes="**/components.links"/>  
+                </symlink>
               </target>
             </configuration>
           </execution>