Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Plugin doesn't construct the right path for test-jar #29

Open
knl opened this issue Sep 27, 2022 · 0 comments
Open

Plugin doesn't construct the right path for test-jar #29

knl opened this issue Sep 27, 2022 · 0 comments

Comments

@knl
Copy link

knl commented Sep 27, 2022

When I try to create repository-info.json for hadoop 2.10.2, I get this error:

[INFO] Apache Hadoop Azure Data Lake support .............. SUCCESS [  0.000 s]
[INFO] Apache Hadoop Tools Dist ........................... SUCCESS [  0.001 s]
[INFO] Apache Hadoop Tools ................................ SUCCESS [  0.001 s]
[INFO] Apache Hadoop Distribution ......................... SUCCESS [  0.010 s]
[INFO] Apache Hadoop Cloud Storage ........................ SUCCESS [  0.000 s]
[INFO] Apache Hadoop Cloud Storage Project ................ FAILURE [  0.728 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.075 s
[INFO] Finished at: 2022-09-27T15:34:20+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.nixos.mvn2nix:mvn2nix-maven-plugin:1.2.0:mvn2nix (default-cli) on project hadoop-cloud-storage-project: Downloading SHA-1 for org.apache.hadoop:hadoop-hdfs:test-jar:2.7.0: resource missing at https://repo.maven.apache.org/maven2/org/apache/hadoop/hadoop-hdfs/2.7.0/hadoop-hdfs-2.7.0.test-jar.sha1, status: 404 Not Found -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :hadoop-cloud-storage-project

The path that is being requested is wrong. There is no hadoop-hdfs-2.7.0.test-jar.sha1, but there is hadoop-hdfs-2.7.0-tests.jar.sha1.

The dependency in hadoop-project/pom.xml is this one:

      <dependency>
        <groupId>org.apache.hadoop</groupId>
        <artifactId>hadoop-hdfs</artifactId>
        <version>${project.version}</version>
        <type>test-jar</type>
      </dependency>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant