Title: [1318] trunk/web/distribution: Added skeleton distribution site.
Revision
1318
Author
mauro
Date
2009-10-11 05:26:37 -0500 (Sun, 11 Oct 2009)

Log Message

Added skeleton distribution site.

Modified Paths


Added Paths

Diff

Modified: trunk/web/distribution/pom.xml (1317 => 1318)

--- trunk/web/distribution/pom.xml	2009-10-11 10:26:13 UTC (rev 1317)
+++ trunk/web/distribution/pom.xml	2009-10-11 10:26:37 UTC (rev 1318)
@@ -28,7 +28,113 @@
   <build>
     <plugins>
       <plugin>
+        <groupId>org.codehaus.xsite</groupId>
+        <artifactId>xsite-maven-plugin</artifactId>
+        <version>1.1</version>
+        <configuration>
+          <sourceDirectoryPath>${basedir}/src/main/site/</sourceDirectoryPath>
+          <sitemapPath>content/sitemap.xml</sitemapPath>
+          <skinPath>templates/skin.html</skinPath>
+          <resourcePaths>resources</resourcePaths>
+          <outputDirectoryPath>${project.build.directory}/site</outputDirectoryPath>
+          <publishedVersion>${pom.version}</publishedVersion>
+        </configuration>
+        <executions>
+          <execution>
+            <phase>install</phase>
+            <goals>
+              <goal>run</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-dependency-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>unpack-javadoc-web-io</id>
+            <phase>generate-resources</phase>
+            <goals>
+              <goal>unpack</goal>
+            </goals>
+            <configuration>
+              <outputDirectory>${project.build.directory}/site/javadoc/web-io</outputDirectory>
+              <overWriteReleases>false</overWriteReleases>
+              <overWriteSnapshots>true</overWriteSnapshots>
+              <artifactItems>
+                <artifactItem>
+                  <groupId>${pom.groupId}</groupId>
+                  <artifactId>jbehave-web-io</artifactId>
+                  <version>${pom.version}</version>
+                  <classifier>javadoc</classifier>
+                </artifactItem>
+              </artifactItems>
+            </configuration>
+          </execution>
+          <execution>
+            <id>unpack-javadoc-web-selenium</id>
+            <phase>generate-resources</phase>
+            <goals>
+              <goal>unpack</goal>
+            </goals>
+            <configuration>
+              <outputDirectory>${project.build.directory}/site/javadoc/web-selenium</outputDirectory>
+              <overWriteReleases>false</overWriteReleases>
+              <overWriteSnapshots>true</overWriteSnapshots>
+              <artifactItems>
+                <artifactItem>
+                  <groupId>${pom.groupId}</groupId>
+                  <artifactId>jbehave-web-selenium</artifactId>
+                  <version>${pom.version}</version>
+                  <classifier>javadoc</classifier>
+                </artifactItem>
+              </artifactItems>
+            </configuration>
+          </execution>
+          <execution>
+            <id>unpack-javadoc-web-runner</id>
+            <phase>generate-resources</phase>
+            <goals>
+              <goal>unpack</goal>
+            </goals>
+            <configuration>
+              <outputDirectory>${project.build.directory}/site/javadoc/web-runner</outputDirectory>
+              <overWriteReleases>false</overWriteReleases>
+              <overWriteSnapshots>true</overWriteSnapshots>
+              <artifactItems>
+                <artifactItem>
+                  <groupId>${pom.groupId}</groupId>
+                  <artifactId>jbehave-web-runner</artifactId>
+                  <version>${pom.version}</version>
+                  <classifier>javadoc</classifier>
+                </artifactItem>
+              </artifactItems>
+            </configuration>
+          </execution>
+          <execution>
+            <id>unpack-jbehave-site-resources</id>
+            <phase>generate-resources</phase>
+            <goals>
+              <goal>unpack</goal>
+            </goals>
+            <configuration>
+              <overWriteReleases>false</overWriteReleases>
+              <overWriteSnapshots>true</overWriteSnapshots>
+              <artifactItems>
+                <artifactItem>
+                  <groupId>org.jbehave.site</groupId>
+                  <artifactId>jbehave-site-resources</artifactId>
+                  <version>2.0</version>
+                  <outputDirectory>${project.build.directory}/site</outputDirectory>
+                </artifactItem>
+              </artifactItems>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-assembly-plugin</artifactId>
         <executions>
           <execution>

Modified: trunk/web/distribution/src/main/assembly/assembly-bin.xml (1317 => 1318)

--- trunk/web/distribution/src/main/assembly/assembly-bin.xml	2009-10-11 10:26:13 UTC (rev 1317)
+++ trunk/web/distribution/src/main/assembly/assembly-bin.xml	2009-10-11 10:26:37 UTC (rev 1318)
@@ -13,6 +13,10 @@
       <directory>src/main/conf</directory>
       <outputDirectory>conf</outputDirectory>
     </fileSet>
