You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ol...@apache.org on 2013/01/09 12:54:49 UTC
svn commit: r1430804 - /commons/proper/ognl/trunk/pom.xml
Author: olamy
Date: Wed Jan 9 11:54:49 2013
New Revision: 1430804
URL: http://svn.apache.org/viewvc?rev=1430804&view=rev
Log:
configure site publish
Modified:
commons/proper/ognl/trunk/pom.xml
Modified: commons/proper/ognl/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/ognl/trunk/pom.xml?rev=1430804&r1=1430803&r2=1430804&view=diff
==============================================================================
--- commons/proper/ognl/trunk/pom.xml (original)
+++ commons/proper/ognl/trunk/pom.xml Wed Jan 9 11:54:49 2013
@@ -22,7 +22,7 @@ limitations under the License.
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-parent</artifactId>
- <version>27</version>
+ <version>28-SNAPSHOT</version>
</parent>
<groupId>org.apache.commons</groupId>
@@ -179,6 +179,7 @@ limitations under the License.
<maven.compile.target>1.5</maven.compile.target>
<commons.site.path>ognl</commons.site.path>
+ <commons.scmPubCheckoutDirectory>site-content</commons.scmPubCheckoutDirectory>
</properties>
<dependencies>
@@ -504,5 +505,54 @@ limitations under the License.
</plugins>
</build>
</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 ${commons.scmPubUrl} ${commons.scmPubCheckoutDirectory}" />
+ </exec>
+ <!-- in case of paths to ignore (added manually) -->
+ <!--
+ <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>
+ -->
+ <exec executable="svn">
+ <arg line="update" />
+ </exec>
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>