[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [m2e-users] m2e and maven-clean-plugin ?
|
How did you map clean:clean in m2e? Can you attach small example that
demonstrates your setup?
--
Regards,
Igor
On 2014-08-12, 18:23, Cristiano Gavião wrote:
Hello,
I added the maven-clean-plugin setup below in my project in
order to delete some generated resource folders at each build.
I would like that this could happen when I use m2e's "Update
Project...", but this remotion is not happen inside eclipse:
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<configuration>
<filesets>
<fileset>
<directory>${basedir}</directory>
<includes>
<include>*.jar</include>
<include>CONFIG/</include>
</includes>
<followSymlinks>false</followSymlinks>
</fileset>
</filesets>
</configuration>
</plugin>
I could note that lifecycle clean:clean is ignored by m2e by
default. So, I enabled its execution using a lifecycle-mapping.
I can see in lifecycle properties view now that it is not
ignored anymore, but I can't see any resource being deleted.
what is the reason of clean:clean is being ignored by default?
and is there any way to use maven-clean-plugin with m2e ?
many thanks,
Cristiano
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/m2e-users