ChargeTimeEU / ChargeTime-HQ

Application for operating charge equipment.
MIT License
6 stars 5 forks source link

Unablel to get snapshots #8

Open ghost opened 2 years ago

ghost commented 2 years ago

Hello!

I am trying to run the example server, but I am unable to download the dependencies via mvn install 'cause the permision of the oss.sonartype repo.

How can I configure my project to be able to download the snapshots?

Thanks.

Error trace:

Failed to execute goal on project ocpp: Could not resolve dependencies for project eu.chargetime.hq:ocpp:jar:0.1-SNAPSHOT: eu.chargetime.ocpp:v1_6:jar:0.4-SNAPSHOT was not found in https://oss.sonatype.org/content/repositories/snapshots during a previous attemp
t. This failure was cached in the local repository and resolution is not reattempted until the update interval of snapshots has elapsed or updates are forced -> [Help 1]
TVolden commented 2 years ago

Hi @alex-vergara-ecomt,

I think the code relies on an old version of the OCPP library that never fully made it to maven repo. Changing the versions in the pom file to the versions available on maven repo, should fix it.

Sincerely, Thomas Volden