Changing scm url and improving site generation
diff --git a/pom.xml b/pom.xml
index 6d606f1..b2a6c16 100644
--- a/pom.xml
+++ b/pom.xml
@@ -28,19 +28,23 @@
<name>Redback Spring Registry Component</name>
<packaging>pom</packaging>
- <url>http://archiva.apache.org/redback/components/${project.artifactId}</url>
+ <properties>
+ <scmBrowseUrl>https://gitbox.apache.org/repos/asf?a=tree;p=archiva-redback-components-spring-registry.git</scmBrowseUrl>
+ </properties>
+
+ <url>${webUrl}/${project.artifactId}</url>
<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/spring-registry/</connection>
- <developerConnection>scm:svn:https://svn.apache.org/repos/asf/archiva/redback/redback-components/trunk/spring-registry/</developerConnection>
- <url>http://svn.apache.org/viewvc/archiva/redback/redback-components/trunk/spring-registry</url>
+ <connection>scm:git:http://gitbox.apache.org/repos/asf/archiva-redback-components-spring-registry.git</connection>
+ <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/archiva-redback-components-spring-registry.git</developerConnection>
+ <url>${scmBrowseUrl}</url>
</scm>
<modules>
@@ -125,4 +129,22 @@
</pluginManagement>
</build>
+ <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/spring-registry-api/pom.xml b/spring-registry-api/pom.xml
index 90f21bd..fadf6b4 100644
--- a/spring-registry-api/pom.xml
+++ b/spring-registry-api/pom.xml
@@ -31,15 +31,19 @@
<packaging>bundle</packaging>
<name>Redback Spring Registry Api</name>
- <url>http://archiva.apache.org/redback/components/spring-registry/${project.artifactId}</url>
+ <url>${webUrl}/spring-registry/${project.artifactId}</url>
<distributionManagement>
<site>
<id>apache.website</id>
- <url>scm:svn:https://svn.apache.org/repos/asf/archiva/site-content/redback/components/spring-registry/${project.artifactId}</url>
+ <url>${siteUrl}/spring-registry/${project.artifactId}</url>
</site>
</distributionManagement>
+ <scm>
+ <url>${scmBrowseUrl};f=${project.artifactId}</url>
+ </scm>
+
<dependencies>
<dependency>
<groupId>org.codehaus.plexus</groupId>
diff --git a/spring-registry-commons/pom.xml b/spring-registry-commons/pom.xml
index da6c2da..764d226 100644
--- a/spring-registry-commons/pom.xml
+++ b/spring-registry-commons/pom.xml
@@ -31,15 +31,20 @@
<packaging>bundle</packaging>
<name>Redback Spring Registry commons-configuration</name>
- <url>http://archiva.apache.org/redback/components/spring-registry/${project.artifactId}</url>
+ <url>${webUrl}/spring-registry/${project.artifactId}</url>
<distributionManagement>
<site>
<id>apache.website</id>
- <url>scm:svn:https://svn.apache.org/repos/asf/archiva/site-content/redback/components/spring-registry/${project.artifactId}</url>
+ <url>${siteUrl}/spring-registry/${project.artifactId}</url>
</site>
</distributionManagement>
+ <scm>
+ <url>${scmBrowseUrl};f=${project.artifactId}</url>
+ </scm>
+
+
<dependencies>
<dependency>
<groupId>org.codehaus.plexus</groupId>
diff --git a/src/site/site.xml b/src/site/site.xml
new file mode 100644
index 0000000..654539b
--- /dev/null
+++ b/src/site/site.xml
@@ -0,0 +1,34 @@
+<?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
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "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
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+ -->
+
+<project name="Spring Registry Component" >
+
+ <publishDate format="yyyy-MM-dd" position="none" />
+
+ <body>
+ <menu ref="modules" />
+ <menu ref="reports" />
+ <menu ref="ASF" />
+ <breadcrumbs>
+ <item name="Redback Components" href="../index.html" />
+ <item name="Spring Registry" href="index.html" />
+ </breadcrumbs>
+ </body>
+</project>