Aditya vasistha
Aditya vasistha

Reputation: 1

Error while building maven project s4hana cloud sdk

with RELEASE version mentioned in archeType its giving this error

Execution default of goal com.sap.cloud.s4hana.plugins:s4sdk-maven-plugin:2.19.1:usage-analytics failed: Plugin com.sap.cloud.s4hana.plugins:s4sdk-maven-plugin:2.19.1 or one of its dependencies could not be resolved: Failed to collect dependencies at com.sap.cloud.s4hana.plugins:s4sdk-maven-plugin:jar:2.19.1 -> com.sap.cloud.s4hana.plugins:usage-analytics:jar:2.19.2-SNAPSHOT

at the time of mvn clean install

Upvotes: 0

Views: 199

Answers (1)

Sander Wozniak
Sander Wozniak

Reputation: 650

This error hints at a problem with your local Maven repository, which seems to contain a newer SNAPSHOT version.

Either use mvn clean install -U to force an update of dependencies, or delete your local .m2 folder to download dependencies again.

Upvotes: 1

Related Questions