Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1.1
-
None
Description
Following the example given on the plugin site, I used a fileset with a directory like so.
<plugin> <artifactId>maven-clean-plugin</artifactId> <configuration> <filesets> <fileset> <directory> src/main/application </directory> <includes> <include>*.jar</include> </includes> </fileset> </filesets> </configuration> </plugin>
I did this, or a variation on it, to several projects. I then created a parent pom in the directory above those projects, added them as modules in that pom, and ran "mvn clean" expecting to have those specified directories cleaned for me (of all jar files). However, it did not work. To get it to work, I had to prefix my directories with ${basedir}, for example "${basedir}/src/main/application".
If this is the desired behavior, I recommend adding one sentence to the documentation to explain this.