st-tu-dresden / videoshop

SalesPoint sample application
Apache License 2.0
87 stars 246 forks source link

Build fails due to unresolved dependency #142

Closed andreasdomanowski closed 3 years ago

andreasdomanowski commented 3 years ago

The project cannot be built currently due to an erroneous dependency to org.javamoney.moneta. Maven can't read its artifact descriptor (Windows as well as WSL, Java 11.0.12, Maven 3.8.2)

Setting the property salespoint.version in the parent pom to 7.3.1 should fix this. Issue #141 may do this, unfortunately, I can't see the new version of the parent pom.

[ERROR] Failed to execute goal on project videoshop: Could not resolve dependencies for project de.tudresden.inf.st:videoshop:jar:2.0.0.BUILD-SNAPSHOT: Failed to collect dependencies at de.tudresden.inf.st:salespoint-framework:jar:7.3.0 -> org.javamoney.moneta:moneta-core:jar:1.4-tud: Failed to read artifact descriptor for org.javamoney.moneta:moneta-core:jar:1.4-tud: Could not transfer artifact org.javamoney:moneta-parent:pom:1.4-tud from/to spring-libs-release (https://repo.spring.io/libs-release): authentication failed for https://repo.spring.io/libs-release/org/javamoney/moneta-parent/1.4-tud/moneta-parent-1.4-tud.pom, status: 401 Unauthorized -> [Help 1]

martinmo commented 3 years ago

Hi, this is related to https://github.com/st-tu-dresden/salespoint/issues/346. It's also possible to set salespoint.version in the videoshop pom.xml until we fix it in the parent.

martinmo commented 3 years ago

I've committed your proposed solution as an intermediate fix. This way, our tutors don't run into problems when the try the videoshop.