Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

au.csiro.aehrc.third.hail-is issue #239

Closed
ChristinaXu2017 opened this issue Aug 27, 2024 · 1 comment
Closed

au.csiro.aehrc.third.hail-is issue #239

ChristinaXu2017 opened this issue Aug 27, 2024 · 1 comment

Comments

@ChristinaXu2017
Copy link
Collaborator

ChristinaXu2017 commented Aug 27, 2024

Problem

We follow the document to run mvn clean install but got below message:

[ERROR] Failed to execute goal on project variant-spark_2.12: Could not resolve dependencies for project au.csiro.aehrc.variant-spark:variant-spark_2.12:jar:0.5.3-SNAPSHOT: The following artifacts could not be resolved: au.csiro.aehrc.third.hail-is:hail_2.12_3.1:jar:all:0.2.74-SNAPSHOT (absent): Could not find artifact au.csiro.aehrc.third.hail-is:hail_2.12_3.1:jar:all:0.2.74-20210902.035537-2 in ossrh (https://oss.sonatype.org/content/repositories/snapshots)

Investigation

I checked the mvn repo https://oss.sonatype.org/#nexus-search;quick~au.csiro.aehrc.third.hail-is; but the hail_2.12_3.1-0.2.74-SNAPSHOT-all.jar is not found in the repository. While hail_2.12_3.1-0.2.74-SNAPSHOT.jar exists.

I guess this two jar files hail_2.12_3.1-0.2.74-SNAPSHOT*.jar are same. Once we downloaded the one listed in the provided scope, it can be used for both run time and unit tests time. Let's try to remove below block of dependency from the pom.xml

    <dependency>
      <groupId>au.csiro.aehrc.third.hail-is</groupId>
      <artifactId>hail_${scala.binary.version}_${spark.binary.version}</artifactId>
      <version>${hail.version}-SNAPSHOT</version>
      <classifier>all</classifier>
      <scope>test</scope>
    </dependency>

solution

  • delete your local maven cache, eg. Mac maven local repo is /Users//.m2/repository
  • update the pom.xml
  • run mvn clean install (it works on my Mac)
@ChristinaXu2017
Copy link
Collaborator Author

problem solved during pull request #240

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant