Author: lukaszlenart Date: Wed Oct 30 06:46:06 2013 New Revision: 1536985 URL: http://svn.apache.org/r1536985 Log: INFRA-6350 Adds SiteExporter to site build
Modified: struts/site/trunk/pom.xml Modified: struts/site/trunk/pom.xml URL: http://svn.apache.org/viewvc/struts/site/trunk/pom.xml?rev=1536985&r1=1536984&r2=1536985&view=diff ============================================================================== --- struts/site/trunk/pom.xml (original) +++ struts/site/trunk/pom.xml Wed Oct 30 06:46:06 2013 @@ -196,6 +196,35 @@ </execution> </executions> </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>exec-maven-plugin</artifactId> + <version>1.2</version> + <executions> + <execution> + <id>cwiki-docs</id> + <phase>site</phase> + <goals> + <goal>java</goal> + </goals> + <configuration> + <classpathScope>runtime</classpathScope> + <includeProjectDependencies>true</includeProjectDependencies> + <mainClass>org.apache.cxf.cwiki.SiteExporter</mainClass> + <arguments> + <argument>-force</argument> + <argument>-d</argument> + <argument>${site.output}</argument> + <argument>-password</argument> + <argument>${confluence.password}</argument> + <argument>-user</argument> + <argument>${confluence.user}</argument> + <argument>${basedir}/src/etc/docs.cfg</argument> + </arguments> + </configuration> + </execution> + </executions> + </plugin> </plugins> <pluginManagement> @@ -212,53 +241,6 @@ </build> - <profiles> - <profile> - <id>update-draft-docs</id> - <build> - <plugins> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>exec-maven-plugin</artifactId> - <version>1.2</version> - <executions> - <execution> - <id>cwiki-docs</id> - <phase>prepare-package</phase> - <goals> - <goal>java</goal> - </goals> - <configuration> - <classpathScope>runtime</classpathScope> - <includeProjectDependencies>true</includeProjectDependencies> - <mainClass>org.apache.cxf.cwiki.SiteExporter</mainClass> - <arguments> - <argument>-force</argument> - <argument>-d</argument> - <argument>${project.build.directory}/cwiki/WW</argument> - <argument>-password</argument> - <argument>${confluence.password}</argument> - <argument>-user</argument> - <argument>${confluence.user}</argument> - <argument>${basedir}/src/etc/docs.cfg</argument> - </arguments> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> - <dependencies> - <dependency> - <groupId>org.apache.cxf.site-export</groupId> - <artifactId>cxf-site-export</artifactId> - <version>1.0-SNAPSHOT</version> - <scope>runtime</scope> - </dependency> - </dependencies> - </profile> - </profiles> - <reporting> <outputDirectory>${site.output}</outputDirectory> <plugins> @@ -277,4 +259,13 @@ </plugins> </reporting> + <dependencies> + <dependency> + <groupId>org.apache.cxf.site-export</groupId> + <artifactId>cxf-site-export</artifactId> + <version>1.0-SNAPSHOT</version> + <scope>runtime</scope> + </dependency> + </dependencies> + </project>