myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manfred Geiler <manfred.gei...@gmail.com>
Subject Re: [maven] Issue with Core Release
Date Tue, 14 Feb 2006 08:14:48 GMT
Something like this should do it:

      <plugin>
        <artifactId>maven-antrun-plugin</artifactId>
        <executions>
          <execution>
            <phase>generate-sources</phase>
            <configuration>
              <tasks>
                <xslt basedir="src/main/tld"
                      includes="*.tld"
                      destdir="${project.build.directory}/tld"
                      style="src/main/tld/misc/resolve_entities.xsl"
                      extension=".tld">
                    <xmlcatalog>
                        <dtd publicid="-//Sun Microsystems, Inc.//DTD
JSP Tag Library 1.2//EN"
                             location="src/main/tld/misc"/>
                    </xmlcatalog>
                </xslt>
              </tasks>
            </configuration>
            <goals>
              <goal>run</goal>
            </goals>
          </execution>
        </executions>
    </plugin>

Have not tried it yet. Perhaps I will have a chance to play around a
little bit in the afternoon.

Manfred




On 2/14/06, Sean Schofield <sean.schofield@gmail.com> wrote:
> > Maybe the maven-antrun-plugin can help until the xslt plugin is released.
>
> How so?  To run an ant xslt task?
>
> > Bernd
>
> Sean
>

Mime
View raw message