You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sk...@apache.org on 2008/01/08 23:50:53 UTC
svn commit: r610212 - /myfaces/core/trunk_1.2.x/impl/pom.xml
Author: skitching
Date: Tue Jan 8 14:50:51 2008
New Revision: 610212
URL: http://svn.apache.org/viewvc?rev=610212&view=rev
Log:
Get tlddoc generation working for core-1.2.
Remove obsolete stuff inherited from the old core-1.1 build.
Modified:
myfaces/core/trunk_1.2.x/impl/pom.xml
Modified: myfaces/core/trunk_1.2.x/impl/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/core/trunk_1.2.x/impl/pom.xml?rev=610212&r1=610211&r2=610212&view=diff
==============================================================================
--- myfaces/core/trunk_1.2.x/impl/pom.xml (original)
+++ myfaces/core/trunk_1.2.x/impl/pom.xml Tue Jan 8 14:50:51 2008
@@ -47,6 +47,14 @@
</plugin>
<plugin>
+ <!--
+ - Using the metadata from the "build" module, generate the JSP "h" taglib.
+ -
+ - The "f" taglib currently appears to instead be hand-coded; not sure why.
+ - Maybe because the maven-faces-plugin only supports generating one taglib?
+ - Or because people just haven't got around to defining the metadata and
+ - templates for it in the build module?
+ -->
<groupId>org.apache.myfaces.trinidadbuild</groupId>
<artifactId>maven-faces-plugin</artifactId>
<configuration>
@@ -126,6 +134,7 @@
-->
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
+ <version>1.0</version>
<executions>
<execution>
<id>add-source</id>
@@ -146,48 +155,14 @@
<profiles>
<profile>
<id>generate-site</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>xslt-maven-plugin</artifactId>
- <version>1.0</version>
- <executions>
- <execution>
- <id>generate-tld-for-tlddoc</id>
- <goals>
- <goal>transform</goal>
- </goals>
- <configuration>
- <xslFile>src/main/tld/misc/resolve_entities-tlddoc.xsl</xslFile>
- <srcIncludes>**/*.tld</srcIncludes>
- <srcDir>src/main/tld</srcDir>
- <destDir>target/tlddoc-site</destDir>
- </configuration>
- </execution>
- <execution>
- <id>generate-tld-for-jar</id>
- <goals>
- <goal>transform</goal>
- </goals>
- <configuration>
- <xslFile>src/main/tld/misc/resolve_entities.xsl</xslFile>
- <srcIncludes>**/*.tld</srcIncludes>
- <srcDir>src/main/tld</srcDir>
- <destDir>target/classes/META-INF</destDir>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
<reporting>
<plugins>
<plugin>
<groupId>net.sourceforge.maven-taglib</groupId>
<artifactId>maven-taglib-plugin</artifactId>
+ <version>2.3.1</version>
<configuration>
- <taglib.src.dir>${basedir}/target/tlddoc-site</taglib.src.dir>
+ <taglib.src.dir>${basedir}/target/classes/META-INF</taglib.src.dir>
<tldDocDir>${basedir}/target/site/tlddoc</tldDocDir>
</configuration>
</plugin>
@@ -199,37 +174,6 @@
<build>
<plugins>
<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>xslt-maven-plugin</artifactId>
- <version>1.0</version>
- <executions>
- <execution>
- <id>generate-tld-for-tlddoc</id>
- <goals>
- <goal>transform</goal>
- </goals>
- <configuration>
- <xslFile>src/main/tld/misc/resolve_entities-tlddoc.xsl</xslFile>
- <srcIncludes>**/*.tld</srcIncludes>
- <srcDir>src/main/tld</srcDir>
- <destDir>target/tlddoc-site</destDir>
- </configuration>
- </execution>
- <execution>
- <id>generate-tld-for-jar</id>
- <goals>
- <goal>transform</goal>
- </goals>
- <configuration>
- <xslFile>src/main/tld/misc/resolve_entities.xsl</xslFile>
- <srcIncludes>**/*.tld</srcIncludes>
- <srcDir>src/main/tld</srcDir>
- <destDir>target/classes/META-INF</destDir>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
@@ -243,6 +187,7 @@
<plugin>
<groupId>net.sourceforge.maven-taglib</groupId>
<artifactId>maven-taglib-plugin</artifactId>
+ <version>2.3.1</version>
<executions>
<execution>
<id>attach-tlddoc</id>
@@ -252,7 +197,7 @@
</execution>
</executions>
<configuration>
- <taglib.src.dir>${basedir}/target/tlddoc-site</taglib.src.dir>
+ <taglib.src.dir>${basedir}/target/classes/META-INF</taglib.src.dir>
<tldDocDir>${basedir}/target/tlddoc</tldDocDir>
</configuration>
</plugin>
Re: svn commit: r610212 - /myfaces/core/trunk_1.2.x/impl/pom.xml
Posted by Matthias Wessendorf <ma...@apache.org>.
> + - The "f" taglib currently appears to instead be hand-coded; not sure why.
> + - Maybe because the maven-faces-plugin only supports generating one taglib?
:-) No. Trinidad uses two TLD file (tr.tld and trh.tld)
> + - Or because people just haven't got around to defining the metadata and
> + - templates for it in the build module?
> + -->
myfaces-core-base.tld might help.
I can check that later (not today).
-Matthias
--
Matthias Wessendorf
further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org
Re: svn commit: r610212 - /myfaces/core/trunk_1.2.x/impl/pom.xml
Posted by Matthias Wessendorf <ma...@apache.org>.
> + - The "f" taglib currently appears to instead be hand-coded; not sure why.
> + - Maybe because the maven-faces-plugin only supports generating one taglib?
:-) No. Trinidad uses two TLD file (tr.tld and trh.tld)
> + - Or because people just haven't got around to defining the metadata and
> + - templates for it in the build module?
> + -->
myfaces-core-base.tld might help.
I can check that later (not today).
-Matthias
--
Matthias Wessendorf
further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org