Configure site build to exclude JavaDocs archive
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1618039 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
53d8b4edc6
commit
db622ffd73
51
pom.xml
51
pom.xml
|
@ -106,8 +106,8 @@ CSV files of various types.
|
|||
<distributionManagement>
|
||||
<site>
|
||||
<id>apache.website</id>
|
||||
<name>Apache Website</name>
|
||||
<url>${commons.deployment.protocol}://people.apache.org/www/commons.apache.org/csv/</url>
|
||||
<name>Apache Commons Site</name>
|
||||
<url>scm:svn:https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-csv/</url>
|
||||
</site>
|
||||
</distributionManagement>
|
||||
|
||||
|
@ -307,4 +307,51 @@ CSV files of various types.
|
|||
</plugins>
|
||||
</reporting>
|
||||
|
||||
<profiles>
|
||||
<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>
|
||||
|
|
Loading…
Reference in New Issue