Author: dennisl
Date: Sun Dec 30 16:22:34 2007
New Revision: 607629

URL: http://svn.apache.org/viewvc?rev=607629&view=rev
Log:
o Add a site.xml file.
o Move the ManifestSections to its own page under examples.

Added:
    maven/shared/trunk/maven-archiver/src/site/site.xml   (with props)
    maven/shared/trunk/maven-archiver/src/site/xdoc/examples/
    
maven/shared/trunk/maven-archiver/src/site/xdoc/examples/manifestSections.xml   
(with props)
Modified:
    maven/shared/trunk/maven-archiver/src/site/xdoc/index.xml

Added: maven/shared/trunk/maven-archiver/src/site/site.xml
URL: 
http://svn.apache.org/viewvc/maven/shared/trunk/maven-archiver/src/site/site.xml?rev=607629&view=auto
==============================================================================
--- maven/shared/trunk/maven-archiver/src/site/site.xml (added)
+++ maven/shared/trunk/maven-archiver/src/site/site.xml Sun Dec 30 16:22:34 2007
@@ -0,0 +1,67 @@
+<?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>
+  <!-- TODO: Most of the stuff in this file should be inherited from the 
shared parent -->
+  <!-- TODO: banners, skin, publish date, version should be inherited from 
Maven itself -->
+  <bannerLeft>
+    <name>${project.name}</name>
+    <src>http://maven.apache.org/images/apache-maven-project-2.png</src>
+    <href>http://maven.apache.org/</href>
+  </bannerLeft>
+  <bannerRight>
+    <src>http://maven.apache.org/images/maven-logo-2.gif</src>
+  </bannerRight>
+  <skin>
+    <groupId>org.apache.maven.skins</groupId>
+    <artifactId>maven-stylus-skin</artifactId>
+  </skin>
+  <publishDate format="dd MMM yyyy" position="left" />
+  <version position="left" />
+  <body>
+    <menu name="Overview">
+      <item name="Reference" href="index.html"/>
+    </menu>
+    <menu name="Examples">
+      <item name="Manifest Sections" href="examples/manifestSections.html"/>
+    </menu>
+    <!-- TODO: Link, head, reports should be inherited -->
+    <!-- TODO: use breadcrumbs more structure, links for links, and inherit 
subprojects as a menu or not at all -->
+    <links>
+      <item name="Apache" href="http://www.apache.org/"/>
+      <item name="Maven 1.x" href="http://maven.apache.org/maven-1.x"/>
+      <item name="Maven 2.x" href="http://maven.apache.org/"/>
+      <item name="Maven 2.x Plugins" href="http://maven.apache.org/plugins/"/>
+      <item name="Continuum" href="http://maven.apache.org/continuum"/>
+      <item name="SCM" href="http://maven.apache.org/scm"/>
+      <item name="Wagon" href="http://maven.apache.org/wagon"/>
+      <item name="JXR" href="http://maven.apache.org/jxr"/>
+      <item name="Doxia" href="http://maven.apache.org/doxia"/>
+    </links>
+    <head>
+      <script src="http://www.google-analytics.com/urchin.js"; 
type="text/javascript">
+      </script>
+      <script type="text/javascript">
+        _uacct = "UA-140879-1";
+        urchinTracker();
+      </script>
+    </head>
+    <menu ref="reports" inherit="bottom" />
+  </body>
+</project>

Propchange: maven/shared/trunk/maven-archiver/src/site/site.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/shared/trunk/maven-archiver/src/site/site.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author Id

