Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-604

error "maven-resources-plugin prior to 2.4 is not supported by m2e " on creation of new FuseIDE project using servicemix-osgi-cxf-code-first-archetype

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 7.1.0
    • 2.1.0
    • None
    • None

    Description

      Create a new FuseIDE project using the servicemix-osgi-cxf-code-first-archetype (version 2010.02.0-fuse-02-00).

      I get the error:

      maven-resources-plugin prior to 2.4 is not supported by m2e. Use maven-resources-plugin version 2.4 or later.
      pom.xml /b line 27 Maven Project Build Lifecycle Mapping Problem

      The issue is on the line: <packaging>bundle</packaging>

      I can work around the issue by manually editing pom.xml and adding:

      <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-resources-plugin</artifactId>
      <version>2.4.3</version>
      </plugin>

      and then running Maven | Update Project Configuration.

      I believe the issue also applies to some of the other archetypes (perhaps only to the older ones)

      Attachments

        Issue Links

          Activity

            People

              lheinema@redhat.com Lars Heinemann
              mbrooks_jira Mark Brooks (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: