[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [m2e-dev] Plugin execution not covered by lifecycle configuration
|
Your test project has maven-jar-plugin:jar bound to process-classes
build lifecycle phase and m2e does not have explicit mapping for this
plugging.
Note that normally, maven-jar-plugin is bound to package phase iirc,
which is ignored by m2e by default (see [1]). What do you use jar:jar
for? Do you actually need it bound to process-classes?
[1]
https://docs.sonatype.org/display/M2ECLIPSE/Project+build+lifecycle+mapping
--
Regards,
Igor
On 11-05-20 10:42 AM, Ricardo Gladwell wrote:
Hi Guys
Re-writing my AbstractMavenProjectTestCase based PDE unit tests for my
m2eclipse-android-integration using the LATEST build of m2e 0.13.0.
However, my tests are failing on a call to assertNoErrors (see
attached stack trace) with the following error message:
Unexpected error markers
Type=org.eclipse.m2e.core.maven2Problem.lifecycleMapping:Message=Plugin
execution not covered by lifecycle configuration:
org.apache.maven.plugins:maven-jar-plugin:2.3.1:jar (execution:
default-jar, phase: process-classes):LineNumber=22,
Type=org.eclipse.m2e.core.maven2Problem.lifecycleMapping:Message=Project
configurator "org.sonatype.m2e.mavenarchiver.pomProperties" is not
available. To enable full functionality, install the project
configurator and run Maven->Update Project
Configuration.:LineNumber=22 expected:<0> but was:<2>
Any ideas why this might be occuring? Am I doing something wrong?
TIA...
--
Ricardo Gladwell<ricardo.gladwell@xxxxxxxxx>
http://www.google.com/profiles/ricardo.gladwell
Twitter: @rgladwell - MSN: axonrg@xxxxxxxxx