You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2012/08/22 09:38:54 UTC

svn commit: r1375914 - in /maven/skins/trunk/maven-fluido-skin: ./ src/it/topbar-inverse/ src/it/topbar-inverse/src/ src/it/topbar-inverse/src/site/ src/it/topbar-inverse/src/site/apt/ src/it/topbar-inverse/src/site/resources/ src/it/topbar-inverse/src...

Author: olamy
Date: Wed Aug 22 07:38:53 2012
New Revision: 1375914

URL: http://svn.apache.org/viewvc?rev=1375914&view=rev
Log:
add it sample to configure use of navbar-inverse style

Added:
    maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/
    maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/pom.xml   (with props)
    maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/
    maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/
    maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/apt/
    maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/apt/bar.apt.vm   (with props)
    maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/apt/beer.apt.vm   (with props)
    maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/apt/foo.apt.vm   (with props)
    maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/apt/index.apt.vm   (with props)
    maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/apt/wine.apt.vm   (with props)
    maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/resources/
    maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/resources/images/
    maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/resources/images/topbar-logo.png   (with props)
    maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/site.xml
      - copied, changed from r1375913, maven/skins/trunk/maven-fluido-skin/src/it/topbar/src/site/site.xml
Modified:
    maven/skins/trunk/maven-fluido-skin/pom.xml
    maven/skins/trunk/maven-fluido-skin/src/it/topbar/src/site/site.xml

Modified: maven/skins/trunk/maven-fluido-skin/pom.xml
URL: http://svn.apache.org/viewvc/maven/skins/trunk/maven-fluido-skin/pom.xml?rev=1375914&r1=1375913&r2=1375914&view=diff
==============================================================================
--- maven/skins/trunk/maven-fluido-skin/pom.xml (original)
+++ maven/skins/trunk/maven-fluido-skin/pom.xml Wed Aug 22 07:38:53 2012
@@ -248,6 +248,21 @@
                 </configuration>
               </execution>
               <execution>
+                <id>copy-topbar-inverse</id>
+                <phase>site</phase>
+                <goals>
+                  <goal>copy-resources</goal>
+                </goals>
+                <configuration>
+                  <resources>
+                    <resource>
+                      <directory>${project.build.directory}/it/topbar-inverse/target/site/</directory>
+                    </resource>
+                  </resources>
+                  <outputDirectory>${project.build.directory}/site/topbar-inverse/</outputDirectory>
+                </configuration>
+              </execution>
+              <execution>
                 <id>copy-mskins-10</id>
                 <phase>site</phase>
                 <goals>

Added: maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/pom.xml
URL: http://svn.apache.org/viewvc/maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/pom.xml?rev=1375914&view=auto
==============================================================================
--- maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/pom.xml (added)
+++ maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/pom.xml Wed Aug 22 07:38:53 2012
@@ -0,0 +1,93 @@
+<?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/xsd/maven-4.0.0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.apache.maven</groupId>
+    <artifactId>maven-parent</artifactId>
+    <version>21</version>
+  </parent>
+
+  <groupId>org.apache.maven.skins.its</groupId>
+  <artifactId>@project.artifactId@-topbar-inverse</artifactId>
+  <version>1.0-SNAPSHOT</version>
+  <packaging>jar</packaging>
+
+  <name>@project.artifactId@ IT, topbar layout</name>
+  <url>http://maven.apache.org/skins/@project.artifactId@/topbar-inverse/</url>
+
+  <properties>
+    <skinName>@project.name@</skinName>
+    <skinDescription>@project.description@</skinDescription>
+    <skinGroupId>@project.groupId@</skinGroupId>
+    <skinArtifactId>@project.artifactId@</skinArtifactId>
+    <skinVersion>@project.version@</skinVersion>
+  </properties>
+
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.2</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-site-plugin</artifactId>
+        <version>3.1</version>
+      </plugin>
+    </plugins>
+  </build>
+
+  <reporting>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-project-info-reports-plugin</artifactId>
+        <version>2.4</version>
+        <configuration>
+          <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
+          <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
+        </configuration>
+        <reportSets>
+          <reportSet>
+            <reports>
+              <report>index</report>
+              <report>summary</report>
+              <report>license</report>
+              <report>project-team</report>
+              <report>scm</report>
+              <report>issue-tracking</report>
+              <report>mailing-list</report>
+              <report>dependencies</report>
+              <report>cim</report>
+              <report>plugin-management</report>
+              <report>plugins</report>
+            </reports>
+          </reportSet>
+        </reportSets>
+      </plugin>
+    </plugins>
+  </reporting>
+
+</project>

Propchange: maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/apt/bar.apt.vm
URL: http://svn.apache.org/viewvc/maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/apt/bar.apt.vm?rev=1375914&view=auto
==============================================================================
--- maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/apt/bar.apt.vm (added)
+++ maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/apt/bar.apt.vm Wed Aug 22 07:38:53 2012
@@ -0,0 +1,19 @@
+ ------
+ ${project.name}
+ ------
+ Hervé Boutemy
+ ------
+ 2011-10-15
+ ------
+
+${project.name}
+
+ This is a test for ${skinName} with topbar enabled, sidebar disabled and Google Search.
+
+ bar.html
+
+ ${skinDescription}
+
+* Actual configuration
+
+%{snippet|id=skin-custom-config|file=${project.basedir}/src/site/site.xml}

