[java-metadata-aggregator] branch master updated: INFRA-110 - Prepare Metadata Aggregator site.

Tom Zeller tzeller at dragonacea.biz
Mon May 16 15:46:55 EDT 2016


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

tzeller pushed a commit to branch master
in repository java-metadata-aggregator.

The following commit(s) were added to refs/heads/master by this push:
       new  81862f3   INFRA-110 - Prepare Metadata Aggregator site.
81862f3 is described below

commit 81862f3ab2770d6d38964f4a8c48c7a1066cd995
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Mon May 16 14:45:21 2016 -0500

    INFRA-110 - Prepare Metadata Aggregator site.
    
    Add <description> to POMs.
    Add site distribution information to POMs.
    Add relative path to site descriptor in parent POM.
    Add "modules" menu to site descriptor.
    Add "Parent" menu item to site descriptor since default "parent" menu
    would include parent-v3 which is not being deployed at the moment.
    Override Git <scm> URLs in child modules, see MNG-5951.
---
 aggregator-cli/pom.xml              | 16 +++++++++++++++-
 aggregator-parent/pom.xml           | 35 +++++++++++++++++++++++++++++++++++
 aggregator-parent/src/site/site.xml |  4 ++++
 aggregator-pipeline/pom.xml         | 14 ++++++++++++++
 4 files changed, 68 insertions(+), 1 deletion(-)

diff --git a/aggregator-cli/pom.xml b/aggregator-cli/pom.xml
index 81736d3..957eaac 100644
--- a/aggregator-cli/pom.xml
+++ b/aggregator-cli/pom.xml
@@ -12,6 +12,7 @@
     </parent>
 
     <name>Shibboleth Metadata Aggregator :: Command Line Interface</name>
+    <description>Command Line Interface</description>
     <artifactId>aggregator-cli</artifactId>
     <packaging>jar</packaging>
 
@@ -76,5 +77,18 @@
             </plugin>        
         </plugins>
     </build>
-    
+
+    <distributionManagement>
+        <site>
+            <id>site</id>
+            <url>dav:${aggregator-module.site.url}</url>
+        </site>
+    </distributionManagement>
+
+    <scm>
+        <connection>scm:git:https://git.shibboleth.net/git/java-metadata-aggregator</connection>
+        <developerConnection>scm:git:git at git.shibboleth.net:java-metadata-aggregator</developerConnection>
+        <url>https://git.shibboleth.net/view/?p=java-metadata-aggregator.git</url>
+    </scm>
+
 </project>
\ No newline at end of file
diff --git a/aggregator-parent/pom.xml b/aggregator-parent/pom.xml
index 82a7780..ee934fa 100644
--- a/aggregator-parent/pom.xml
+++ b/aggregator-parent/pom.xml
@@ -33,6 +33,8 @@
         <java-support.version>7.2.0</java-support.version>
         <spring-extensions.version>5.2.0</spring-extensions.version>
         <checkstyle.configLocation>${project.basedir}/../aggregator-parent/resources/checkstyle/checkstyle.xml</checkstyle.configLocation>
+        <aggregator-parent.site.url>${shibboleth.site.url}java-metadata-aggregator/${project.version}/</aggregator-parent.site.url>
+        <aggregator-module.site.url>${aggregator-parent.site.url}${project.artifactId}</aggregator-module.site.url>
     </properties>
 
     <repositories>
@@ -52,6 +54,12 @@
         </repository>
     </repositories>
 
+    <scm>
+        <connection>scm:git:https://git.shibboleth.net/git/java-metadata-aggregator</connection>
+        <developerConnection>scm:git:git at git.shibboleth.net:java-metadata-aggregator</developerConnection>
+        <url>https://git.shibboleth.net/view/?p=java-metadata-aggregator.git</url>
+    </scm>
+
     <!-- Dependencies which are required by every single project module should go here and will be inherited by all modules. -->
     <dependencies>
         <!-- Compile Dependencies -->
@@ -100,4 +108,31 @@
         </dependencies>
     </dependencyManagement>
 
+    <distributionManagement>
+        <site>
+            <id>site</id>
+            <url>dav:${aggregator-parent.site.url}</url>
+        </site>
+    </distributionManagement>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-site-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>attach-descriptor</id>
+                        <goals>
+                            <goal>attach-descriptor</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <configuration>
+                    <siteDirectory>../aggregator-parent/src/site</siteDirectory>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
 </project>
diff --git a/aggregator-parent/src/site/site.xml b/aggregator-parent/src/site/site.xml
index 8068292..33430c4 100644
--- a/aggregator-parent/src/site/site.xml
+++ b/aggregator-parent/src/site/site.xml
@@ -6,6 +6,10 @@
 
     <body>
         <menu ref="reports" />
+        <menu name="Parent">
+            <item name="Metadata Aggregator" href="${aggregator-parent.site.url}" />
+        </menu>
+        <menu ref="modules" />
     </body>
 
 </project>
\ No newline at end of file
diff --git a/aggregator-pipeline/pom.xml b/aggregator-pipeline/pom.xml
index dbe5de0..59f0895 100644
--- a/aggregator-pipeline/pom.xml
+++ b/aggregator-pipeline/pom.xml
@@ -12,6 +12,7 @@
     </parent>
 
     <name>Shibboleth Metadata Aggregator :: Processing Pipeline</name>
+    <description>Processing Pipeline</description>
     <artifactId>aggregator-pipeline</artifactId>
     <packaging>jar</packaging>
 
@@ -106,4 +107,17 @@
         </plugins>
     </build>
 
+    <distributionManagement>
+        <site>
+            <id>site</id>
+            <url>dav:${aggregator-module.site.url}</url>
+        </site>
+    </distributionManagement>
+
+    <scm>
+        <connection>scm:git:https://git.shibboleth.net/git/java-metadata-aggregator</connection>
+        <developerConnection>scm:git:git at git.shibboleth.net:java-metadata-aggregator</developerConnection>
+        <url>https://git.shibboleth.net/view/?p=java-metadata-aggregator.git</url>
+    </scm>
+
 </project>

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


More information about the commits mailing list