>Besides when I have a look into the log of m2eclipse I get errors
>like:

>DEPRECATED: Binding aggregator mojos to lifecycle phases in the
>POM is considered dangerous. This feature has been deprecated.
>Please adjust your POM files accordingly.
>Offending mojo:
>org.apache.maven.plugins:maven-enforcer-plugin:1.0-alpha-3:enforce-once

>This does NOT show up, when I run maven on the commandline.
>What the hack is going on there.

This is because M2e (and q4e) use the 2.1 embedder. If you grab a 2.1
command line, you will see the same output. Additionally, the
enforce-once goal is deprecated in the next release of enforcer as it
causes Maven to do weird things (which is why in 2.1 binding an
aggregator to a lifecycle is also deprecated).

You can read more about this and all the related issues here:
http://jira.codehaus.org/browse/MENFORCER-11
The short thing is you should immediately change to use the "enforce"
goal instead of "enforce-once"...this may actually be the root of many
of your issues.

--Brian

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to