Propchange: maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/apt/bar.apt.vm
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/apt/bar.apt.vm
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/apt/beer.apt.vm
URL: http://svn.apache.org/viewvc/maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/apt/beer.apt.vm?rev=1375914&view=auto
==============================================================================
--- maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/apt/beer.apt.vm (added)
+++ maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/apt/beer.apt.vm Wed Aug 22 07:38:53 2012
@@ -0,0 +1,19 @@
+ ------
+ ${project.name}
+ ------
+ Hervé Boutemy
+ ------
+ 2011-10-15
+ ------
+
+${project.name}
+
+ This is a test for ${skinName} with topbar enabled, sidebar disabled and Google Search.
+
+ beer.html
+
+ ${skinDescription}
+
+* Actual configuration
+
+%{snippet|id=skin-custom-config|file=${project.basedir}/src/site/site.xml}

Propchange: maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/apt/beer.apt.vm
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/apt/beer.apt.vm
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/apt/foo.apt.vm
URL: http://svn.apache.org/viewvc/maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/apt/foo.apt.vm?rev=1375914&view=auto
==============================================================================
--- maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/apt/foo.apt.vm (added)
+++ maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/apt/foo.apt.vm Wed Aug 22 07:38:53 2012
@@ -0,0 +1,19 @@
+ ------
+ ${project.name}
+ ------
+ Hervé Boutemy
+ ------
+ 2011-10-15
+ ------
+
+${project.name}
+
+ This is a test for ${skinName} with topbar enabled, sidebar disabled and Google Search.
+
+ foo.html
+
+ ${skinDescription}
+
+* Actual configuration
+
+%{snippet|id=skin-custom-config|file=${project.basedir}/src/site/site.xml}

Propchange: maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/apt/foo.apt.vm
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/apt/foo.apt.vm
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/apt/index.apt.vm
URL: http://svn.apache.org/viewvc/maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/apt/index.apt.vm?rev=1375914&view=auto
==============================================================================
--- maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/apt/index.apt.vm (added)
+++ maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/apt/index.apt.vm Wed Aug 22 07:38:53 2012
@@ -0,0 +1,19 @@
+ ------
+ ${project.name}
+ ------
+ Hervé Boutemy
+ ------
+ 2011-10-15
+ ------
+
+${project.name}
+
+ This is a test for ${skinName} with topbar enabled, sidebar disabled and Google Search.
+ ${skinDescription}
+
+ topbar width configured with navBarStyle to navbar-inverse.
+
+
+* Actual configuration
+
+%{snippet|id=skin-custom-config|file=${project.basedir}/src/site/site.xml}

Propchange: maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/apt/index.apt.vm
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/apt/index.apt.vm
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/apt/wine.apt.vm
URL: http://svn.apache.org/viewvc/maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/apt/wine.apt.vm?rev=1375914&view=auto
==============================================================================
--- maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/apt/wine.apt.vm (added)
+++ maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/apt/wine.apt.vm Wed Aug 22 07:38:53 2012
@@ -0,0 +1,19 @@
+ ------
+ ${project.name}
+ ------
+ Hervé Boutemy
+ ------
+ 2011-10-15
+ ------
+
+${project.name}
+
+ This is a test for ${skinName} with topbar enabled, sidebar disabled and Google Search.
+
+ wine.html
+
+ ${skinDescription}
+
+* Actual configuration
+
+%{snippet|id=skin-custom-config|file=${project.basedir}/src/site/site.xml}

Propchange: maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/apt/wine.apt.vm
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/apt/wine.apt.vm
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/resources/images/topbar-logo.png
URL: http://svn.apache.org/viewvc/maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/resources/images/topbar-logo.png?rev=1375914&view=auto
==============================================================================
Binary file - no diff available.

Propchange: maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/resources/images/topbar-logo.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Copied: maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/site.xml (from r1375913, maven/skins/trunk/maven-fluido-skin/src/it/topbar/src/site/site.xml)
URL: http://svn.apache.org/viewvc/maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/site.xml?p2=maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/site.xml&p1=maven/skins/trunk/maven-fluido-skin/src/it/topbar/src/site/site.xml&r1=1375913&r2=1375914&rev=1375914&view=diff
==============================================================================
--- maven/skins/trunk/maven-fluido-skin/src/it/topbar/src/site/site.xml (original)
+++ maven/skins/trunk/maven-fluido-skin/src/it/topbar-inverse/src/site/site.xml Wed Aug 22 07:38:53 2012
@@ -35,8 +35,7 @@
   <custom>
     <fluidoSkin>
       <topBarEnabled>true</topBarEnabled>
-      <topBarContainerStyle>width: 90%;</topBarContainerStyle>
-      <!--navBarStyle>navbar-inverse</navBarStyle-->
+      <navBarStyle>navbar-inverse</navBarStyle>
       <topBarIcon>
         <name>Maven Fluido Skin</name>
         <alt>Maven Fluido Skin</alt>
@@ -102,4 +101,4 @@
     </footer>
   </body>
 
-</project>
\ No newline at end of file
+</project>

Modified: maven/skins/trunk/maven-fluido-skin/src/it/topbar/src/site/site.xml
URL: http://svn.apache.org/viewvc/maven/skins/trunk/maven-fluido-skin/src/it/topbar/src/site/site.xml?rev=1375914&r1=1375913&r2=1375914&view=diff
==============================================================================
--- maven/skins/trunk/maven-fluido-skin/src/it/topbar/src/site/site.xml (original)
+++ maven/skins/trunk/maven-fluido-skin/src/it/topbar/src/site/site.xml Wed Aug 22 07:38:53 2012
@@ -36,7 +36,6 @@
     <fluidoSkin>
       <topBarEnabled>true</topBarEnabled>
       <topBarContainerStyle>width: 90%;</topBarContainerStyle>
-      <!--navBarStyle>navbar-inverse</navBarStyle-->
       <topBarIcon>
         <name>Maven Fluido Skin</name>
         <alt>Maven Fluido Skin</alt>
@@ -102,4 +101,4 @@
     </footer>
   </body>
 
-</project>
\ No newline at end of file
+</project>