"maven-resources-plugin up to 2.4 is not supported by m2e"

I'm having problems with m2e (Maven plugin in the Eclipse IDE).

I see the following error: maven-resources-plugin prior to 2.4 is not supported by m2e. Use maven-resources-plugin version 2.4 or later.

I do not know how to solve this error. I am sure this is a problem with m2e (maybe a setup?).

Background:

  • I am trying to create Tika v0.9 http://svn.apache.org/repos/asf/tika/tags/0.9/
  • I can build using Maven from the command line.
  • I can build using Netbeans v7.0.1.
  • I am running Maven 3.0.3.
  • I am running Eclipse Indigo Service Release 1 (Build id: 20110916-0149)
  • I am running m2e v1.0.100.20110804-1717

Thanks for any help.

Albert

+5
3

tika.parent org.apache.apache.6 :

  <parent>
    <groupId>org.apache</groupId>
    <artifactId>apache</artifactId>
    <version>6</version>
    <relativePath />
  </parent>

pom.xml org.apache apache :

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-resources-plugin</artifactId>
  <version>2.3</version>
  <configuration>
    <encoding>${project.build.sourceEncoding}</encoding>
  </configuration>
</plugin>

:

pom tika.parent "build-pluginManagement-plugins" ( 230):

    <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-resources-plugin</artifactId>
      <version>2.5</version>
      <configuration>
        <encoding>${project.build.sourceEncoding}</encoding>
      </configuration>
    </plugin>
  ...

tika org.apache apache parent pom.

+7

eclipse? ( mvn eclipse:eclipse "import maven project" Eclipse?)

, : POM.xml

+1

, : 1) Maven Ecplise. 2) Maven : http://m2eclipse.sonatype.org/sites/m2e -Rushi

+1
source

All Articles