Added: 
maven/shared/trunk/maven-archiver/src/site/xdoc/examples/manifestSections.xml
URL: 
http://svn.apache.org/viewvc/maven/shared/trunk/maven-archiver/src/site/xdoc/examples/manifestSections.xml?rev=607629&view=auto
==============================================================================
--- 
maven/shared/trunk/maven-archiver/src/site/xdoc/examples/manifestSections.xml 
(added)
+++ 
maven/shared/trunk/maven-archiver/src/site/xdoc/examples/manifestSections.xml 
Sun Dec 30 16:22:34 2007
@@ -0,0 +1,61 @@
+<?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.
+-->
+<document>
+  <properties>
+    <title>Manifest Sections</title>
+    <author email="[EMAIL PROTECTED]">Olivier Lamy</author>
+    <author email="[EMAIL PROTECTED]">Dennis Lundberg</author>
+  </properties>
+  <body>
+    <section name="Manifest Sections">
+      <p>
+        The <code>&lt;manifestSections&gt;</code> element provides a way to
+        add custom manifest sections. It contains a list of
+        <code>&lt;<a 
href="../index.html#class_manifestSection">manifestSection</a>&gt;</code>
+        elements.
+      </p>
+      <p>Given this configuration:</p>
+      <source>
+<![CDATA[<manifestSections>
+  <manifestSection>
+    <name>foo</name>
+    <manifestEntries>
+      <id>nice foo</id>
+    </manifestEntries>
+  </manifestSection>
+  <manifestSection>
+    <name>bar</name>
+    <manifestEntries>
+      <id>nice bar</id>
+    </manifestEntries>
+  </manifestSection>
+</manifestSections>]]>
+      </source>
+      <p>The following content will end up in the manifest:</p>
+      <source>
+Name: foo
+id: nice foo
+
+Name: bar
+id: nice bar
+      </source>
+    </section>
+  </body>
+</document>
\ No newline at end of file

Propchange: 
maven/shared/trunk/maven-archiver/src/site/xdoc/examples/manifestSections.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
maven/shared/trunk/maven-archiver/src/site/xdoc/examples/manifestSections.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author Id

Modified: maven/shared/trunk/maven-archiver/src/site/xdoc/index.xml
URL: 
http://svn.apache.org/viewvc/maven/shared/trunk/maven-archiver/src/site/xdoc/index.xml?rev=607629&r1=607628&r2=607629&view=diff
==============================================================================
--- maven/shared/trunk/maven-archiver/src/site/xdoc/index.xml (original)
+++ maven/shared/trunk/maven-archiver/src/site/xdoc/index.xml Sun Dec 30 
16:22:34 2007
@@ -19,7 +19,7 @@
 -->
 <document>
   <properties>
-    <title>Maven Archiver Home Page</title>
+    <title>Reference</title>
     <author email="[EMAIL PROTECTED]">Olivier Lamy</author>
     <author email="[EMAIL PROTECTED]">Dennis Lundberg</author>
   </properties>
@@ -260,43 +260,8 @@
         </table>
       </subsection>
 
-      <a name="exampleManifestSections"/>
-      <subsection name="Example of ManifestSections">
-        <p>
-          The <code>&lt;manifestSections&gt;</code> element provide a way to
-          add custom manifest sections. It contains a list of
-          <code>&lt;<a 
href="#class_manifestSection">manifestSection</a>&gt;</code>
-          elements.
-        </p>
-        <p>Given this configuration:</p>
-        <source>
-<![CDATA[<manifestSections>
-  <manifestSection>
-    <name>foo</name>
-    <manifestEntries>
-      <id>nice foo</id>
-    </manifestEntries>
-  </manifestSection>
-  <manifestSection>
-    <name>bar</name>
-    <manifestEntries>
-      <id>nice bar</id>
-    </manifestEntries>
-  </manifestSection>
-</manifestSections>]]>
-        </source>
-        <p>The following content will end up in the manifest:</p>
-        <source>
-Name: foo
-id: nice foo
-
-Name: bar
-id: nice bar
-        </source>
-      </subsection>
-
+      <a name="pom-properties-content"/>
       <subsection name="pom.properties content">
-        <a name="pom-properties-content"/>
         <p>
           The auto generated <code>pom.properties</code> file will contain the
           following content:


Reply via email to