mirror of
https://github.com/apache/commons-collections.git
synced 2025-03-08 09:49:24 +00:00
make checkout faster as javadocs folder will not change a lot
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1422601 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6130eb8b28
commit
e965e69f1b
52
pom.xml
52
pom.xml
@ -437,7 +437,7 @@
|
||||
<!-- The RC version used in the staging repository URL. -->
|
||||
<commons.rc.version>RC2</commons.rc.version>
|
||||
<checkstyle.version>2.9.1</checkstyle.version>
|
||||
<maven.site.path>collections</maven.site.path>
|
||||
<commons.site.path>collections</commons.site.path>
|
||||
</properties>
|
||||
|
||||
|
||||
@ -481,8 +481,7 @@
|
||||
<artifactId>maven-scm-publish-plugin</artifactId>
|
||||
<configuration>
|
||||
<ignorePathsToDelete>
|
||||
<ignorePathToDelete>api-release**</ignorePathToDelete>
|
||||
<ignorePathToDelete>api-2.1.1**</ignorePathToDelete>
|
||||
<ignorePathToDelete>javadocs</ignorePathToDelete>
|
||||
</ignorePathsToDelete>
|
||||
</configuration>
|
||||
</plugin>
|
||||
@ -531,4 +530,51 @@
|
||||
</plugins>
|
||||
</reporting>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>setup-checkout</id>
|
||||
<activation>
|
||||
<file>
|
||||
<missing>${scmPubCheckoutDirectory}</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 ${maven.scmPubUrl} ${maven.scmPubCheckoutDirectory}" />
|
||||
</exec>
|
||||
|
||||
<exec executable="svn">
|
||||
<arg line="update --set-depth exclude ${maven.scmPubCheckoutDirectory}/javadocs" />
|
||||
</exec>
|
||||
|
||||
<pathconvert pathsep=" " property="dirs">
|
||||
<dirset dir="${maven.scmPubCheckoutDirectory}" includes="*" />
|
||||
</pathconvert>
|
||||
<exec executable="svn">
|
||||
<arg line="update --set-depth infinity ${dirs}" />
|
||||
</exec>
|
||||
</tasks>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
</project>
|
||||
|
Loading…
x
Reference in New Issue
Block a user