Re: Retrieving Project Artifact from the Repository During Assembly

2009-01-06 Thread jmaxwell
The issue is not the dependecies of the project but the artifact generated by the project. Our hudson server generated the jar file for the project and deployed it into our snapshot repo. Now we want to create a couple of zips that contain the jar, its dependecies, and an environment specific pr

Re: Retrieving Project Artifact from the Repository During Assembly

2009-01-06 Thread Brett Porter
Both - there is a dependencies element in the assembly descriptor that can use the dependencies listed in the POM (with filters applied) to add them to the assembly. This should certainly be used for them rather than referring to directories outside of the project. Cheers, Brett On 07/01/2

Re: Retrieving Project Artifact from the Repository During Assembly

2009-01-06 Thread jmaxwell
Are you referring to the dependencies element of the POM? brettporter wrote: > > If you are including it in the assembly using the dependencies > element, it uses whatever was retrieved by Maven. Maven will retrieve > it from the repository if it hasn't already been built. I'm not quite

Re: handling unc on windows

2009-01-06 Thread Wayne Fay
> In that way a user could arbitrate the path for either unc, or a mounted > share on linux. > but it doesn't seem that maven-antrun picks these property files up. > > So perhaps there's a better way > Some uses build on linux, others build on win32. How do i copy files from a > unc path such

Re: Retrieving Project Artifact from the Repository During Assembly

2009-01-06 Thread Brett Porter
If you are including it in the assembly using the dependencies element, it uses whatever was retrieved by Maven. Maven will retrieve it from the repository if it hasn't already been built. I'm not quite sure what additional functionality you are looking for? Cheers, Brett On 07/01/2009, at

Re: Deploy-file or a tar, zip, txt...

2009-01-06 Thread Wendy Smoak
On Tue, Jan 6, 2009 at 2:27 PM, solo1970 wrote: > Here is my dilemna, I have a POM file that calls one of our in-house plugins > that produces a set of files that I need to be deployed in the same place > that my jar is deployed (but not included in the jar). > > How can I do this, any ideas? Yo

Re: handling unc on windows

2009-01-06 Thread Stephen Connolly
You might want to have a look at jcifs There'd be some work involved, but if you absolutely must have the file on a Windows share, that's what you'd need to do... better might be to have the windows share accessible via http or some other nice protocol -Stephen 2009/1/6 Dave Brosius > Greetin

Re: Deploy-file or a tar, zip, txt...

2009-01-06 Thread Stephen Connolly
look at the build-helper-maven-plugin 2009/1/6 solo1970 > > Hello, > > Here is my dilemna, I have a POM file that calls one of our in-house > plugins > that produces a set of files that I need to be deployed in the same place > that my jar is deployed (but not included in the jar). > > How can I

handling unc on windows

2009-01-06 Thread Dave Brosius
Greetings, I am using the maven-antrun-plugin to copy files from a network into my build that is specified by unc path. This works on windows, but not linux, understandably. The ant portion does where pr.help.dir is specified in the properties section of the pom. To make it work on both,

Deploy-file or a tar, zip, txt...

2009-01-06 Thread solo1970
Hello, Here is my dilemna, I have a POM file that calls one of our in-house plugins that produces a set of files that I need to be deployed in the same place that my jar is deployed (but not included in the jar). How can I do this, any ideas? Sonia -- View this message in context: http://www.

Retrieving Project Artifact from the Repository During Assembly

2009-01-06 Thread jmaxwell
When creating *.zip assemblies for our various environments we would like to retrieve the project artifact directly the repository, we do not want to have to rebuild our project artifacts each time. Is it possible to modify our assembly descriptors to retrieve a project artifact out of the reposi

Re: Inconsistent Cobertura Results

2009-01-06 Thread Baptiste MATHUS
Have you looked into the possibility that running your coverage tests might be run with or without instrumented code? (I don't know precisely how cobertura works: namely by instrumenting code at load-time or at compile-time, so please bear that in mind before taking my word in account :)). Or some

Re: plugins now require me to provide a version ?

2009-01-06 Thread rossputin
Aha, just found the cause of this.. in my case, someone clobbered my Artifactory instance yesterday... sorry my fault for not thinking of checking on it before, thanks for your help anyway. Regards, Ross Baptiste MATHUS-4 wrote: > > 2009/1/6 rossputin > >> >> Can someone explain why the be

RE: Inconsistent Cobertura Results

2009-01-06 Thread Harper, Brad
No one replied to my initial posting, so on the chance that this issue was overlooked by the *one* person who might be able shed some light on it ... After exploring the possibility, I'm no longer inclined to think that the presence/absence of debug info is involved. Brad > -Original Message

Re: [ANN] Maven Assembly Plugin 2.2-beta-3 Released

2009-01-06 Thread Paul
Thanks a lot for all the work, this release was truly awaited ! Le Monday 05 January 2009 21:25:04 John Casey, vous avez écrit : > The Maven team is pleased to announce the release of the Maven Assembly > Plugin, version 2.2-beta-3 > > This plugin is used to create custom archives using the buil

SCM SVN changelog Pattern does not match

2009-01-06 Thread Todd Thiessen
When running an mvn scm:changelog command I was not getting any result indicating the changes that I have made to my project. Since I would like to include a change log report in my project, I decided to dig into this further to see if I could find out why. It looks like scm:changelog does not pro

Re: plugins now require me to provide a version ?

2009-01-06 Thread Baptiste MATHUS
2009/1/6 rossputin > > Can someone explain why the behaviour has changed.. was I remiss in not > providing the version before, or did I miss out on an important > announcement In short, yes :-). Though it's a quite common mistake, it's good practice to always specify the versions of the plugin

RE: plugins now require me to provide a version ?

2009-01-06 Thread Martin Gainty
*supposedly*version is a noop if you have a local repository already setup you can override either the settings.xml or pom.xml plugin declaration e.g. foo org.apache.maven.plugins /LookHereFirst I have not been able to get this to work in 2.0.9 Perhaps John Casey or

Re: plugins now require me to provide a version ?

2009-01-06 Thread Jeff MAURY
Yes, Maven has a mecanism used to get the latest version of the plugin assumed the latest has been registered. I think this is stored in the Maven metadata (XML file) of the plugin artifact. If you did not change your Maven configuration (settings, repository), I don't understand why it is not work

Re: how I can ensure that Maven include my own MANIFEST.MF instead of its generated one?

2009-01-06 Thread sarah.kho
Hi Thank you for your reply. I used the following code inside the build element to make it possible to use my own manifest file but it is not including the file into the final archite. org.apache.maven.plugins maven-jar-plugin

Re: plugins now require me to provide a version ?

2009-01-06 Thread rossputin
Hi, I don't recall changing anything in the local Maven repository... things are building now that I have provided versions, but I was under the impression that if I did not provide versions, the latest would be used ? Regards, Ross jeffma...@jeffmaury.com wrote: > > Did you change somethi

Re: plugins now require me to provide a version ?

2009-01-06 Thread Jeff MAURY
Did you change something in your local Maven repository ? Regards Jeff MAURY On Tue, Jan 6, 2009 at 12:10 PM, rossputin wrote: > > Hi guys, > > wondering if someone can enlighten me a little. Since I came back from the > Christmas holidays, all of a sudden various plugins are working different

Empty String as Mojo parameter value

2009-01-06 Thread William Ferguson
I presume I'm missing something obvious, because this has to be reasonably common. But I haven't found anything after a couple of hours of searching so here goes. I have a Mojo parameter that needs the capability of being specified as an empty String. Eg though I'd settle for being ab