`

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.
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics