Resolution: Not A Bug
Affects Version/s: 1.0-beta-1
Fix Version/s: None
Environment:maven 3.0-alpha-7, enforcer plugin 1.0-beta-1
Number of attachments :
I tried the example snippet from
with enforcer plugin 1.0-beta-1 and maven 3.0-alpha-7.
It seems the enforcer configuration is only recognized if moved up to the <plugin> level.
<configuration> under <execution> is ignored. The plugin complains that no rules are configured.
This may be a general maven 3 bug ...
See example poms attached for reproducing the problem and an alternative pom with configuration on plugin level which works.
mvn enforcer:enforce -X -e