Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337483 - Importing Apache Aries the build flags errors in the poms
Summary: Importing Apache Aries the build flags errors in the poms
Status: CLOSED INVALID
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-17 14:56 EST by Alasdair Nottingham CLA
Modified: 2021-04-19 13:25 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alasdair Nottingham CLA 2011-02-17 14:56:28 EST
Mojo execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-antrun-plugin:1.2:run {execution: create-prop} (maven lifecycle phase: initialize)

Mojo execution not covered by lifecycle configuration: org.codehaus.mojo:properties-maven-plugin:1.0-alpha-2:read-project-properties {execution: default} (maven lifecycle phase: initialize)

An example pom with this problem is here:

https://svn.apache.org/repos/asf/aries/trunk/application/application-utils/pom.xml

I have IAM 0.13 and a Tycho build from https://www.sonatype.com/~ifedorenko/m2e4m2e/
Comment 1 Igor Fedorenko CLA 2011-02-17 15:14:03 EST
Assuming you meant "m2e 0.13", this is expected. The idea is that m2e needs to know what to do with all plugin executions bound to "interesting" build lifecycle phases in order to guarantee predictable behaviour. As of now, m2e does not know anything about maven-antrun-plugin and properties-maven-plugin, so it marks these as errors. 

If the plugin executions are not needed to be able to compile the project and run tests, then you can safely ignore these errors. It is also possible to suppress them via additional configuration elements in pom.xml and I believe there is a quick fix associated with the error markers to help you do that.

If the plugin executions are needed to be able to compile the project and run tests... then m2e-users is a good place to discuss possible options.
Comment 2 Denis Roy CLA 2021-04-19 13:25:11 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/