You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by al...@apache.org on 2010/08/12 23:36:38 UTC
svn commit: r984993 -
/myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-core/pom.xml
Author: aliok
Date: Thu Aug 12 21:36:37 2010
New Revision: 984993
URL: http://svn.apache.org/viewvc?rev=984993&view=rev
Log:
Removed project site generation.
Moved facelets doc generation to install phase and generate-site profile for now
Modified:
myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-core/pom.xml
Modified: myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-core/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-core/pom.xml?rev=984993&r1=984992&r2=984993&view=diff
==============================================================================
--- myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-core/pom.xml (original)
+++ myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-core/pom.xml Thu Aug 12 21:36:37 2010
@@ -282,61 +282,21 @@
<profiles>
<profile>
<!--
- - Whenever the full website is generated, the command
- - mvn -Pgenerate-site -Pgenerate-tlddoc site
- - should be used. This will create the "tlddoc" directory containing
- - nicely-formatted versions of the docs in the jsp taglib file, ie
- - docs on all the available tags and their properties.
+ - Whenever the facelets doc will be generated, need to use the command
+ - mvn -Pgenerate-site install
-->
<id>generate-site</id>
<build>
<plugins>
<plugin>
- <!-- Generate content for custom tagdoc report -->
- <groupId>org.apache.myfaces.buildtools</groupId>
- <artifactId>myfaces-builder-plugin</artifactId>
- <version>1.0.6</version>
- <executions>
- <execution>
- <id>site-tagdoc-content</id>
- <configuration>
- <metadataFile>META-INF/myfaces-html5-metadata.xml</metadataFile>
- <modelIds>
- <modelId>html5-comp-lib-core</modelId>
- </modelIds>
- <taglibs>
- <hx>http://myfaces.apache.org/html5/html</hx>
- <fx>http://myfaces.apache.org/html5/core</fx>
- </taglibs>
- </configuration>
- <goals><goal>tagdoc-content</goal></goals>
- </execution>
- <execution>
- <id>site-web-config</id>
- <configuration>
- <metadataFile>META-INF/myfaces-html5-metadata.xml</metadataFile>
- <outputDirectory>${project.build.directory}/generated-site/xdoc</outputDirectory>
- <xmlFile>webconfig.xml</xmlFile>
- <modelIds>
- <modelId>html5-comp-lib-core</modelId>
- </modelIds>
- </configuration>
- <goals>
- <goal>make-config</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <!-- Unfortunately we can't execute the same report twice, so
- we have to generate this files outside report generation. -->
+ <!-- Facelets doc generation is on install phashe for now!. -->
<groupId>net.sourceforge.maven-taglib</groupId>
<artifactId>maven-taglib-plugin</artifactId>
<version>2.4</version>
<executions>
<execution>
<id>tlddoc-facelets</id>
- <phase>site</phase>
+ <phase>install</phase>
<goals>
<goal>taglibdoc</goal>
</goals>
@@ -347,56 +307,10 @@
<tldDocDir>${basedir}/target/site/tlddoc-facelets</tldDocDir>
</configuration>
</execution>
- <execution>
- <id>tlddoc-jsp</id>
- <phase>site</phase>
- <goals>
- <goal>taglibdoc</goal>
- </goals>
- <inherited>false</inherited>
- <configuration>
- <taglib.src.dir>${basedir}/target/tlddoc-facelets</taglib.src.dir>
- <tldDocDir>${basedir}/target/site/tlddoc</tldDocDir>
- </configuration>
- </execution>
</executions>
</plugin>
</plugins>
</build>
- <reporting>
- <plugins>
- <plugin>
- <groupId>net.sourceforge.maven-taglib</groupId>
- <artifactId>maven-taglib-plugin</artifactId>
- <version>2.4</version>
- <configuration>
- <taglib.src.dir>${basedir}/target/classes/META-INF</taglib.src.dir>
- <tldDocDir>${basedir}/target/site/tlddoc</tldDocDir>
- </configuration>
- </plugin>
- <plugin>
- <!-- trigger tagdoc-index report -->
- <groupId>org.apache.myfaces.buildtools</groupId>
- <artifactId>myfaces-builder-plugin</artifactId>
- <version>1.0.6</version>
- <reportSets>
- <reportSet>
- <configuration>
- <metadataFile>META-INF/myfaces-html5-metadata.xml</metadataFile>
- <modelIds>
- <modelId>html5-comp-lib-core</modelId>
- </modelIds>
- <taglibs>
- <hx>http://myfaces.apache.org/html5/html</hx>
- <fx>http://myfaces.apache.org/html5/core</fx>
- </taglibs>
- </configuration>
- <reports><report>tagdoc-index</report></reports>
- </reportSet>
- </reportSets>
- </plugin>
- </plugins>
- </reporting>
</profile>
</profiles>