Re: How to separately configure each Mojo of a plugin executed from command line?

2014-02-26 Thread Stephen Connolly
Ahh yes. It won't work because you can only have one default-cli. There are ways around but they get tricky and are rather hacky. Any reason why you can't just type mvn release:clean -DsomeProperty=... && mvn release:prepare -DsomeProperty=... && mvn release:perform -DsomeProperty=... On 26 F

Re: How to separately configure each Mojo of a plugin executed from command line?

2014-02-26 Thread Anders Hammar
Don't think it's possible. I guess the idea is that if you have the same parameter in multiple goals, they would have the same configuration. If the parameter is configurable from command-line (thourgh a property), you could do it that way instead. Maybe not what you want, but it would work. /And

How to separately configure each Mojo of a plugin executed from command line?

2014-02-25 Thread Juergen Hartl
Hi, with regards to the info given at: https://maven.apache.org/guides/mini/guide-default-execution-ids.html How can I configure separately each Mojo of a plugin, if these mojos are executed from command line? e.g. mvn release:clean //SomeProperty == X mvn release:prepare //SomeProperty == A