Hello,
It seems to me that maven clean plug-in doesn't handle "excludes"
configuration well. For example, I have this configuration:
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<configuration>
<filesets>
<fileset>
<directory>src</directory>
<includes>
<include>**/*.xml</include>
<include>**/*.sql</include>
</includes>
<excludes>
<exclude>**/*.init.xml</exclude>
</excludes>
…</plugin>
My attention is to delete all *.xml file under "src" but leave "*.init.xml"
alone. However, the plug-in removes everything including *.init.xml. Did
anyone encounter the same issue? If so, how did you work around it? using
"antrun" plug-in instead?
Thanks
Yan