[ https://issues.apache.org/jira/browse/HADOOP-13816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17793758#comment-17793758 ]
Masatake Iwasaki commented on HADOOP-13816: ------------------------------------------- cherry-picked this to branch-2.10 in order to fix the error on running dev-support/bin/create-release script. {noformat} $ less patchprocess/mvn_install_maven_plugins.log ... [ESC[1;33mWARNINGESC[m] Some problems were encountered while building the effective model for org.apache.hadoop:hadoop-build-tools:jar:2.10.3-SNAPSHOT [ESC[1;33mWARNINGESC[m] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-resources-plugin is missing. @ org.apache.hadoop:hadoop-build-tools:[unknown-version], /build/source/hadoop-build-tools/pom.xml, line 54, column 15 [ESC[1;33mWARNINGESC[m] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-remote-resources-plugin is missing. @ org.apache.hadoop:hadoop-build-tools:[unknown-version], /build/source/hadoop-build-tools/pom.xml, line 80, column 15 ... [ESC[1;31mERRORESC[m] Failed to execute goal ESC[32morg.apache.maven.plugins:maven-remote-resources-plugin:3.1.0:bundleESC[m ESC[1m(default)ESC[m on project ESC[36mhadoop-build-toolsESC[m: ESC[1;31mExecution default of goal org.apache.maven.plugins:maven-remote-resources-plugin:3.1.0:bundle failed:\ Unable to load the mojo 'bundle' in the plugin 'org.apache.maven.plugins:maven-remote-resources-plugin:3.1.0' due to an API incompatibility: org.codehaus.plexus.component.repository.exception.ComponentLookupException: org/apache/maven/plugin/resources/remote/BundleRemoteResourcesMojo : Unsupported\ major.minor version 52.0ESC[m {noformat} > Ambiguous plugin version warning from maven build. > -------------------------------------------------- > > Key: HADOOP-13816 > URL: https://issues.apache.org/jira/browse/HADOOP-13816 > Project: Hadoop Common > Issue Type: Bug > Affects Versions: 3.0.0-alpha2 > Reporter: Kai > Assignee: Kai > Priority: Minor > Fix For: 3.0.0-alpha2 > > Attachments: HADOOP-13816.01.patch > > > When we try to build Hadoop with maven, the below warning is shown. > {code} > [WARNING] > [WARNING] Some problems were encountered while building the effective model > for org.apache.hadoop:hadoop-rumen:jar:3.0.0-alpha2-SNAPSHOT > [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must > be unique: com.fasterxml.jackson.core:jackson-databind:jar -> duplicate > declaration of version (?) @ line 102, column 17 > [WARNING] > [WARNING] Some problems were encountered while building the effective model > for org.apache.hadoop:hadoop-build-tools:jar:3.0.0-alpha2-SNAPSHOT > [WARNING] 'build.plugins.plugin.version' for > org.apache.maven.plugins:maven-remote-resources-plugin is missing. @ > org.apache.hadoop:hadoop-build-tools:[unknown-version], > /Users/sasakikai/dev/hadoop/hadoop-build-tools/pom.xml, line 80, column 15 > [WARNING] 'build.plugins.plugin.version' for > org.apache.maven.plugins:maven-resources-plugin is missing. @ > org.apache.hadoop:hadoop-build-tools:[unknown-version], > /Users/sasakikai/dev/hadoop/hadoop-build-tools/pom.xml, line 54, column 15 > {code} > It is required to > - remove duplicated definition {{jackson-databind}} > - specify the version {{maven-resource-plugin}} and > {{maven-remote-resources-plugin}}. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org