This is an automated email from the ASF dual-hosted git repository. aherbert pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-rng.git
The following commit(s) were added to refs/heads/master by this push: new 3df8f16 Updated the pre-site svn checkout. 3df8f16 is described below commit 3df8f16523614e3dcfe8052917321b4c21bb2dca Author: Alex Herbert <aherb...@apache.org> AuthorDate: Tue Nov 12 01:39:58 2019 +0000 Updated the pre-site svn checkout. Due to the use of modules in sub-directories the existing command did not exclude the javadocs from checkout. The command has been changed to process each module directory separately. --- pom.xml | 41 +++++++++++++++++++++++++++++++++++++---- 1 file changed, 37 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 9f0eaa9..b1798b3 100644 --- a/pom.xml +++ b/pom.xml @@ -413,6 +413,8 @@ <artifactId>maven-antrun-plugin</artifactId> <version>1.7</version> <executions> + <!-- Avoid download of the archived Javadocs for the modules. + This includes the legacy javadocs for commons-rng-examples release 1.0. --> <execution> <id>prepare-checkout</id> <phase>pre-site</phase> @@ -420,22 +422,53 @@ <goal>run</goal> </goals> <configuration> - <tasks> + <target> + <!-- Top level directory --> <exec executable="svn"> <arg line="checkout --depth immediates ${commons.scmPubUrl} ${commons.scmPubCheckoutDirectory}" /> </exec> + <!-- Top level for each module --> <exec executable="svn"> - <arg line="update --set-depth exclude ${commons.scmPubCheckoutDirectory}/javadocs" /> + <arg line="checkout --depth immediates ${commons.scmPubUrl}/commons-rng-client-api ${commons.scmPubCheckoutDirectory}/commons-rng-client-api" /> + </exec> + <exec executable="svn"> + <arg line="checkout --depth immediates ${commons.scmPubUrl}/commons-rng-core ${commons.scmPubCheckoutDirectory}/commons-rng-core" /> + </exec> + <exec executable="svn"> + <arg line="checkout --depth immediates ${commons.scmPubUrl}/commons-rng-simple ${commons.scmPubCheckoutDirectory}/commons-rng-simple" /> + </exec> + <exec executable="svn"> + <arg line="checkout --depth immediates ${commons.scmPubUrl}/commons-rng-sampling ${commons.scmPubCheckoutDirectory}/commons-rng-sampling" /> + </exec> + <exec executable="svn"> + <arg line="checkout --depth immediates ${commons.scmPubUrl}/commons-rng-examples ${commons.scmPubCheckoutDirectory}/commons-rng-examples" /> + </exec> + + <!-- Do not download the archived javadocs. This will delete the 'javadocs' directory. --> + <pathconvert pathsep=" " property="javadocsDirs"> + <dirset dir="${commons.scmPubCheckoutDirectory}" includes="commons-rng-*/javadocs" /> + </pathconvert> + <exec executable="svn"> + <arg line="update --set-depth exclude ${javadocsDirs}" /> + </exec> + + <!-- Update the modules without the javadocs. --> + <pathconvert pathsep=" " property="modulesDirs"> + <dirset dir="${commons.scmPubCheckoutDirectory}" includes="commons-rng-client-api/*,commons-rng-core/*,commons-rng-simple/*,commons-rng-sampling/*,commons-rng-examples/*" /> + </pathconvert> + <exec executable="svn"> + <arg line="update --set-depth infinity ${modulesDirs}" /> </exec> + <!-- Update the remaining non-module directories --> <pathconvert pathsep=" " property="dirs"> - <dirset dir="${commons.scmPubCheckoutDirectory}" includes="*" /> + <dirset dir="${commons.scmPubCheckoutDirectory}" includes="*" excludes="commons-rng-client-api,commons-rng-core,commons-rng-simple,commons-rng-sampling,commons-rng-examples" /> </pathconvert> <exec executable="svn"> <arg line="update --set-depth infinity ${dirs}" /> </exec> - </tasks> + </target> </configuration> </execution> </executions>