struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject svn commit: r1585203 - /struts/site/trunk/pom.xml
Date Sat, 05 Apr 2014 21:21:38 GMT
Author: lukaszlenart
Date: Sat Apr  5 21:21:38 2014
New Revision: 1585203

URL: http://svn.apache.org/r1585203
Log:
Adds logic to export Wiki pages to html

Added:
    struts/site/trunk/pom.xml

Added: struts/site/trunk/pom.xml
URL: http://svn.apache.org/viewvc/struts/site/trunk/pom.xml?rev=1585203&view=auto
==============================================================================
--- struts/site/trunk/pom.xml (added)
+++ struts/site/trunk/pom.xml Sat Apr  5 21:21:38 2014
@@ -0,0 +1,63 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.apache.struts</groupId>
+        <artifactId>struts2-parent</artifactId>
+        <version>2.3.16.1</version>
+    </parent>
+
+    <artifactId>struts2-docs</artifactId>
+    <packaging>pom</packaging>
+    <name>Struts 2 Draft Docs</name>
+
+    <properties>
+        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    </properties>
+
+    <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>
+                            <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/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>
+        </dependency>
+
+    </dependencies>
+
+</project>



Mime
View raw message