JAMES-1831 Use james-skin for rendering website

Project: http://git-wip-us.apache.org/repos/asf/james-mime4j/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-mime4j/commit/cb48082f
Tree: http://git-wip-us.apache.org/repos/asf/james-mime4j/tree/cb48082f
Diff: http://git-wip-us.apache.org/repos/asf/james-mime4j/diff/cb48082f

Branch: refs/heads/master
Commit: cb48082fb7cbbfb111c926cc8ae953d7261c235c
Parents: 6b20d69
Author: benwa <btell...@linagora.com>
Authored: Thu Oct 6 23:55:55 2016 +0200
Committer: benwa <btell...@linagora.com>
Committed: Thu Oct 20 15:54:21 2016 +0200

----------------------------------------------------------------------
 pom.xml           |   2 +
 src/site/site.xml | 141 +++++++++++++++++++++++++++++++++++++++++--------
 2 files changed, 121 insertions(+), 22 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-mime4j/blob/cb48082f/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index f4998c3..354e2ec 100644
--- a/pom.xml
+++ b/pom.xml
@@ -66,6 +66,8 @@
     </distributionManagement>
 
     <properties>
+        <james-skin.version>1.8</james-skin.version>
+
         <target.jdk>1.5</target.jdk>
         <commons-logging.version>1.1.1</commons-logging.version>
         <log4j.version>1.2.14</log4j.version>

http://git-wip-us.apache.org/repos/asf/james-mime4j/blob/cb48082f/src/site/site.xml
----------------------------------------------------------------------
diff --git a/src/site/site.xml b/src/site/site.xml
index 2ec51ae..beba0f1 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -19,6 +19,12 @@
 -->
 <project name="Apache James Mime4J">
 
+    <skin>
+        <groupId>org.apache.james</groupId>
+        <artifactId>james-skin</artifactId>
+        <version>${james-skin.version}</version>
+    </skin>
+
     <bannerLeft>
         <name>JAMES Mime4J</name>
         <src>images/james-logo.png</src>
@@ -26,26 +32,117 @@
         <alt>james-logo.png</alt>
     </bannerLeft>
 
-  <body>
-    <menu name="Documentation">
-      <item name="Overview" href="/index.html"/>
-      <item name="Status" href="/status.html"/>
-      <item name="Example" href="/samples.html"/>
-      <item name="Usage" href="/usage.html"/>
-    </menu>
-    
-    <menu name="Developers Corner">
-      <item name="Download" href="/start/download.html" />
-      <item name="Build" href="/start/build.html" />
-    </menu>
-    
-    <menu name="References">
-      <item name="Javadoc" href="/apidocs/index.html" />
-      <item name="Issue Tracker" 
href="http://issues.apache.org/jira/browse/MIME4J/"; />
-    </menu>
-
-    <menu name="Related Projects">
-       <item name="httpmime" 
href="http://hc.apache.org/httpcomponents-client/httpmime/index.html"; />
-    </menu>
-  </body>
+    <bannerRight>
+        <name>The Apache Software Foundation</name>
+        <src>images/logos/asf_logo_small.png</src>
+        <href>http://www.apache.org/index.html</href>
+    </bannerRight>
+
+
+    <body>
+        <links>
+            <item
+                    name="Home"
+                    href="http://james.apache.org/index.html"; />
+            <item
+                    name="Server"
+                    href="http://james.apache.org/server/index.html"; />
+            <item
+                    name="Hupa"
+                    href="http://james.apache.org/hupa/index.html"; />
+            <item
+                    name="Protocols"
+                    href="http://james.apache.org/protocols/index.html"; />
+            <item
+                    name="Mailets"
+                    href="http://james.apache.org/mailet/index.html"; />
+            <item
+                    name="Mailbox"
+                    href="http://james.apache.org/mailbox/index.html"; />
+            <item
+                    name="Mime4J"
+                    href="http://james.apache.org/mime4j/index.html"; />
+            <item
+                    name="jSieve"
+                    href="http://james.apache.org/jsieve/index.html"; />
+            <item
+                    name="jSPF"
+                    href="http://james.apache.org/jspf/index.html"; />
+            <item
+                    name="jDKIM"
+                    href="http://james.apache.org/jdkim/index.html"; />
+            <item
+                    name="MPT"
+                    href="http://james.apache.org/mpt/index.html"; />
+            <item
+                    name="Postage"
+                    href="http://james.apache.org/postage/index.html"; />
+        </links>
+
+
+        <menu name="Documentation">
+            <item name="Overview" href="/index.html"/>
+            <item name="Status" href="/status.html"/>
+            <item name="Example" href="/samples.html"/>
+            <item name="Usage" href="/usage.html"/>
+        </menu>
+
+        <menu name="Developers Corner">
+            <item name="Download" href="/start/download.html" />
+            <item name="Build" href="/start/build.html" />
+        </menu>
+
+        <menu name="References">
+            <item name="Javadoc" href="/apidocs/index.html" />
+            <item name="Issue Tracker" 
href="http://issues.apache.org/jira/browse/MIME4J/"; />
+        </menu>
+
+        <menu name="Related Projects">
+            <item name="httpmime" 
href="http://hc.apache.org/httpcomponents-client/httpmime/index.html"; />
+        </menu>
+
+        <menu
+                name="About James"
+                inherit="bottom">
+            <item
+                    name="Overview"
+                    href="/index.html" />
+            <item
+                    name="News"
+                    href="/newsarchive.html" />
+            <item
+                    name="Mailing Lists"
+                    href="/mail.html" />
+            <item
+                    name="Contributing"
+                    href="/contribute.html" />
+            <item
+                    name="Guidelines"
+                    href="/guidelines.html" />
+            <item
+                    name="Wiki"
+                    href="http://wiki.apache.org/james"; />
+            <item
+                    name="Who We Are"
+                    href="/team-list.html" />
+            <item
+                    name="License"
+                    href="/license.html" />
+            <item
+                    name="Thanks"
+                    href="/thanks.html" />
+            <item
+                    name="Professional support"
+                    href="/support.html" />
+        </menu>
+
+        <menu
+                name="Download"
+                inherit="bottom">
+            <item
+                    name="Releases"
+                    href="http://james.apache.org/download.cgi"; />
+        </menu>
+
+    </body>
 </project>


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to