Changing scm url and improving site generation
diff --git a/jpox-modello-maven-plugin/pom.xml b/jpox-modello-maven-plugin/pom.xml
index c8c5d19..183ec47 100644
--- a/jpox-modello-maven-plugin/pom.xml
+++ b/jpox-modello-maven-plugin/pom.xml
@@ -30,14 +30,18 @@
<name>Jpox Modello Maven Plugin</name>
- <url>http://archiva.apache.org/redback/components/modello-plugins/${project.artifactId}</url>
+ <url>${webUrl}/modello-plugins/${project.artifactId}</url>
<distributionManagement>
<site>
<id>apache.website</id>
- <url>scm:svn:https://svn.apache.org/repos/asf/archiva/site-content/redback/components/modello-plugins/${project.artifactId}</url>
+ <url>${siteUrl}/modello-plugins/${project.artifactId}</url>
</site>
</distributionManagement>
+ <scm>
+ <url>${scmBrowseUrl};f=${project.artifactId}</url>
+ </scm>
+
<dependencies>
<dependency>
diff --git a/modello-db-keywords/pom.xml b/modello-db-keywords/pom.xml
index a52f2c2..6a53a14 100644
--- a/modello-db-keywords/pom.xml
+++ b/modello-db-keywords/pom.xml
@@ -28,15 +28,18 @@
<name>Modello Database Keywords Library</name>
<packaging>jar</packaging>
- <url>http://archiva.apache.org/redback/components/modello-plugins/${project.artifactId}</url>
+ <url>${webUrl}/modello-plugins/${project.artifactId}</url>
<distributionManagement>
<site>
<id>apache.website</id>
- <url>scm:svn:https://svn.apache.org/repos/asf/archiva/site-content/redback/components/modello-plugins/${project.artifactId}</url>
+ <url>${siteUrl}/modello-plugins/${project.artifactId}</url>
</site>
</distributionManagement>
+ <scm>
+ <url>${scmBrowseUrl};f=${project.artifactId}</url>
+ </scm>
<dependencies>
<dependency>
diff --git a/modello-plugin-jpox/pom.xml b/modello-plugin-jpox/pom.xml
index addc693..c3dae3b 100644
--- a/modello-plugin-jpox/pom.xml
+++ b/modello-plugin-jpox/pom.xml
@@ -28,15 +28,18 @@
<name>Modello JPox Plugin</name>
<packaging>jar</packaging>
- <url>http://archiva.apache.org/redback/components/modello-plugins/${project.artifactId}</url>
+ <url>${webUrl}/modello-plugins/${project.artifactId}</url>
<distributionManagement>
<site>
<id>apache.website</id>
- <url>scm:svn:https://svn.apache.org/repos/asf/archiva/site-content/redback/components/modello-plugins/${project.artifactId}</url>
+ <url>${siteUrl}/modello-plugins/${project.artifactId}</url>
</site>
</distributionManagement>
+ <scm>
+ <url>${scmBrowseUrl};f=${project.artifactId}</url>
+ </scm>
<dependencies>
<dependency>
diff --git a/modello-plugin-redback-registry/pom.xml b/modello-plugin-redback-registry/pom.xml
index d8b3b35..450ea15 100644
--- a/modello-plugin-redback-registry/pom.xml
+++ b/modello-plugin-redback-registry/pom.xml
@@ -29,15 +29,18 @@
<artifactId>modello-plugin-redback-registry</artifactId>
<name>Redback Registry Reader/Writer</name>
- <url>http://archiva.apache.org/redback/components/modello-plugins/${project.artifactId}</url>
+ <url>${webUrl}/modello-plugins/${project.artifactId}</url>
<distributionManagement>
<site>
<id>apache.website</id>
- <url>scm:svn:https://svn.apache.org/repos/asf/archiva/site-content/redback/components/modello-plugins/${project.artifactId}</url>
+ <url>${siteUrl}/modello-plugins/${project.artifactId}</url>
</site>
</distributionManagement>
+ <scm>
+ <url>${scmBrowseUrl};f=${project.artifactId}</url>
+ </scm>
<dependencies>
<dependency>
diff --git a/modello-plugin-store/pom.xml b/modello-plugin-store/pom.xml
index 65d710e..9aa28ba 100644
--- a/modello-plugin-store/pom.xml
+++ b/modello-plugin-store/pom.xml
@@ -31,10 +31,13 @@
<distributionManagement>
<site>
<id>apache.website</id>
- <url>scm:svn:https://svn.apache.org/repos/asf/archiva/site-content/redback/components/modello-plugins/${project.artifactId}</url>
+ <url>${siteUrl}/modello-plugins/${project.artifactId}</url>
</site>
</distributionManagement>
+ <scm>
+ <url>${scmBrowseUrl};f=${project.artifactId}</url>
+ </scm>
<dependencies>
<dependency>
@@ -58,4 +61,4 @@
</exclusions>
</dependency>
</dependencies>
-</project>
\ No newline at end of file
+</project>
diff --git a/pom.xml b/pom.xml
index 38e565d..2bd8bef 100644
--- a/pom.xml
+++ b/pom.xml
@@ -34,27 +34,28 @@
<packaging>pom</packaging>
<name>Modello Plugins</name>
- <url>http://archiva.apache.org/redback/components/${project.artifactId}</url>
-
- <description>Modello extensions used by Archiva and Continuum.</description>
-
<properties>
+ <scmBrowseUrl>https://gitbox.apache.org/repos/asf?a=tree;p=archiva-redback-components-modello-plugins.git</scmBrowseUrl>
<modelloVersion>1.7</modelloVersion>
</properties>
+ <scm>
+ <connection>scm:git:http://gitbox.apache.org/repos/asf/archiva-redback-components-modello-plugins.git</connection>
+ <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/archiva-redback-components-modello-plugins.git</developerConnection>
+ <url>${scmBrowseUrl}</url>
+ </scm>
+
+
+ <url>${webUrl}/${project.artifactId}</url>
+
+ <description>Modello extensions used by Archiva and Continuum.</description>
<distributionManagement>
<site>
<id>apache.website</id>
- <url>scm:svn:https://svn.apache.org/repos/asf/archiva/site-content/redback/components/${project.artifactId}</url>
+ <url>${siteUrl}/${project.artifactId}</url>
</site>
</distributionManagement>
- <scm>
- <connection>scm:svn:http://svn.apache.org/repos/asf/archiva/redback/redback-components/trunk/modello-plugins</connection>
- <developerConnection>scm:svn:https://svn.apache.org/repos/asf/archiva/redback/redback-components/trunk/modello-plugins</developerConnection>
- <url>http://svn.apache.org/viewvc/archiva/redback/redback-components/trunk/modello-plugins</url>
- </scm>
-
<modules>
<module>modello-db-keywords</module>
<module>modello-plugin-store</module>
@@ -95,4 +96,23 @@
</dependencies>
</dependencyManagement>
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jxr-plugin</artifactId>
+ <reportSets>
+ <reportSet>
+ <id>aggregate</id>
+ <inherited>false</inherited>
+ <reports>
+ <report>aggregate</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </plugin>
+ </plugins>
+ </reporting>
+
+
</project>
diff --git a/src/site/site.xml b/src/site/site.xml
index 33cb04d..def4824 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8"?>
+<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Licensed to the Apache Software Foundation (ASF) under one
~ or more contributor license agreements. See the NOTICE file
@@ -8,7 +8,7 @@
~ "License"); you may not use this file except in compliance
~ with the License. You may obtain a copy of the License at
~
- ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing,
~ software distributed under the License is distributed on an
@@ -17,12 +17,18 @@
~ specific language governing permissions and limitations
~ under the License.
-->
-<project name="Modello Extensions">
- <publishDate format="dd MMM yyyy" position="left" />
- <version position="left" />
+<project name="Modello Plugins Component" >
+
+ <publishDate format="yyyy-MM-dd" position="none" />
+
<body>
- <menu ref="parent" />
<menu ref="modules" />
+ <menu ref="reports" />
+ <menu ref="ASF" />
+ <breadcrumbs>
+ <item name="Redback Components" href="../index.html" />
+ <item name="Modello Plugins" href="index.html" />
+ </breadcrumbs>
</body>
</project>