Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-21324

Remove obsolete Eclipse M2E lifecycle-mapping configuration from quickstarts parent POM

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 39.0.0.Final
    • 39.0.0.Beta1
    • Quickstarts
    • None

      Problem

      During CI Maven builds, the following warnings are logged:

      [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
      

      Root Cause

      The parent POM (pom.xml) contains Eclipse M2E lifecycle-mapping configuration that instructs Eclipse IDE to ignore certain Maven plugin executions during incremental builds:

      • buildmetadata-maven-plugin:provide-buildmetadata
      • project-sources-maven-plugin:archive
      • jaxws-tools-maven-plugin:wsconsume

      This configuration uses a virtual plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 which does not exist in Maven repositories - it is only a marker for Eclipse M2E plugin.

      Proposed Solution

      Eclipse IDE is no longer supported for quickstarts development. The M2E lifecycle-mapping configuration can be removed entirely from the parent POM.

      Affected Files

      • pom.xml - remove [plugin] block for org.eclipse.m2e:lifecycle-mapping

      Impact

      • Removes ~70 lines of obsolete configuration
      • Eliminates harmless but noisy warnings during CI builds
      • No functional impact on Maven builds

              emartins@redhat.com Eduardo Martins
              rhn-support-kstekovi Krystof Stekovic
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: