diff pom.xml @ 41:0c36e54a85b5

add a site
author Dirk Olmes <dirk@xanthippe.ping.de>
date Mon, 10 Oct 2011 02:56:36 +0200
parents 3201f93801d0
children
line wrap: on
line diff
--- a/pom.xml	Sun Oct 09 08:15:37 2011 +0200
+++ b/pom.xml	Mon Oct 10 02:56:36 2011 +0200
@@ -18,6 +18,13 @@
         <module>webstart-package</module>
     </modules>
 
+    <distributionManagement>
+        <site>
+            <id>xanthippe</id>
+            <url>scp://xanthippe.dyndns.org/var/www/localhost/htdocs/ConflictEditor</url>
+        </site>
+    </distributionManagement>
+
     <build>
         <pluginManagement>
             <plugins>
@@ -44,5 +51,41 @@
                 </plugin>
             </plugins>
         </pluginManagement>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-site-plugin</artifactId>
+                <version>3.0</version>
+                <dependencies>
+                    <dependency>
+                        <groupId>org.apache.maven.doxia</groupId>
+                        <artifactId>doxia-module-twiki</artifactId>
+                        <version>1.2</version>
+                    </dependency>
+                    <!-- add support for ssh/scp site deployment -->
+                    <dependency>
+                        <groupId>org.apache.maven.wagon</groupId>
+                        <artifactId>wagon-ssh</artifactId>
+                        <version>1.0</version>
+                    </dependency>
+                </dependencies>
+                <configuration>
+                    <inputEncoding>UTF-8</inputEncoding>
+                    <outputEncoding>UTF-8</outputEncoding>
+                    <reportPlugins>
+                        <plugin>
+                            <groupId>org.apache.maven.plugins</groupId>
+                            <artifactId>maven-project-info-reports-plugin</artifactId>
+                            <version>2.4</version>
+                            <reports>
+                                <report>distribution-management</report>
+                                <report>index</report>
+                                <report>summary</report>
+                            </reports>
+                        </plugin>
+                    </reportPlugins>
+                </configuration>
+            </plugin>
+        </plugins>
     </build>
 </project>