Re: Plugins and their versions

2009-12-31 Thread Roland Asmann
> 2009/12/31 Roland Asmann : >> Indeed it does! Works like a charm! >> >> Only one problem now: it reports on several SNAPSHOT plugins, which I >> actually DO want! I know it's not good practice to use snapshots, but >> let >> me explain my case here: >> >> I have a multi-module build, which is ALW

Re: Plugins and their versions

2009-12-31 Thread Stephen Connolly
2009/12/31 Roland Asmann : > Indeed it does! Works like a charm! > > Only one problem now: it reports on several SNAPSHOT plugins, which I > actually DO want! I know it's not good practice to use snapshots, but let > me explain my case here: > > I have a multi-module build, which is ALWAYS released

Re: Plugins and their versions

2009-12-31 Thread Roland Asmann
Also, the parameter 'unCheckedPluginsList' doesn't have a setter, so can't be used! Using the previous parameter (unCheckedPlugins) gives a deprecation-warning, but at least it still works. Roland > Thanks Jesse. > > It appears there's some old documentation floating around on the site, > becaus

Re: Plugins and their versions

2009-12-31 Thread Roland Asmann
Thanks Jesse. It appears there's some old documentation floating around on the site, because I hadn't seen that option before! For the maintainers of the plug-in site: >From the usage-page you can get to old (2007!) descriptions of the plug-in which should probably be updated/removed. Roland >

Re: Plugins and their versions

2009-12-31 Thread Jesse Farinacci
Hi Roland, On Thu, Dec 31, 2009 at 7:47 AM, Roland Asmann wrote: > > Now, how can I explain to the enforcer-plugin that this single plug-in > indeed is allowed to be a snapshot?. > > Roland > Even the most casual examination of the documentation reveals the "unCheckedPluginsList - A comma separa

Re: Plugins and their versions

2009-12-31 Thread Roland Asmann
Indeed it does! Works like a charm! Only one problem now: it reports on several SNAPSHOT plugins, which I actually DO want! I know it's not good practice to use snapshots, but let me explain my case here: I have a multi-module build, which is ALWAYS released in a single go. One of my modules is a

Re: Plugins and their versions

2009-12-30 Thread Brian E. Fox
Take a look at the enforcer requirepluginversions rule. It will do what you have asked. --Brian (mobile) On Dec 30, 2009, at 10:26 AM, "Roland Asmann" wrote: Hi all! I was wondering if there is a plugin that can report all configured plugins in a POM. Important to me would be the confi

Re: Plugins and their versions

2009-12-30 Thread Wayne Fay
> Understood, but I'm not interested in the updates, I'm trying to track > down the plugins that have no version configured. > The enforcer plugin can help you find plugins with missing versions, too. Wayne - To unsubscribe, e-m

Re: Plugins and their versions

