You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by we...@apache.org on 2011/09/01 17:45:39 UTC

svn commit: r1164117 - in /myfaces/core/branches/2.0.x/api: pom.xml src/assembler/jsdoc-compiler.xml

Author: werpu
Date: Thu Sep  1 15:45:38 2011
New Revision: 1164117

URL: http://svn.apache.org/viewvc?rev=1164117&view=rev
Log:
https://issues.apache.org/jira/browse/MYFACES-3292
enabling jsdoc 


Added:
    myfaces/core/branches/2.0.x/api/src/assembler/jsdoc-compiler.xml
      - copied unchanged from r1164112, myfaces/core/trunk/api/src/assembler/jsdoc-compiler.xml
Modified:
    myfaces/core/branches/2.0.x/api/pom.xml

Modified: myfaces/core/branches/2.0.x/api/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/pom.xml?rev=1164117&r1=1164116&r2=1164117&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/pom.xml (original)
+++ myfaces/core/branches/2.0.x/api/pom.xml Thu Sep  1 15:45:38 2011
@@ -436,6 +436,34 @@
                 </pluginRepository>
             </pluginRepositories>
         </profile>
+           <!--
+            this optional profile generates the jsdoc content from
+            the embedded javascripts
+        -->
+
+        <profile>
+            <id>generateJsDoc</id>
+            <build>
+              <plugins>
+                    <plugin>
+                        <groupId>org.apache.myfaces.buildtools</groupId>
+                        <artifactId>myfaces-jsdoc-plugin</artifactId>
+                        <version>1.0-SNAPSHOT</version>
+
+                        <executions>
+                            <execution>
+                                <phase>generate-resources</phase>
+                                <goals>
+                                    <goal>jsdoc</goal>
+                                </goals>
+                            </execution>
+
+                        </executions>
+
+                    </plugin>
+               </plugins>
+            </build>
+        </profile>
 
     </profiles>