tamaya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ple...@apache.org
Subject incubator-tamaya git commit: Added site.xml for Maven Site Plugin. We will use the Reflow Skin.
Date Tue, 25 Aug 2015 21:14:47 GMT
Repository: incubator-tamaya
Updated Branches:
  refs/heads/master 0319f3b13 -> 24f81c477


Added site.xml for Maven Site Plugin. We will use the Reflow Skin.


Project: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/commit/24f81c47
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/tree/24f81c47
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/diff/24f81c47

Branch: refs/heads/master
Commit: 24f81c477ae792d6ad42529addd9b829d6bb6a1f
Parents: 0319f3b
Author: Oliver B. Fischer <plexus@apache.org>
Authored: Tue Aug 25 23:14:39 2015 +0200
Committer: Oliver B. Fischer <plexus@apache.org>
Committed: Tue Aug 25 23:14:39 2015 +0200

----------------------------------------------------------------------
 pom.xml           | 24 ++++++++++++++++++++++++
 src/site/site.xml | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/24f81c47/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index ce86508..e627843 100644
--- a/pom.xml
+++ b/pom.xml
@@ -78,6 +78,11 @@ under the License.
         <mockito.version>1.10.19</mockito.version>
         <rat.version>0.11</rat.version>
         <toolchains.plugin>1.1</toolchains.plugin>
+
+        <!-- Dependencies for site generation -->
+        <reflow-skin.version>1.1.1</reflow-skin.version>
+
+
     </properties>
 
     <licenses>
@@ -481,6 +486,25 @@ under the License.
                     <artifactId>maven-site-plugin</artifactId>
                     <version>3.4</version>
                     <inherited>true</inherited>
+                    <dependencies>
+                        <dependency><!-- add support for ssh/scp -->
+                            <groupId>org.apache.maven.wagon</groupId>
+                            <artifactId>wagon-ssh</artifactId>
+                            <version>1.0</version>
+                        </dependency>
+
+                        <dependency>
+                            <groupId>lt.velykis.maven.skins</groupId>
+                            <artifactId>reflow-velocity-tools</artifactId>
+                            <version>${reflow-skin.version}</version>
+                        </dependency>
+                        <!-- Reflow skin requires Velocity >= 1.7  -->
+                        <dependency>
+                            <groupId>org.apache.velocity</groupId>
+                            <artifactId>velocity</artifactId>
+                            <version>1.7</version>
+                        </dependency>
+                    </dependencies>
                 </plugin>
             </plugins>
         </pluginManagement>

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/24f81c47/src/site/site.xml
----------------------------------------------------------------------
diff --git a/src/site/site.xml b/src/site/site.xml
new file mode 100644
index 0000000..8f33b88
--- /dev/null
+++ b/src/site/site.xml
@@ -0,0 +1,50 @@
+<!--
+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/DECORATION/1.6.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/DECORATION/1.6.0 http://maven.apache.org/xsd/decoration-1.6.0.xsd"
+         name="Apache Tamaya">
+
+    <skin>
+        <groupId>lt.velykis.maven.skins</groupId>
+        <artifactId>reflow-maven-skin</artifactId>
+        <version>${reflow-skin.version}</version>
+    </skin>
+
+    <body>
+        <menu ref="parent"  inherit="top" />
+        <menu ref="reports" inherit="bottom"/>
+        <menu ref="modules" inherit="bottom"/>
+    </body>
+
+
+
+    <custom>
+        <reflowSkin>
+
+            <!-- Brand on the top left menu bar -->
+            <brand>
+                <name>Apache Tamaya</name>
+                <href>index.html</href>
+            </brand>
+
+            <theme>bootswatch-cosmo</theme>
+        </reflowSkin>
+    </custom>
+</project>
\ No newline at end of file


Mime
View raw message