2009-12-30 Thread Stephen Connolly
yes it tells you the ones with no versions configured, what the effective version is and (the bit you don't want) what the latest version is ;-) Sent from my [rhymes with tryPod] ;-) On 30 Dec 2009, at 17:16, "Roland Asmann" wrote: Understood, but I'm not interested in the updates, I'm

Re: Plugins and their versions

2009-12-30 Thread Roland Asmann
Understood, but I'm not interested in the updates, I'm trying to track down the plugins that have no version configured. > It should tell you what the current version is and "suggest" a newer > version > > 2009/12/30 Roland Asmann : >> Justin's suggestion is close to what I want. Only thing missi

Re: Plugins and their versions

2009-12-30 Thread Stephen Connolly
It should tell you what the current version is and "suggest" a newer version 2009/12/30 Roland Asmann : > Justin's suggestion is close to what I want. Only thing missing is the > plugins that have no versions. The reason I need that, is to find all our > plugins and set their versions. I've had to

Re: Plugins and their versions

2009-12-30 Thread Roland Asmann
Justin's suggestion is close to what I want. Only thing missing is the plugins that have no versions. The reason I need that, is to find all our plugins and set their versions. I've had to many problems with updated plugins that killed my build. The versions-plugin is definitely NOT what I want, i

Re: Plugins and their versions

2009-12-30 Thread Stephen Connolly
also have a look at mvn versions:display-plugin-updates 2009/12/30 Justin Edelson : > On 12/30/09 10:26 AM, Roland Asmann wrote: >> >> Hi all! >> >> I was wondering if there is a plugin that can report all configured >> plugins in a POM. Important to me would be the configured version of the >> p

Re: Plugins and their versions

2009-12-30 Thread Justin Edelson
On 12/30/09 10:26 AM, Roland Asmann wrote: Hi all! I was wondering if there is a plugin that can report all configured plugins in a POM. Important to me would be the configured version of the plugin, so if no such version is given, it should either not give the version or give it as 'latest'. D

Plugins and their versions

2009-12-30 Thread Roland Asmann
Hi all! I was wondering if there is a plugin that can report all configured plugins in a POM. Important to me would be the configured version of the plugin, so if no such version is given, it should either not give the version or give it as 'latest'. Does anybody know of a plugin that can do this

Re: Generate list of plugins and their versions used in a build

2008-10-12 Thread aman kohli
Wendy -- View this message in context: http://www.nabble.com/Generate-list-of-plugins-and-their-versions-used-in-a-build-tp19895592p19941994.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe,

Re: Generate list of plugins and their versions used in a build

2008-10-11 Thread Wendy Smoak
On Sat, Oct 11, 2008 at 3:06 PM, aman kohli <[EMAIL PROTECTED]> wrote: > So what we need to do is put together a list of all the components that went > into a build (so all the supporting maven plugins) Then I don't quite understand why the output of mvn help:effective-pom isn't what you need. U

Re: Generate list of plugins and their versions used in a build

2008-10-11 Thread aman kohli
gt;> Thanks for the responses. Unfortunately 'mvn help:effective-pom' does >> not >> quite do what we need it to. Here's an example, trying to get a list of >> all the site plugins and their versions used is a challenge as this is >> not >> covered b

Re: Generate list of plugins and their versions used in a build

2008-10-11 Thread Wendy Smoak
On Sat, Oct 11, 2008 at 1:41 PM, aman kohli <[EMAIL PROTECTED]> wrote: > Thanks for the responses. Unfortunately 'mvn help:effective-pom' does not > quite do what we need it to. Here's an example, trying to get a list of > all the site plugins and their versions

Re: Generate list of plugins and their versions used in a build

2008-10-11 Thread aman kohli
Thanks for the responses. Unfortunately 'mvn help:effective-pom' does not quite do what we need it to. Here's an example, trying to get a list of all the site plugins and their versions used is a challenge as this is not covered by effective-pom. Doing mvn -cpu and groking the

Re: Generate list of plugins and their versions used in a build

2008-10-09 Thread Michael McCallum
I can't believe you said that. :-/ Just fork the mojo and actually write the output to a file or even better patch the help plugin to 'attach' its output to the artifact. On Thu, 09 Oct 2008 23:03:37 Nick Stolwijk wrote: > Couldn't you parse the output of mvn help:effective-pom? Or do you > need

Re: Generate list of plugins and their versions used in a build

2008-10-09 Thread Nick Stolwijk
Couldn't you parse the output of mvn help:effective-pom? Or do you need another format? Maybe it could be another goal on the help plugin. What is your use case and what do you need? Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Thu, Oct 9, 200

Re: Generate list of plugins and their versions used in a build

2008-10-09 Thread Michael McCallum
mvn help:effective-pom On Thu, 09 Oct 2008 22:16:39 aman kohli wrote: > Hi, > > For a build, I need to generate the plugins used and their versions. > Is there a way to do this? Ideally something as simple as the > effective-pom mechanism would be great. > > One mechanism would be to to use the p

Generate list of plugins and their versions used in a build

2008-10-09 Thread aman kohli
Hi, For a build, I need to generate the plugins used and their versions. Is there a way to do this? Ideally something as simple as the effective-pom mechanism would be great. One mechanism would be to to use the plugin-registry, if there is a way to auto generate that. http://maven.apac