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

Commits on Aug 25, 2022

  1. Move lifecycle-mapping plugin into Eclipse specific profile

    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 committed Aug 25, 2022
    Configuration menu
    Copy the full SHA
    788649b View commit details
    Browse the repository at this point in the history