[jbosstools-dev] No way to get rid of annoying lifecycle warning ?
Max Rydahl Andersen
max.andersen at redhat.com
Fri Nov 16 19:04:35 EST 2012
I'm not sure when it was introduced but it started to drive me crazy..
We got this in our parent pom (and a few other plugins):
<!--This plugin's configuration is used to store Eclipse m2e settings only.
It has no influence on the Maven build itself.-->
<!-- Workaround for https://bugs.eclipse.org/bugs/show_bug.cgi?id=350414 -->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
Which seem to cause our build to spit out a warning for *every* damn component:
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building gwt.all 1.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0
X ~420.
Can we not avoid this ? didn't m2e actually get fixed to not require these kind of changes....or at least have a way to dump this [warning] on every build ? (i.e. shouldn't this not only be present in a specific m2e profile ?!
Fred/Mickael, ?
/max
More information about the jbosstools-dev
mailing list