WIP site
authorKai Moritz <kai@juplo.de>
Tue, 10 Nov 2015 14:50:23 +0000 (15:50 +0100)
committerKai Moritz <kai@juplo.de>
Tue, 10 Nov 2015 14:52:01 +0000 (15:52 +0100)
pom.xml

diff --git a/pom.xml b/pom.xml
index f4bd89c..74c1013 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -13,7 +13,7 @@
   <artifactId>facebook-utils</artifactId>
   <name>Juplo - Facebook Utils</name>
   <description>Collection of usefull classes for communicating with the Facebook-Graph-API</description>
-  <version>2.5-SNAPSHOT</version>
+  <version>2.5.0</version>
   <packaging>jar</packaging>
   <url>http://www.juplo.de/facebook-utils</url>
 
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-resources-plugin</artifactId>
+        <version>2.7</version>
+        <executions>
+          <execution>
+            <id>copy-resources</id>
+            <phase>pre-site</phase>
+            <goals>
+              <goal>copy-resources</goal>
+            </goals>
+            <configuration>
+              <outputDirectory>${project.build.directory}/filtered-site</outputDirectory>
+              <resources>
+                <resource>
+                  <directory>src/site</directory>
+                  <filtering>true</filtering>
+                </resource>
+              </resources>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <artifactId>maven-site-plugin</artifactId>
+          <version>3.4</version>
+          <configuration>
+            <siteDirectory>${project.build.directory}/filtered-site</siteDirectory>
+          </configuration>
+          <dependencies>
+            <dependency><!-- add support for ssh/scp -->
+              <groupId>org.apache.maven.wagon</groupId>
+              <artifactId>wagon-ssh</artifactId>
+              <version>2.9</version>
+            </dependency>
+          </dependencies>
+        </plugin>
+      </plugins>
+    </pluginManagement>
   </build>