You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shindig.apache.org by vs...@apache.org on 2009/04/15 15:48:14 UTC

svn commit: r765200 - in /incubator/shindig/branches/1.0.x-incubating: features/pom.xml features/src/site/ features/src/site/site.xml pom.xml

Author: vsiveton
Date: Wed Apr 15 13:48:13 2009
New Revision: 765200

URL: http://svn.apache.org/viewvc?rev=765200&view=rev
Log:
o merged r761647 

Added:
    incubator/shindig/branches/1.0.x-incubating/features/src/site/
    incubator/shindig/branches/1.0.x-incubating/features/src/site/site.xml   (with props)
Modified:
    incubator/shindig/branches/1.0.x-incubating/features/pom.xml
    incubator/shindig/branches/1.0.x-incubating/pom.xml

Modified: incubator/shindig/branches/1.0.x-incubating/features/pom.xml
URL: http://svn.apache.org/viewvc/incubator/shindig/branches/1.0.x-incubating/features/pom.xml?rev=765200&r1=765199&r2=765200&view=diff
==============================================================================
--- incubator/shindig/branches/1.0.x-incubating/features/pom.xml (original)
+++ incubator/shindig/branches/1.0.x-incubating/features/pom.xml Wed Apr 15 13:48:13 2009
@@ -174,4 +174,90 @@
       </plugin>
     </plugins>
   </build>
+
+  <profiles>
+    <profile>
+      <id>reporting</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-dependency-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>create-jsdoc-home</id>
+                <phase>site</phase>
+                <goals>
+                  <goal>unpack</goal>
+                </goals>
+                <configuration>
+                  <artifactItems>
+                    <artifactItem>
+                      <groupId>org.jsdoctoolkit</groupId>
+                      <artifactId>jsdoc</artifactId>
+                      <version>2.1.0</version>
+                      <type>jar</type>
+                      <overWrite>true</overWrite>
+                      <outputDirectory>${project.build.directory}/jsdoc-toolkit</outputDirectory>
+                    </artifactItem>
+                  </artifactItems>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>run-jsdoc</id>
+                <phase>site</phase>
+                <configuration>
+                  <tasks>
+
+                    <taskdef
+                      name="jsdoctoolkit"
+                      classname="uk.co.darrenhurley.ant.tasks.JsDocToolkit"/>
+
+                    <mkdir dir="${project.reporting.outputDirectory}/jsdoc"/>
+
+                    <jsdoctoolkit
+                      jsdochome="${project.build.directory}/jsdoc-toolkit/"
+                      template="jsdoc"
+                      outputdir="${project.reporting.outputDirectory}/jsdoc">
+                      <fileset dir="${basedir}/src/main/javascript/features">
+                        <include name="**/*.js"/>
+                      </fileset>
+                    </jsdoctoolkit>
+
+                  </tasks>
+                </configuration>
+                <goals>
+                  <goal>run</goal>
+                </goals>
+              </execution>
+            </executions>
+            <dependencies>
+              <dependency>
+                <groupId>org.jsdoctoolkit</groupId>
+                <artifactId>jsdoctoolkit-ant-task</artifactId>
+                <version>1.0</version>
+                <exclusions>
+                  <exclusion>
+                    <groupId>ant</groupId>
+                    <artifactId>ant-contrib</artifactId>
+                  </exclusion>
+                </exclusions>
+              </dependency>
+              <dependency>
+                <groupId>rhino</groupId>
+                <artifactId>js</artifactId>
+                <version>1.7R1</version>
+              </dependency>
+            </dependencies>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 </project>

Added: incubator/shindig/branches/1.0.x-incubating/features/src/site/site.xml
URL: http://svn.apache.org/viewvc/incubator/shindig/branches/1.0.x-incubating/features/src/site/site.xml?rev=765200&view=auto
==============================================================================
--- incubator/shindig/branches/1.0.x-incubating/features/src/site/site.xml (added)
+++ incubator/shindig/branches/1.0.x-incubating/features/src/site/site.xml Wed Apr 15 13:48:13 2009
@@ -0,0 +1,36 @@
+<?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/DECORATION/1.0.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd"
+  name="Apache Shindig Features">
+
+  <body>
+    <menu ref="parent"/>
+
+    <menu name="JavaScriptDoc">
+      <item name="Index" href="jsdoc/index.html"/>
+    </menu>
+
+    <menu ref="reports" inherit="bottom" />
+  </body>
+</project>

Propchange: incubator/shindig/branches/1.0.x-incubating/features/src/site/site.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/shindig/branches/1.0.x-incubating/features/src/site/site.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Modified: incubator/shindig/branches/1.0.x-incubating/pom.xml
URL: http://svn.apache.org/viewvc/incubator/shindig/branches/1.0.x-incubating/pom.xml?rev=765200&r1=765199&r2=765200&view=diff
==============================================================================
--- incubator/shindig/branches/1.0.x-incubating/pom.xml (original)
+++ incubator/shindig/branches/1.0.x-incubating/pom.xml Wed Apr 15 13:48:13 2009
@@ -813,6 +813,11 @@
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-dependency-plugin</artifactId>
+          <version>2.1</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-deploy-plugin</artifactId>
           <version>2.4</version>
         </plugin>