maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Baptiste MATHUS ...@batmat.net>
Subject Re: How to tell Maven to generate code when XSL has changed?
Date Thu, 25 Apr 2013 10:20:30 GMT
How would you like it to detect that file was changed?
If you can come up with a sensible way of doing that, please just file a
JIRA and we could look into it.
Even better, if you can provide a good patch I can take apply it.

Cheers


2013/4/25 Markus Karg <karg@quipsy.de>

> I am using xml-maven-plugin to generate Java code from XML:
>
>
>
>        <groupId>org.codehaus.mojo</groupId>
>
>        <artifactId>xml-maven-plugin</artifactId>
>
>        <version>1.0</version>
>
>        <executions>
>
>              <execution>
>
>                     <phase>generate-sources</phase>
>
>                     <goals>
>
>                            <goal>transform</goal>
>
>                     </goals>
>
>              </execution>
>
>        </executions>
>
>
>
> This works well, but now I want that it automatically executes as soon
> as the used transformation XSLT file was modified. So how can I tell
> maven that it shall do generate-sources as soon as a particular file was
> touched?
>
>
>
> Thanks!
>
> -Markus
>
> --
> Baptiste <Batmat> MATHUS - http://batmat.net
> Sauvez un arbre,
> Mangez un castor ! nbsp;!

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message