[
https://issues.apache.org/jira/browse/HADOOP-12893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15292951#comment-15292951
]
Tsuyoshi Ozawa commented on HADOOP-12893:
-----------------------------------------
[~xiaochen] I tried following commands:
{code}
<on trunk>
$ git apply -p0 HADOOP-12893.002.patch
$ mvn clean install -DskipTests
{code}
Result is as follows:
{quote}
\[ERROR\] Failed to execute goal
org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process (default) on
project hadoop-project: Resources archive cannot be found. Could not find
artifact org.apache.hadoop:hadoop-resource-bundle:jar:3.0.0-alpha1-SNAPSHOT
\[ERROR\]
\[ERROR\] Try downloading the file manually from the project website.
\[ERROR\]
\[ERROR\] Then, install it using the command:
\[ERROR\] mvn install:install-file -DgroupId=org.apache.hadoop
-DartifactId=hadoop-resource-bundle -Dversion=3.0.0-alpha1-SNAPSHOT
-Dpackaging=jar -Dfile=/path/to/file
\[ERROR\]
\[ERROR\] Alternatively, if you host your own repository you can deploy the
file there:
\[ERROR\] mvn deploy:deploy-file -DgroupId=org.apache.hadoop
-DartifactId=hadoop-resource-bundle -Dversion=3.0.0-alpha1-SNAPSHOT
-Dpackaging=jar -Dfile=/path/to/file -Durl=url -DrepositoryId=\[id\]
\[ERROR\]
\[ERROR\]
\[ERROR\] org.apache.hadoop:hadoop-resource-bundle:jar:3.0.0-alpha1-SNAPSHOT
\[ERROR\]
\[ERROR\] from the specified remote repositories:
\[ERROR\] apache.snapshots.https
(https://repository.apache.org/content/repositories/snapshots, releases=true,
snapshots=true),
\[ERROR\] repository.jboss.org
(http://repository.jboss.org/nexus/content/groups/public/, releases=true,
snapshots=false),
\[ERROR\] central (http://repo.maven.apache.org/maven2, releases=true,
snapshots=false)
\[ERROR\] -> \[Help 1\]
\[ERROR\]
{quote}
It seems that license META-INF looks to be missing on server. Hence, I also
tried to install following command, but it still failed.
{code}
mvn install:install-file -DgroupId=org.apache.hadoop
-DartifactId=hadoop-resource-bundle -Dversion=3.0.0-alpha1-SNAPSHOT
-Dpackaging=jar
-Dfile=./hadoop-resource-bundle/src/main/resources/META-INF/*.txt
{code}
> Verify LICENSE.txt and NOTICE.txt
> ---------------------------------
>
> Key: HADOOP-12893
> URL: https://issues.apache.org/jira/browse/HADOOP-12893
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 2.8.0, 2.7.3, 2.6.5, 3.0.0-alpha1
> Reporter: Allen Wittenauer
> Assignee: Xiao Chen
> Priority: Blocker
> Attachments: HADOOP-12893.002.patch, HADOOP-12893.01.patch
>
>
> We have many bundled dependencies in both the source and the binary artifacts
> that are not in LICENSE.txt and NOTICE.txt.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]