jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ra...@apache.org
Subject svn commit: r733379 - /jakarta/taglibs/proper/rdc/trunk/taglibs-rdc/pom.xml
Date Sat, 10 Jan 2009 22:18:29 GMT
Author: rahul
Date: Sat Jan 10 14:18:29 2009
New Revision: 733379

URL: http://svn.apache.org/viewvc?rev=733379&view=rev
Log:
Generate the TLD and the TLDDoc off the existing meta-data. The TLD is styled out during the
'generate-resources' m2 phase so it can be packed in the jar and the TLDDoc variants (for
binary distro and for site) are styled during the 'pre-site' m2 phase.

Modified:
    jakarta/taglibs/proper/rdc/trunk/taglibs-rdc/pom.xml

Modified: jakarta/taglibs/proper/rdc/trunk/taglibs-rdc/pom.xml
URL: http://svn.apache.org/viewvc/jakarta/taglibs/proper/rdc/trunk/taglibs-rdc/pom.xml?rev=733379&r1=733378&r2=733379&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/taglibs-rdc/pom.xml (original)
+++ jakarta/taglibs/proper/rdc/trunk/taglibs-rdc/pom.xml Sat Jan 10 14:18:29 2009
@@ -101,6 +101,67 @@
         <targetPath>.</targetPath>
       </resource>
     </resources>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <dependencies>
+          <dependency> 
+            <groupId>ant</groupId>
+            <artifactId>ant-trax</artifactId>
+            <version>1.6.5</version>
+          </dependency>
+        </dependencies>
+        <executions>
+          <execution>
+            <id>generateTLD</id>
+            <phase>generate-resources</phase>
+            <configuration>
+              <tasks>
+                <xslt in="src/util/rdc.xml"
+                      out="src/main/tld/taglibs-rdc.tld"
+                      style="src/util/tld20.xsl"/>
+              </tasks>
+            </configuration>
+            <goals>
+              <goal>run</goal>
+            </goals>
+          </execution>
+          <execution>
+            <id>generateTLDxdoc</id>
+            <phase>pre-site</phase>
+            <configuration>
+              <tasks>
+                <xslt in="src/util/rdc.xml"
+                      out="src/site/xdoc/tlddoc.xml"
+                      style="src/util/taglibs20-doc.xsl">
+                  <param name="generationtarget" expression="xdoc"/>
+                </xslt>
+              </tasks>
+            </configuration>
+            <goals>
+              <goal>run</goal>
+            </goals>
+          </execution>
+          <execution>
+            <id>generateTLDhtml</id>
+            <phase>pre-site</phase>
+            <configuration>
+              <tasks>
+                <xslt in="src/util/rdc.xml"
+                      out="target/site/tlddoc-plain.html"
+                      style="src/util/taglibs20-doc.xsl">
+                  <param name="generationtarget" expression="html"/>
+                </xslt>
+              </tasks>
+            </configuration>
+            <goals>
+              <goal>run</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
   </build>
 
   <reporting>



---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org


Mime
View raw message