ArneD wrote on Monday, August 28, 2006 3:57 PM:
> I have a multi-module build. In one of the sub-modules I use the
> maven-clean-plugin in the pom.xml as follows:
>
> <plugin>
> <artifactId>maven-clean-plugin</artifactId>
> <configuration> <filesets>
> <fileset>
> <directory>WebContent/WEB-INF/lib</directory>
> <includes> <include>*</include>
> </includes>
> </fileset>
> </filesets>
> </configuration>
> </plugin>
>
> The WebContent/WEB-INF/lib folder gets cleaned, when I call
> mvn clean on the
> sub-module. But it does not get cleaned when I call mvn clean
> on the main
> module.
>
> Should I file a JIRA issue? Or am I making a mistake? Is there any
> workaround available?
Prepend "${basedir}/" to the directory. Maven does not change the working
directory for (sub-)modules.
- Jörg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]