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

Ian Young ian at iay.org.uk
Tue Dec 17 08:24:49 EST 2019


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

iay pushed a commit to branch maint-0.9
in repository java-metadata-aggregator.

View the commit online:
http://git.shibboleth.net/view/?p=java-metadata-aggregator.git;a=commit;h=35b9d8f446279663bd80f1f915f0ecac4cdd7670

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

commit 35b9d8f446279663bd80f1f915f0ecac4cdd7670
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 006c1a4..bc1d4ed 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 ec7ab9c..b996344 100644
--- a/aggregator-parent/pom.xml
+++ b/aggregator-parent/pom.xml
@@ -33,6 +33,8 @@
         <java-support.version>7.4.3-SNAPSHOT</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 -->
@@ -113,4 +121,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 a614d9c..a6bd222 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>
 
@@ -111,4 +112,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