Changing scm url and improving site generation
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..6f52bf1
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,9 @@
+.idea/**
+.project
+.classpath
+.settings
+.java-version
+target
+.DS_Store
+.site-content
+out
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..d73399d
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,121 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ 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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.archiva.redback.components</groupId>
+  <artifactId>redback-components-site</artifactId>
+  <packaging>pom</packaging>
+  <version>1.0-SNAPSHOT</version>
+  <name>Apache Archiva Redback Components Site</name>
+
+  <parent>
+  	<groupId>org.apache.archiva.redback.components</groupId>
+  	<artifactId>redback-components</artifactId>
+  	<version>2.5-SNAPSHOT</version>
+    	<relativePath>../parent/pom.xml</relativePath>
+  </parent>
+
+  <description>Utilities component used by Archiva.</description>
+  <url>${webUrl}/site</url>
+
+  <properties>
+    <scmPubCheckoutDirectory>.site-content</scmPubCheckoutDirectory>
+    <scmTryUpdate>true</scmTryUpdate>
+  </properties>
+
+  <distributionManagement>
+    <site>
+      <id>apache.website</id>
+      <url>${siteUrl}/</url>
+    </site>
+  </distributionManagement>
+
+  <modules>
+    <module>../spring-cache</module>
+    <module>../expression-evaluator</module>
+    <module>../spring-quartz</module>
+    <module>../spring-registry</module>
+    <module>../spring-taskqueue</module>
+    <module>../spring-apacheds</module>
+    <module>../spring-utils</module>
+    <module>../redback-features</module>
+    <module>../modello-plugins</module>
+  </modules>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-deploy-plugin</artifactId>
+        <inherited>false</inherited>
+        <configuration>
+          <skip>true</skip>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-scm-publish-plugin</artifactId>
+        <configuration>
+          <checkinComment>Apache Redback Components site deployment</checkinComment>
+          <tryUpdate>${scmTryUpdate}</tryUpdate>
+          <content>${project.build.directory}/staging</content>
+          <pubScmUrl>${siteUrl}</pubScmUrl>
+          <ignorePathsToDelete>
+            <ignorePathToDelete>expression-evaluator**</ignorePathToDelete>
+            <ignorePathToDelete>modello-plugins**</ignorePathToDelete>
+            <ignorePathToDelete>redback-components**</ignorePathToDelete>
+            <ignorePathToDelete>redback-features**</ignorePathToDelete>
+            <ignorePathToDelete>spring-apacheds**</ignorePathToDelete>
+            <ignorePathToDelete>spring-cache**</ignorePathToDelete>
+            <ignorePathToDelete>spring-jdo2**</ignorePathToDelete>
+            <ignorePathToDelete>spring-quartz**</ignorePathToDelete>
+            <ignorePathToDelete>spring-registry**</ignorePathToDelete>
+            <ignorePathToDelete>spring-taskqueue**</ignorePathToDelete>
+            <ignorePathToDelete>spring-utils**</ignorePathToDelete>
+          </ignorePathsToDelete>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
+  <repositories>
+    <repository>
+      <id>archiva.snapshots</id>
+      <name>Archiva VM Snapshots Repository</name>
+      <url>https://archiva-repository.apache.org/archiva/repository/snapshots</url>
+      <releases>
+        <enabled>false</enabled>
+      </releases>
+      <snapshots>
+        <enabled>true</enabled>
+      </snapshots>
+    </repository>
+
+  </repositories>
+
+  <reporting>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-project-info-reports-plugin</artifactId>
+        <version>${maven-project-info-reports-plugin.version}</version>
+      </plugin>
+    </plugins>
+  </reporting>
+</project>
diff --git a/src/site/site.xml b/src/site/site.xml
new file mode 100644
index 0000000..774d0b5
--- /dev/null
+++ b/src/site/site.xml
@@ -0,0 +1,60 @@
+<?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="Redback Components" >
+
+  <bannerLeft>
+    <name>Apache Archiva</name>
+    <src>http://archiva.apache.org/images/archiva.png</src>
+    <!-- have to add the index.html to get the right location, due to bug in Doxia. Still not correct for subdirectories though -->
+    <href>http://archiva.apache.org/index.html</href>
+  </bannerLeft>
+  <bannerRight>
+    <name>Apache Software Foundation</name>
+    <src>http://www.apache.org/images/asf_logo_wide.png</src>
+    <href>http://www.apache.org/</href>
+  </bannerRight>
+
+  <custom>
+    <fluidoSkin>
+      <topBarEnabled>true</topBarEnabled>
+      <sideBarEnabled>false</sideBarEnabled>
+      <skipGenerationDate>true</skipGenerationDate>
+      <googleSearch>
+        <sitesearch>http://archiva.apache.org/redback/components</sitesearch>
+      </googleSearch>
+    </fluidoSkin>
+  </custom>
+
+  <publishDate format="yyyy-MM-dd" position="none" />
+
+  <body>
+    <links>
+      <item name="Archiva" href="../../index.html"/>
+    </links>
+
+    <menu ref="modules" />
+    <menu ref="reports" />
+    <menu ref="ASF" />
+    <breadcrumbs>
+      <item name="Archiva" href="../../index.html" />
+    </breadcrumbs>
+  </body>
+</project>