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

Cannot build with maven 3.8.4 as local repository does not have checksums. #75

Open
ravn opened this issue Jul 13, 2022 · 3 comments
Open

Comments

@ravn
Copy link

ravn commented Jul 13, 2022

Trying to run build-and-test.sh I get many, many errors similar to:

Downloading from my-local-repo: file:///Users/ravn/git/jdeploy/cli/../maven-repository/ca/weblite/jdeploy/image4j/0.7.2/image4j-0.7.2.pom
[WARNING] Could not validate integrity of download from file:///Users/ravn/git/jdeploy/cli/../maven-repository/ca/weblite/jdeploy/image4j/0.7.2/image4j-0.7.2.pom
org.eclipse.aether.transfer.ChecksumFailureException: Checksum validation failed, no checksums available
    at org.eclipse.aether.internal.impl.AbstractChecksumPolicy.onNoMoreChecksums (AbstractChecksumPolicy.java:64)

I understand why there is a local cache of artifacts (I did similar work some years back) but this might need to be revisited. Do these have any special changes or are you just providing copies of artifacts not present in Maven Central?

@shannah
Copy link
Owner

shannah commented Jul 13, 2022

That is a warning not an error. If you have an error preventing build, then it is elsewhere in the readout.

@ravn
Copy link
Author

ravn commented Jul 14, 2022

You are right. Those are just warnings, which can be disabled with mvn -c.

I am still curious about reasoning being the maven-repository files, though.

@shannah
Copy link
Owner

shannah commented Jul 14, 2022

There are some artifacts that need to be added to the classpath but aren't in Maven, and this is one way to add the dependencies.

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

2 participants