mirror of
https://github.com/apache/struts.git
synced 2026-08-11 01:27:14 +00:00
Allows to skip exporting pages from Confluence
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1537163 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
+43
-29
@@ -83,35 +83,6 @@
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<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>-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/main/resources/docs.cfg</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<executions>
|
||||
@@ -139,6 +110,49 @@
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>export-cwiki</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>!skipWiki</name>
|
||||
</property>
|
||||
</activation>
|
||||
<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>-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/main/resources/docs.cfg</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<dependencies>
|
||||
|
||||
<dependency>
|
||||
|
||||
Reference in New Issue
Block a user