[xmlsectool] branch master updated: XSTJ-60 - add Maven site

Ian Young ian at iay.org.uk
Tue Jun 7 05:00:26 EDT 2016


This is an automated email from the git hooks/post-receive script.

iay pushed a commit to branch master
in repository xmlsectool.

View the commit online:
http://git.shibboleth.net/view/?p=xmlsectool.git;a=commit;h=45ecbc112757c88c4763f95e1f7b1e98c8cf628f

The following commit(s) were added to refs/heads/master by this push:
       new  45ecbc1   XSTJ-60 - add Maven site
45ecbc1 is described below

commit 45ecbc112757c88c4763f95e1f7b1e98c8cf628f
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Tue Jun 7 09:59:36 2016 +0100

    XSTJ-60 - add Maven site
    
    Very basic support under parent POM v9.
---
 pom.xml                | 31 +++++++++++++++++++++++++++++++
 src/main/site/site.xml | 11 +++++++++++
 2 files changed, 42 insertions(+)

diff --git a/pom.xml b/pom.xml
index 5df3e88..7f1c02a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -25,6 +25,7 @@
         <opensaml.groupId>org.opensaml</opensaml.groupId>
         <opensaml.version>3.2.0</opensaml.version>
         <java-support.version>7.2.0</java-support.version>
+        <shibboleth.site.url>https://build.shibboleth.net/nexus/content/sites/site</shibboleth.site.url>
     </properties>
 
     <repositories>
@@ -120,6 +121,29 @@
 
     </dependencies>
 
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-site-plugin</artifactId>
+                <dependencies>
+                    <!-- add optional Markdown processor -->
+                    <dependency>
+                        <groupId>org.apache.maven.doxia</groupId>
+                        <artifactId>doxia-module-markdown</artifactId>
+                        <version>1.6</version>
+                    </dependency>
+                    <!-- support DAV protocol for site deploy -->
+                    <dependency>
+                        <groupId>org.apache.maven.wagon</groupId>
+                        <artifactId>wagon-webdav-jackrabbit</artifactId>
+                        <version>2.10</version>
+                    </dependency>
+                </dependencies>
+            </plugin>
+        </plugins>
+    </build>
+
     <profiles>
         <profile>
             <id>release</id>
@@ -139,4 +163,11 @@
         </profile>
     </profiles>
 
+    <distributionManagement>
+        <site>
+            <id>site</id>
+            <url>dav:${shibboleth.site.url}/${project.artifactId}/${project.version}/</url>
+        </site>
+    </distributionManagement>
+
 </project>
diff --git a/src/main/site/site.xml b/src/main/site/site.xml
new file mode 100644
index 0000000..8068292
--- /dev/null
+++ b/src/main/site/site.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/DECORATION/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://maven.apache.org/DECORATION/1.1.0 http://maven.apache.org/xsd/decoration-1.1.0.xsd">
+
+    <publishDate position="navigation-bottom" />
+
+    <body>
+        <menu ref="reports" />
+    </body>
+
+</project>
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list