danielflower / multi-module-maven-release-plugin

A maven release plugin that is fast, does not add extra commits, and works well with single or multiple modules
http://danielflower.github.io/multi-module-maven-release-plugin/index.html
MIT License
125 stars 64 forks source link

Error during release of single module #85

Open Marx2 opened 5 years ago

Marx2 commented 5 years ago

Using command mvn -DmodulesToRelease="test-service" -DpushTags=false -Darguments="-DignoreSnapshots=true" releaser:release -P test I'm getting an Maven error:

[INFO] Will use version 2.0.1 for test-service as although no change was detected, the artifact cannot be resolved!
[INFO] Going to release test-service 2.0.1
[INFO] About to tag the repository with test-service-2.0.1
[INFO] About to run mvn [install, -DignoreSnapshots=true] with profiles [test, default]

Unable to parse command line options: Missing argument for option: pl
usage: mvn [options] [<goal(s)>] [<phase(s)>]

Releasing without modulesToRelease parameter works ok Maven used: 3.6.1 Plugin version: multi-module-maven-release-plugin:3.2.0

sf666 commented 2 years ago

Same here ...

danielflower commented 2 years ago

There are tests that that have this working, so in theory it should work. Do you have a reproducible build? Or as it is complaining about arguments, does it work with various things removed? (e.g. does removing -Darguments="-DignoreSnapshots=true" fix it?)