container icon indicating copy to clipboard operation
container copied to clipboard

Could not resolve dependencies

Open PhilWun opened this issue 1 year ago • 0 comments

Current Behavior: When trying to build with mvn package -DskipTests -U an error is thrown:

[ERROR] Failed to execute goal on project org.opentosca.container.core: Could not resolve dependencies for project org.opentosca:org.opentosca.container.core:jar:3.0.0-SNAPSHOT: The following artifacts could not be resolved: com.github.opentosca.winery:org.eclipse.winery.model.tosca.canonical:jar:ustutt-SNAPSHOT, com.github.opentosca.winery:org.eclipse.winery.repository:jar:ustutt-SNAPSHOT: Could not find artifact com.github.opentosca.winery:org.eclipse.winery.model.tosca.canonical:jar:ustutt-0d66174a0f-1 in jitpack (https://jitpack.io) -> [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/DependencyResolutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :org.opentosca.container.core

Expected Behavior: No error.

Steps to Reproduce: Run mvn package -DskipTests -U.

Other Information: It seems like the maven repository jitpack is no longer working properly. Some artifacts can be downloaded, others not. Letting them build again on jitpack doesn't seem to work either.

System Information: macOS 13.4.1 MacBook Pro with M1 processor

and

Ubuntu 22.04.01 on Github Actions https://github.com/OpenTOSCA/container/actions/runs/5454614077/jobs/9924970026

PhilWun avatar Jul 07 '23 08:07 PhilWun