Reputation: 1
When I am trying to release a Maven project using Jenkins, I am getting an error like this:
Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5:prepare (default-cli) on project maven-plugin: You don't have a SNAPSHOT project in the reactor projects list.
Upvotes: 0
Views: 1383
Reputation: 137084
The error message means that the project (or one of its submodules) is not a SNAPSHOT project, i.e. it's version is not [version]-SNAPSHOT
but only [version]
.
You cannot release a project that is not a SNAPSHOT project so you need to change the version of your pom.xml
to include -SNAPSHOT
.
Upvotes: 0