You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2011/10/15 22:12:07 UTC

svn commit: r1183679 - in /maven/sandbox/trunk/skin/maven-fluido-skin: pom.xml src/it/site/pom.xml src/it/site/src/site/site.xml src/site/apt/index.apt.vm

Author: hboutemy
Date: Sat Oct 15 20:12:06 2011
New Revision: 1183679

URL: http://svn.apache.org/viewvc?rev=1183679&view=rev
Log:
added IT result as sample site for the skin documentation

Modified:
    maven/sandbox/trunk/skin/maven-fluido-skin/pom.xml
    maven/sandbox/trunk/skin/maven-fluido-skin/src/it/site/pom.xml
    maven/sandbox/trunk/skin/maven-fluido-skin/src/it/site/src/site/site.xml
    maven/sandbox/trunk/skin/maven-fluido-skin/src/site/apt/index.apt.vm

Modified: maven/sandbox/trunk/skin/maven-fluido-skin/pom.xml
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/skin/maven-fluido-skin/pom.xml?rev=1183679&r1=1183678&r2=1183679&view=diff
==============================================================================
--- maven/sandbox/trunk/skin/maven-fluido-skin/pom.xml (original)
+++ maven/sandbox/trunk/skin/maven-fluido-skin/pom.xml Sat Oct 15 20:12:06 2011
@@ -83,6 +83,31 @@
     </profile>
     <profile>
       <id>reporting</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-resources-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>copy-sample</id>
+                <phase>site</phase>
+                <goals>
+                  <goal>copy-resources</goal>
+                </goals>
+                <configuration>
+                  <resources>
+                    <resource>
+                      <directory>${project.build.directory}/it/site/target/site/</directory>
+                    </resource>
+                  </resources>
+                  <outputDirectory>${project.build.directory}/site/sample/</outputDirectory>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
       <reporting>
         <plugins>
           <plugin>

Modified: maven/sandbox/trunk/skin/maven-fluido-skin/src/it/site/pom.xml
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/skin/maven-fluido-skin/src/it/site/pom.xml?rev=1183679&r1=1183678&r2=1183679&view=diff
==============================================================================
--- maven/sandbox/trunk/skin/maven-fluido-skin/src/it/site/pom.xml (original)
+++ maven/sandbox/trunk/skin/maven-fluido-skin/src/it/site/pom.xml Sat Oct 15 20:12:06 2011
@@ -30,7 +30,7 @@
   <packaging>jar</packaging>
 
   <name>@project.artifactId@ IT</name>
-  <url>http://maven.apache.org/skins/@project.artifactId@/</url>
+  <url>http://maven.apache.org/skins/@project.artifactId@/sample/</url>
 
   <properties>
     <skinName>@project.name@</skinName>

Modified: maven/sandbox/trunk/skin/maven-fluido-skin/src/it/site/src/site/site.xml
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/skin/maven-fluido-skin/src/it/site/src/site/site.xml?rev=1183679&r1=1183678&r2=1183679&view=diff
==============================================================================
--- maven/sandbox/trunk/skin/maven-fluido-skin/src/it/site/src/site/site.xml (original)
+++ maven/sandbox/trunk/skin/maven-fluido-skin/src/it/site/src/site/site.xml Sat Oct 15 20:12:06 2011
@@ -37,7 +37,7 @@
   <body>
     <breadcrumbs>
       <item name="skins" href="/skins/"/>
-      <item name="fluido" href="/skins/${skinArtifact}/"/>
+      <item name="fluido" href="/skins/${skinArtifactId}/"/>
     </breadcrumbs>
 
     <menu name="Overview">

Modified: maven/sandbox/trunk/skin/maven-fluido-skin/src/site/apt/index.apt.vm
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/skin/maven-fluido-skin/src/site/apt/index.apt.vm?rev=1183679&r1=1183678&r2=1183679&view=diff
==============================================================================
--- maven/sandbox/trunk/skin/maven-fluido-skin/src/site/apt/index.apt.vm (original)
+++ maven/sandbox/trunk/skin/maven-fluido-skin/src/site/apt/index.apt.vm Sat Oct 15 20:12:06 2011
@@ -30,6 +30,8 @@ ${project.name}
 
  ${project.description}
 
+ A {{{./sample/}sample site}} is provided to see the skin in action.
+
 * Usage
 
  To use this skin in your project, use the skin element of