+    <fileSet>
+      <directory>target/site</directory>
+      <outputDirectory>docs</outputDirectory>
+    </fileSet>
   </fileSets>
   <dependencySets>
     <dependencySet>

Added: trunk/web/distribution/src/main/site/content/index.html (0 => 1318)

--- trunk/web/distribution/src/main/site/content/index.html	                        (rev 0)
+++ trunk/web/distribution/src/main/site/content/index.html	2009-10-11 10:26:37 UTC (rev 1318)
@@ -0,0 +1,11 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+<head>
+<title>What is JBehave Web?</title>
+</head>
+
+<body>
+
+
+</body>
+</html>
\ No newline at end of file

Added: trunk/web/distribution/src/main/site/content/sitemap.xml (0 => 1318)

--- trunk/web/distribution/src/main/site/content/sitemap.xml	                        (rev 0)
+++ trunk/web/distribution/src/main/site/content/sitemap.xml	2009-10-11 10:26:37 UTC (rev 1318)
@@ -0,0 +1,6 @@
+<sitemap>
+  <section>
+    <name>About</name>
+    <page>index.html</page>
+  </section>
+</sitemap>
\ No newline at end of file

Added: trunk/web/distribution/src/main/site/templates/skin.html (0 => 1318)

--- trunk/web/distribution/src/main/site/templates/skin.html	                        (rev 0)
+++ trunk/web/distribution/src/main/site/templates/skin.html	2009-10-11 10:26:37 UTC (rev 1318)
@@ -0,0 +1,93 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+<head>
+<title>${title}</title>
+
+<style type="text/css" media="all">
+...@import url( "./style/jbehave.css" );
+</style>
+
+<script type="text/_javascript_" src=""
+<script type="text/_javascript_" src=""
+<script type="text/_javascript_" src=""
+<style media="screen" type="text/css">
+div.MGroupContent {
+	display: none
+}
+</style>
+<meta name="verify-v1"
+	content="UsIBiaQhhmjFrBwcJ2n4XIvEImPNG4SMVP365rRcpxE=" />
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+</head>
+
+<body class="composite">
+<div id="banner"><img src="" alt="jbehave" />
+<div class="clear"></div>
+</div>
+
+<div id="Menu"><#list sitemap.sections as section>
+<div class="MGroup MEntry"><a>${section.name}</a>
+<div id="MGroupContent${section_index}" class="MGroupContent"
+	style="display: block;"><#list section.entries as entry> <#if
+entry=page>
+<div class="MFile MEntry" id="MSelected">${entry.title}</div>
+<#else>
+<div class="MFile MEntry"><a href=""
+</div>
+</#if> </#list></div>
+</div>
+</#list>
+
+<script type="text/_javascript_"><!--
+        google_ad_client = "pub-8973208330688044";
+        google_ad_width = 125;
+        google_ad_height = 125;
+        google_ad_format = "125x125_as_rimg";
+        google_cpa_choice = "CAAQ0f2XhAIaCA6IC4oIlz0_KK2293M";
+        google_ad_channel = "";
+      //--></script> <script type="text/_javascript_"
+	src=""
+        //
+      </script></div>
+
+<div id="bodyColumn">
+<div id="contentBox">
+<div class="section">${body} <br />
+<br />
+</div>
+</div>
+</div>
+<div class="clear"></div>
+<div id="footer">
+<div class="left">Version ${publishedVersion} published on ${publishedDate?string("dd/MM/yyyy")}</div>
+<div class="right">&#169; 2003-2009</div>
+<div class="clear"></div>
+</div>
+
+</body>
+
+<script src=""
+	type="text/_javascript_"></script>
+<script type="text/_javascript_">
+  _uacct = "UA-759606-2";
+  urchinTracker();
+</script>
+
+<!--  SyntaxHighlighter resources:  should be included at end of body -->
+<link rel="stylesheet" type="text/css" href=""
+<link rel="stylesheet" type="text/css" href=""
+<script language="_javascript_" src=""
+<script language="_javascript_" src=""
+<script language="_javascript_" src=""
+<script language="_javascript_" src=""
+<script language="_javascript_" src=""
+<script language="_javascript_" src=""
+<script type="text/_javascript_">
+	SyntaxHighlighter.config.clipboardSwf = './js/sh-2.0.320/clipboard.swf';
+    SyntaxHighlighter.defaults['gutter'] = false;
+    SyntaxHighlighter.defaults['toolbar'] = true;    
+	SyntaxHighlighter.all();
+</script>
+
+</html>


To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Reply via email to