worker321 发表于 2016-12-13 11:10:41

hadoop Maven maven-resources-plugin prior to 2.4 is not supported by m2e. Use ma

In the tika.parent project you can find org.apache.apache.6 as parent:

<parent>
    <groupId>org.apache</groupId>
    <artifactId>apache</artifactId>
    <version>6</version>
    <relativePath />
</parent>
And in the pom.xml from org.apache apache you can find:

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

add the following into the pom of tika.parent under "build - pluginManagement - plugins" (line 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>
...
And then ask the tika team to use a newer org.apache apache parent pom.
页: [1]
查看完整版本: hadoop Maven maven-resources-plugin prior to 2.4 is not supported by m2e. Use ma