When executing a task to deploy a specific jar from a nexus maven repository it works from one version but not another.
The only difference seems to be a v at the start of one.
Both resolve in the browser.
Working!!! from this command gradle deployJar “-Dorg.gradle.java.home=$env:JAVA_HOME” “-PprojectVersion=2.0” --info --stacktrace
Not working from this command: gradle deployJar “-Dorg.gradle.java.home=$env:JAVA_HOME” “-PprojectVersion=v0.0.28” --info --stacktrace
On error it gives me the following to stdout:
Task :deployJar FAILED
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:deployJar’.
Could not resolve all files for configuration ‘:searchjar’.
Could not find project-search.jar (project :).