You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shindig.apache.org by li...@apache.org on 2010/01/20 09:23:29 UTC

svn commit: r901098 - /incubator/shindig/trunk/features/pom.xml

Author: lindner
Date: Wed Jan 20 08:23:09 2010
New Revision: 901098

URL: http://svn.apache.org/viewvc?rev=901098&view=rev
Log:
Remove anttask based jsdoc generation and switch to jsdoctk-plugin to generate javadoc

Modified:
    incubator/shindig/trunk/features/pom.xml

Modified: incubator/shindig/trunk/features/pom.xml
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/features/pom.xml?rev=901098&r1=901097&r2=901098&view=diff
==============================================================================
--- incubator/shindig/trunk/features/pom.xml (original)
+++ incubator/shindig/trunk/features/pom.xml Wed Jan 20 08:23:09 2010
@@ -41,6 +41,19 @@
     <url>http://svn.apache.org/viewvc/incubator/shindig/trunk/features</url>
   </scm>
 
+  <repositories>
+    <repository>
+      <id>jsdoctk1</id>
+      <url>http://jsdoctk-plugin.googlecode.com/svn/repo</url>
+    </repository>
+  </repositories>
+  <pluginRepositories>
+    <pluginRepository>
+      <id>jsdoctk2</id>
+      <url>http://jsdoctk-plugin.googlecode.com/svn/repo</url>
+    </pluginRepository>
+  </pluginRepositories>
+
   <build>
     <resources>
       <resource>
@@ -207,75 +220,14 @@
       <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>
+            <groupId>nl.windgazer</groupId>
+            <artifactId>jsdoctk-plugin</artifactId>
+            <version>2.3.0-RC1</version>
+            <configuration>
+              <recurse>3</recurse><!-- This is the level of recursion, not a boolean -->
+              <srcDir>${basedir}/src/main/javascript/features</srcDir>
+              <ext>js</ext>
+            </configuration>
           </plugin>
         </plugins>
       </build>