Re: Settings.xml : Maven repositories releases, updatePolicy => utility

2009-12-31 Thread Arnaud HERITIER
The update policy for releases isn't use to define when metadata are updated when you use a range for example ? On Friday, January 1, 2010, Brian Fox wrote: > It should be ignored, it stems from the fact that both fields use the > same modello object internally. > > On Tue, Dec 29, 2009 at 5:18 A

Re: Settings.xml : Maven repositories releases, updatePolicy => utility

2009-12-31 Thread Brian Fox
It should be ignored, it stems from the fact that both fields use the same modello object internally. On Tue, Dec 29, 2009 at 5:18 AM, fabrice.mercier1 wrote: > > hi > > I am wonder me the utility of the updatePolicy rule for releases > repositories. > I set i to always for snapshots repository b

Aggregating Javadocs during site generation

2009-12-31 Thread Paul Benedict
I am building the site of a multi-module project. I want all the javadocs of the child modules to be aggregated for the parent's site, but want the individual javadocs absent in the site of the child modules. What is the configuration to do this? Paul -

Maven changelog plugin with git

2009-12-31 Thread jfinkels
Hi, I would like to use the git provider with maven-changelog-plugin, but I need to wait for the fix committed in version 2.2 for the issue described here: http://jira.codehaus.org/browse/MCHANGELOG-92 When will maven-changelog-plugin version 2.2 be in the official Maven plugin repository? Is th

Re: Accessing MavenSession from a plugin component

2009-12-31 Thread Olivier Lamy
Hi, Maybe : /** * The Maven Session Object * * @parameter expression="${session}" * @required * @readonly */ protected MavenSession session; ? HTH, -- Olivier 2009/12/31 Stevo Slavić : > Hello Maven users, > > Can anyone please point me to some docs or exa

Re: Need to execute class before unit test

2009-12-31 Thread Dan Tran
should not in surefire, please exec-maven-plugin usage for detail -Dan On Thu, Dec 31, 2009 at 12:52 PM, Vladimir Kravtsov (NIM Contractor) wrote: > Thanks! > Could you hint me a little should it be done within surefire plugin or > somewhere else? > > Vladimir Kravtsov > 949-453-3491 (desk) >

RE: Need to execute class before unit test

2009-12-31 Thread Vladimir Kravtsov (NIM Contractor)
Thanks! Could you hint me a little should it be done within surefire plugin or somewhere else? Vladimir Kravtsov 949-453-3491 (desk) 425-443-4502 (cell) -Original Message- From: Dan Tran [mailto:dant...@gmail.com] Sent: Thursday, December 31, 2009 12:50 PM To: Maven Users List Subject:

Re: Need to execute class before unit test

2009-12-31 Thread Dan Tran
setup your pom to run a exec-maven-plugin's execution before test phase -D On Thu, Dec 31, 2009 at 11:31 AM, Vladimir Kravtsov (NIM Contractor) wrote: > Happy New Year to everybody! > > > > Do you know if this problem can be resolved in Maven? > > > > I need to execute some java code before my u

Re: Usage of maven-dependency-plugin in a multi-modul ebuild

2009-12-31 Thread Dan Tran
I assume all you want to dump all project dependencies and associcate transitive deps? create a project which depends on all modules in your build, inthere execute dependency:copy-dependency to to your desired location On Thu, Dec 31, 2009 at 12:22 PM, Werner Guttmann wrote: > Hi, > > I'd like

Usage of maven-dependency-plugin in a multi-modul ebuild

2009-12-31 Thread Werner Guttmann
Hi, I'd like to use the maven-dependency-plugin's copy-dependencies goal to copy all project dependencies of a complete multi-module build to a single output directory. Is this actually achievable ? So far I have only come across examples for simple projects where things seem to be straight-

Re: Assembly Plugin: Include empty directories?

2009-12-31 Thread Jeffrey Ricks
Wayne, Thanks for the response... turns out that the plugin was indeed including my empty directory and I failed to notice because of how I was viewing the zip file. Thanks again, Jeff On Thu, Dec 31, 2009 at 12:13 PM, Wayne Fay wrote: > > All of those contain files except log which is an e

Need to execute class before unit test

2009-12-31 Thread Vladimir Kravtsov (NIM Contractor)
Happy New Year to everybody! Do you know if this problem can be resolved in Maven? I need to execute some java code before my unit tests. Since I am using TestNG, it could be resolved using BeforeSuite tag but I would prefer to configure Mavenl. So far I was not able to understand how to im

Re: Assembly Plugin: Include empty directories?

2009-12-31 Thread Wayne Fay
> All of those contain files except log which is an empty directory.  Any > suggestion on how to do this would be greatly appreciated. Can you not add a file "ignore.me" to the log directory which will make it work just like any other directory which has files? Wayne

Assembly Plugin: Include empty directories?

2009-12-31 Thread Jeffrey Ricks
Hi, I'm trying to create an assembly that contains an empty directory (log) and have been unable to do so. I've tried a few things, including the workarounds and suggestions at http://jira.codehaus.org/browse/MASSEMBLY-108but have not been able to get the empty directory to show up in my zip asse

Re: How to create a maven local repository

2009-12-31 Thread Roland Asmann
> On 12/31/09 10:15 AM, Mezigue wrote: >> Hi Roland, >> >> Thanks for your advice. >> >> You are certainly right ; to be true, I should say "you are surely >> right" ! >> :) >> >> Of course, I have no reason to initiate a local repository, but, why was >> this necessary in the previous version of M

Re: How to create a maven local repository

2009-12-31 Thread Justin Edelson
On 12/31/09 10:15 AM, Mezigue wrote: Hi Roland, Thanks for your advice. You are certainly right ; to be true, I should say "you are surely right" ! :) Of course, I have no reason to initiate a local repository, but, why was this necessary in the previous version of Maven ?? And I've not found

RE: How to create a maven local repository

2009-12-31 Thread Mezigue
Hi Roland, Thanks for your advice. You are certainly right ; to be true, I should say "you are surely right" ! :) Of course, I have no reason to initiate a local repository, but, why was this necessary in the previous version of Maven ?? And I've not found any advertisement about this in release

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: How to create a maven local repository

2009-12-31 Thread Roland Asmann
Hi, Just run Maven on a project and everything will solve itself! Or is there a specific reason you only want this initial repository? Roland > > > Hi, > > > > In preceeding Maven version, there was a way to build and initiate a local > repository via the CLI : > > %MAVEN_HOME%\bin\install_rep

How to create a maven local repository

2009-12-31 Thread Mezigue
Hi, In preceeding Maven version, there was a way to build and initiate a local repository via the CLI : %MAVEN_HOME%\bin\install_repo.bat %HOME%\.maven\repository And this command created a repository and loaded some core .jar By now, when I unzip maven2, under \bin I don't find an

Accessing MavenSession from a plugin component

2009-12-31 Thread Stevo Slavić
Hello Maven users, Can anyone please point me to some docs or example on how one can access a maven session from a plugin plexus.component? Regards, Stevo.