Author: alexsmirnov
Date: 2007-08-28 12:37:06 -0400 (Tue, 28 Aug 2007)
New Revision: 2545
Added:
trunk/samples/richfaces-demo/src/main/xslt/tlddoc/
Removed:
trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc/
Modified:
trunk/samples/richfaces-demo/pom.xml
Log:
Use java exec plugin for generate demo application tlddoc files instead of plugin
Modified: trunk/samples/richfaces-demo/pom.xml
===================================================================
--- trunk/samples/richfaces-demo/pom.xml 2007-08-28 16:25:55 UTC (rev 2544)
+++ trunk/samples/richfaces-demo/pom.xml 2007-08-28 16:37:06 UTC (rev 2545)
@@ -47,52 +47,67 @@
<artifactItems>
<artifactItem>
<groupId>org.richfaces.ui</groupId>
- <artifactId>richfaces-ui</artifactId>
- <version>${project.version}</version>
+ <artifactId>
+ richfaces-ui
+ </artifactId>
+ <version>
+ ${project.version}
+ </version>
</artifactItem>
</artifactItems>
- <outputDirectory>
- ${project.build.directory}/richfaces
- </outputDirectory>
- <overWriteReleases>
- false
- </overWriteReleases>
- <overWriteSnapshots>
- true
- </overWriteSnapshots>
+ <outputDirectory>
+ ${project.build.directory}/richfaces
+ </outputDirectory>
+ <overWriteReleases>false</overWriteReleases>
+ <overWriteSnapshots>
+ true
+ </overWriteSnapshots>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
- <groupId>net.sourceforge.maven-taglib</groupId>
- <artifactId>maven-taglib-plugin</artifactId>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
<dependencies>
- <dependency>
- <groupId>org.richfaces.docs</groupId>
- <artifactId>taglibxsl</artifactId>
- <version>3.1.0-SNAPSHOT</version>
- </dependency>
+ <dependency>
+ <groupId>taglibrarydoc</groupId>
+ <artifactId>tlddoc</artifactId>
+ <version>1.3</version>
+ </dependency>
</dependencies>
<configuration>
- <srcDir>
- ${project.build.directory}/richfaces/META-INF
- </srcDir>
- <tldDocDir>
- ${project.build.directory}/${project.build.finalName}/WEB-INF/tlddoc
- </tldDocDir>
+ <includeProjectDependencies>
+ false
+ </includeProjectDependencies>
+ <includePluginDependencies>
+ true
+ </includePluginDependencies>
+ <executableDependency>
+ <groupId>taglibrarydoc</groupId>
+ <artifactId>tlddoc</artifactId>
+ </executableDependency>
+ <mainClass>com.sun.tlddoc.TLDDoc</mainClass>
+ <arguments>
+ <argument>-d</argument>
+ <argument>${project.build.directory}/${project.build.finalName}/WEB-INF/tlddoc</argument>
+ <argument>-xslt</argument>
+ <argument>${basedir}/src/main/xslt/tlddoc</argument>
+ <argument>${project.build.directory}/richfaces/META-INF/ajax4jsf.tld</argument>
+ <argument>${project.build.directory}/richfaces/META-INF/rich.tld</argument>
+ </arguments>
</configuration>
<executions>
<execution>
- <id>attach-javadoc</id>
+ <id>tlddoc</id>
<phase>process-resources</phase>
<goals>
- <goal>taglibdoc</goal>
+ <goal>java</goal>
</goals>
</execution>
</executions>
- </plugin>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
Copied: trunk/samples/richfaces-demo/src/main/xslt/tlddoc (from rev 2542,
trunk/docs/taglibxsl/src/main/resources/com/sun/tlddoc)
Show replies by date