Author: olamy Date: Sun Mar 3 18:16:45 2013 New Revision: 1452083 URL: http://svn.apache.org/r1452083 Log: fix javadocs links COMMONSSITE-74
Modified: commons/proper/validator/trunk/pom.xml commons/proper/validator/trunk/src/site/site.xml Modified: commons/proper/validator/trunk/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/pom.xml?rev=1452083&r1=1452082&r2=1452083&view=diff ============================================================================== --- commons/proper/validator/trunk/pom.xml (original) +++ commons/proper/validator/trunk/pom.xml Sun Mar 3 18:16:45 2013 @@ -316,6 +316,50 @@ </site> </distributionManagement> </profile> + <profile> + <id>setup-checkout</id> + <activation> + <file> + <missing>site-content</missing> + </file> + </activation> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>1.7</version> + <executions> + <execution> + <id>prepare-checkout</id> + <phase>pre-site</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <tasks> + <exec executable="svn"> + <arg line="checkout --depth immediates ${commons.scmPubUrl} ${commons.scmPubCheckoutDirectory}" /> + </exec> + + <exec executable="svn"> + <arg line="update --set-depth exclude ${commons.scmPubCheckoutDirectory}/javadocs" /> + </exec> + + <pathconvert pathsep=" " property="dirs"> + <dirset dir="${commons.scmPubCheckoutDirectory}" includes="*" /> + </pathconvert> + <exec executable="svn"> + <arg line="update --set-depth infinity ${dirs}" /> + </exec> + </tasks> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> </profiles> </project> Modified: commons/proper/validator/trunk/src/site/site.xml URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/site/site.xml?rev=1452083&r1=1452082&r2=1452083&view=diff ============================================================================== --- commons/proper/validator/trunk/src/site/site.xml (original) +++ commons/proper/validator/trunk/src/site/site.xml Sun Mar 3 18:16:45 2013 @@ -40,12 +40,12 @@ </menu> <menu name="JavaDocs"> - <item name="1.4.0 Release" href="/api-1.4.0/"/> - <item name="1.3.1 Release" href="/api-1.3.1/"/> - <item name="1.3.0 Release" href="/api-1.3.0/"/> - <item name="1.2.0 Release" href="/api-1.2.0/"/> - <item name="1.1.4 Release" href="/api-1.1.4/"/> - <item name="1.0.2 Release" href="/api-1.0.2/"/> + <item name="1.4.0 Release" href="javadocs/api-1.4.0/"/> + <item name="1.3.1 Release" href="javadocs/api-1.3.1/"/> + <item name="1.3.0 Release" href="javadocs/api-1.3.0/"/> + <item name="1.2.0 Release" href="javadocs/api-1.2.0/"/> + <item name="1.1.4 Release" href="javadocs/api-1.1.4/"/> + <item name="1.0.2 Release" href="javadocs/api-1.0.2/"/> </menu> <menu name="Development">