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 <[EMAIL PROTECTED]> wrote:
> > Maybe the maven-antrun-plugin can help until the xslt plugin is released.
>
> How so?  To run an ant xslt task?
>
> > Bernd
>
> Sean
>

Reply via email to