Author: wsmoak
Date: Sun Dec 31 12:58:16 2006
New Revision: 491483

URL: http://svn.apache.org/viewvc?view=rev&rev=491483
Log:
Download, unzip, and include the Confluence wiki docs in the -all release 
assembly.
WW-1585

Modified:
    struts/struts2/trunk/assembly/pom.xml
    struts/struts2/trunk/assembly/src/main/assembly/all.xml

Modified: struts/struts2/trunk/assembly/pom.xml
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/assembly/pom.xml?view=diff&rev=491483&r1=491482&r2=491483
==============================================================================
--- struts/struts2/trunk/assembly/pom.xml (original)
+++ struts/struts2/trunk/assembly/pom.xml Sun Dec 31 12:58:16 2006
@@ -112,6 +112,28 @@
                 </executions>
             </plugin>
             <plugin>
+                <artifactId>maven-antrun-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>cwiki-docs</id>
+                        <phase>process-resources</phase>
+                        <configuration>
+                            <tasks>
+                                <mkdir dir="${project.build.directory}/cwiki"/>
+                                <get 
src="http://struts.apache.org/2.x/docs.zip";
+                                     dest="${project.build.directory}/docs.zip"
+                                     ignoreerrors="false"/>
+                                <unzip 
src="${project.build.directory}/docs.zip"
+                                     dest="${project.build.directory}/cwiki"/>
+                            </tasks>
+                        </configuration>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
                 <artifactId>maven-assembly-plugin</artifactId>
                 <version>2.0.1</version>
                 <configuration>

Modified: struts/struts2/trunk/assembly/src/main/assembly/all.xml
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/assembly/src/main/assembly/all.xml?view=diff&rev=491483&r1=491482&r2=491483
==============================================================================
--- struts/struts2/trunk/assembly/src/main/assembly/all.xml (original)
+++ struts/struts2/trunk/assembly/src/main/assembly/all.xml Sun Dec 31 12:58:16 
2006
@@ -67,6 +67,12 @@
         <outputDirectory>docs/struts2-core</outputDirectory>
       </fileSet>
 
+      <!-- Include the Confluence docs in the assembly -->
+      <fileSet>
+        <directory>target/cwiki</directory>
+        <outputDirectory>docs</outputDirectory>
+      </fileSet>
+
       <!-- Plugins -->
       <!-- 
       <fileSet>


Reply via email to