Maven Plugin Refelction

2014-11-30 Thread Thomas Scheffler
Hi there, I try to write a simple plugin. I want to have access to the version of this plugin. As maven already knows it, I wondered, if I can get access to this version string somehow without hardcoding it in properties or java code. kind regards, Thomas --

AW: Problems with the release plugin

2014-11-30 Thread Christofer Dutz
Oh well ... I give up ... so yet another plugin it will be. I wasn't talking about changing anything at the workflow, just to have one enforced constraint loosended a little if required, but I guess this will never happen. Chris -Ursprüngliche Nachricht- Von: Benson Margulies [mailt

Re: Problems with the release plugin

2014-11-30 Thread Benson Margulies
The release plugin is a tool that does a specified set of steps. It's built out of reusable components. Turning it into MS Word with 10,000,000 options is not, in my view, a good plan. If you can write down a clear spec for an alternative workflow, you can study the source and make a plugin. That'

Re: Problems with the release plugin

2014-11-30 Thread Stephen Connolly
On Sunday, 30 November 2014, Christofer Dutz wrote: > Unfortunately the world isn't as ideal as I would like it to be. There are > sometimes constraints that lie outside of the reach of the developer(s) > working on the projects build. > > In one case the company I worked for desperately needed t

AW: Problems with the release plugin

2014-11-30 Thread Christofer Dutz
Unfortunately the world isn't as ideal as I would like it to be. There are sometimes constraints that lie outside of the reach of the developer(s) working on the projects build. In one case the company I worked for desperately needed to release parts of a multi module build separately. I know t

Re: Problems with the release plugin

2014-11-30 Thread Benson Margulies
I'm going to attempt a summary here. The release plugin has a requirement. It must be true that you can go to the SCM, checkout a brand new copy of the tree rooted at the element, _change the versions_ in the pom(s), and run a build as configured by the profiles and goals. If that's not true, the

AW: Problems with the release plugin

2014-11-30 Thread Christofer Dutz
Hi Robert, Thanks for your reply, but I have encountered numerous situations where this restriction resulted in people not using the pulugin at all ... doing each step with alternate plugins and unfortunately leaving away some of the steps. So ususally they use the versions plugin or manually a

Re: release plugin issue

2014-11-30 Thread Stephen Connolly
On Sunday, November 30, 2014, Mirko Friedenhagen wrote: > Stephen, > > thanks for these hints, I sometimes used -DperformRelease=true validate as > prepGoal and as git does not force you to push tags and is able to clone > from the local repository as well, your way is much safer. However with sv

Re: release plugin issue

2014-11-30 Thread Mirko Friedenhagen
Stephen, thanks for these hints, I sometimes used -DperformRelease=true validate as prepGoal and as git does not force you to push tags and is able to clone from the local repository as well, your way is much safer. However with svn removing/readding/recommitting etc. is painful and always leads t