On 25.04.2013, at 10:13, "Markus Karg" <[email protected]> wrote:

> 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?
> 
> 
mvn clean :-)
regards 
Leon

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to