mvn versions:set fail after a build failure

Viewed 19

My snapshot version looks like 2.7.644-SNAPSHOT
So pom.xml normally look like

<parent>
    <groupId>com.orderManager</groupId>
    <artifactId>parent-pom</artifactId>
    <version>2.7.644-SNAPSHOT</version>
    <relativePath>..</relativePath>
</parent>

But after a failed release my pom.xml file looks like

<parent>
    <groupId>com.orderManager</groupId>
    <artifactId>parent-pom</artifactId>
    <version>2.7.644.344</version>
    <relativePath>..</relativePath>
</parent>

When I try to correct all versions by running mvn versions:set -DnewVersion=2.7.644-SNAPSHOT, I get an error Fail Message

mvn is trying to find the failed build jars in a remote repo for some reason.
I'm just trying to change the version names in pom.xml, there's no reason to download jars. Is there a way to run mvn versions:set without downloading current version's jars?

0 Answers
Related