You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by we...@apache.org on 2009/01/16 17:37:11 UTC
svn commit: r735051 - /struts/struts2/trunk/assembly/pom.xml
Author: wesw
Date: Fri Jan 16 08:37:11 2009
New Revision: 735051
URL: http://svn.apache.org/viewvc?rev=735051&view=rev
Log:
making wget download docs from the site, requires wget, but removes other dependencies WW-2958
Modified:
struts/struts2/trunk/assembly/pom.xml
Modified: struts/struts2/trunk/assembly/pom.xml
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/assembly/pom.xml?rev=735051&r1=735050&r2=735051&view=diff
==============================================================================
--- struts/struts2/trunk/assembly/pom.xml (original)
+++ struts/struts2/trunk/assembly/pom.xml Fri Jan 16 08:37:11 2009
@@ -248,16 +248,24 @@
<configuration>
<tasks>
<mkdir dir="${project.build.directory}/cwiki" />
+<!--
<exec executable="ssh" failonerror="true" >
<arg line="${username}@people.apache.org /www/struts.apache.org/2.x/docs-zip2.sh" />
</exec>
+ <unzip src="${project.build.directory}/docs.zip" dest="${project.build.directory}/cwiki" />
+-->
<exec executable="wget">
- <arg value="--progress=dot:mega" />
- <arg value="-nc" />
- <arg value="--output-document=${project.build.directory}/docs.zip" />
- <arg value="http://struts.apache.org/2.x/docs.zip" />
+ <arg value="-erobots=off" />
+ <arg value="-nH" />
+ <arg value="-nv" />
+ <arg value="-E" />
+ <arg value="-L" />
+ <arg value="-r" />
+ <arg value="http://struts.apache.org/2.x/docs/" />
</exec>
- <unzip src="${project.build.directory}/docs.zip" dest="${project.build.directory}/cwiki" />
+ <move todir="${project.build.directory}/cwiki">
+ <fileset dir="2.x/docs"/>
+ </move>
</tasks>
</configuration>
<goals>