Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move lifecycle-mapping plugin into Eclipse specific profile #616

Merged
merged 1 commit into from
Aug 26, 2022

Conversation

mwperina
Copy link
Member

org.eclipse.m2e:lifecycle-mapping plugin is used only when the project
is edited in Eclipse IDE, it's not relevant for other maven invocation.
Unfortunately it emits bellow warning during maven execution:

[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

So this patches moves the plugin invocation into its own profile, which
is automatically invoked only when a project is loaded into Eclipse
IDE.

Signed-off-by: Martin Perina mperina@redhat.com

org.eclipse.m2e:lifecycle-mapping plugin is used only when the project
is edited in Eclipse IDE, it's not relevant for other maven invocation.
Unfortunately it emits bellow warning during maven execution:

 [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

So this patches moves the plugin invocation into its own profile, which
is automatically invoked only when a project is loaded into Eclipse
IDE.

Signed-off-by: Martin Perina <mperina@redhat.com>
@mwperina mwperina merged commit ffedbdd into oVirt:master Aug 26, 2022
@mwperina mwperina deleted the m2e-is-required-for-eclipse-only branch August 26, 2022 08:12
mwperina added a commit to mwperina/ovirt-engine that referenced this pull request Sep 1, 2022
As a part of oVirt#616
lifecycle-mapping has been move into eclipse specific profile in root
pom.xml, but unfortunately other places were missed.

Signed-off-by: Martin Perina <mperina@redhat.com>
mwperina added a commit to mwperina/ovirt-engine that referenced this pull request Sep 2, 2022
As a part of oVirt#616
lifecycle-mapping has been move into eclipse specific profile in root
pom.xml, but unfortunately other places were missed.

Signed-off-by: Martin Perina <mperina@redhat.com>
mwperina added a commit that referenced this pull request Sep 2, 2022
As a part of #616
lifecycle-mapping has been move into eclipse specific profile in root
pom.xml, but unfortunately other places were missed.

Signed-off-by: Martin Perina <mperina@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant