Re: Question about Maven2 and Heap Space

2009-06-08 Thread Baptiste MATHUS
Sure, I already did that a couple of times. The more important and complex part actually resides in the release:prepare goal. Release:perform is basically just a svn checkout from the freshly created tag (during the prepare) followed by a mvn deploy run from the checkouted directory. Cheers. 200

[ANN] Build Helper Maven Plugin 1.3 Released

2009-06-08 Thread Paul Gier
The Mojo team is pleased to announce the release of the Build Helper Maven Plugin version 1.3. http://mojo.codehaus.org/build-helper-maven-plugin/ Some notable features in this release include: - A new goal to retrieve the current version of Maven to a property. - A new goal to parse the c

Re: How to specify no snapshots?

2009-06-08 Thread Wayne Fay
> How do I specify that I don't want any snapshots if a version is not > specified for a plugin? You can't. Ranges are also a bad idea as they can pull in Snapshots. Therefore, lock down the plugin version in the pom with [1.1.0] etc. Wayne ---

Get Maven's Error Message

2009-06-08 Thread David Nemer
Hello All, I'm running Maven programatically in Java, so the point is to build the projects (run the pom file), so every time a build process fails, I want to get this error message! Somehow I can get an error message, for my example, it returns: "class org.apache.maven.shared.invoker.DefaultInvoc

Re: Question about Maven2 and Heap Space

2009-06-08 Thread Ryan Moquin
Ok, if I do just a mvn:deploy with 1024MB of memory, it fails at the same spot with what I think is the same stack trace: [INFO] [ERROR] FATAL ERROR [INFO] -

Re: Question about Maven2 and Heap Space

2009-06-08 Thread Ryan Moquin
It looks like it does fork since if I use jconsole, I will get a second JVM that has identical properties as the first. Part of the issue with this is I notice that both JVMs will have the amount of memory I specify for MAVEN_OPTS. In the above case, 1GB. If I run release:perform, the forked JVM

Re: follow to: problem upgrading from maven 2.0.9 to 2.1

2009-06-08 Thread Baptiste MATHUS
Maybe unrelated, but your java_home seems to point to a jre, not a jdk. It seems abnormal to me, although I don't see how it could be related to your authentication problem. Are you sure you're using the very same Java_home between both maven installations? And btw, I guess diff'ing mvn help:effec

Re: Question about Maven2 and Heap Space

2009-06-08 Thread Baptiste MATHUS
Well, after some research, it seems like this is due to the fact that PosterOutputStream/ByteArrayOutputStream class is quite space-greedy, according to: https://issues.alfresco.com/jira/browse/ETHREEOH-974 Looking at the code shows that PosterOutputStream can't be the culprit, as it's not doing a

follow to: problem upgrading from maven 2.0.9 to 2.1

2009-06-08 Thread Robert Glover
>>Try again with "mvn -X package" and see what that says. Paste the output to www.pastebin.org and send us the link I can't connect to www.pastebin.org, so I pasted the console output of running "mvn -X package" below. I have no idea what to do except not upgrade from maven 2.0.9 to ma

Re: Question about Maven2 and Heap Space

2009-06-08 Thread Baptiste MATHUS
Interesting. The artifact you're trying to deploy is 350MB+ large. Could you please try and just "mvn deploy" your project? I don't remember is the release plugin forks or not. My 2 cents, Cheers 2009/6/8 Ryan Moquin > I'm trying to figure out why maven 2.1 is running out of heap space when I

Re: eclipse:eclipse

2009-06-08 Thread Peter Horlock
Hm, there is no error message, neither with mvn install nor with mvn eclipse:eclipse. Both works fine using the command line. It just fails in Eclipse... Thanks, Peter

Question about Maven2 and Heap Space

2009-06-08 Thread Ryan Moquin
I'm trying to figure out why maven 2.1 is running out of heap space when I do a release:perform on my project. The project builds fine until I do a release:perform in which case it runs out of memory. The stack trace seems to indicate that there was enough memory. Do I need to give more memory t

How to specify no snapshots?

2009-06-08 Thread solo1970
Hello, Here is what I'm trying to do: How do I specify that I don't want any snapshots if a version is not specified for a plugin? I am trying to debug a plugin we are writing and deploying the snapshot version for some to test. Our designers are used to using this plugin on the command-line w

Re: eclipse:eclipse

2009-06-08 Thread SEAN MCELROY
Can you send me the error message you are getting when you do a eclipse:eclipse, or a clean install? --- On Mon, 8/6/09, Peter Horlock wrote: From: Peter Horlock Subject: Re: eclipse:eclipse To: "Maven Users List" Date: Monday, 8 June, 2009, 11:44 AM 2009/6/8 SEAN MCELROY Hi Peter, I don

Re: eclipse:eclipse

2009-06-08 Thread Peter Horlock
Yeah, I am just trying that myself, even though it comes from a great variety of third party dependencies. What I am not sure yet - will this really not be needed anymore, using Java 6? Thanks in advance, Peter

Re: eclipse:eclipse

2009-06-08 Thread SEAN MCELROY
Ok, I obviously didn't read your first email properly. Can you remove xml-apis 2.0.2 from your class path? --- On Mon, 8/6/09, Peter Horlock wrote: From: Peter Horlock Subject: Re: eclipse:eclipse To: "Maven Users List" Date: Monday, 8 June, 2009, 11:44 AM 2009/6/8 SEAN MCELROY Hi Peter,

Re: Maven assembly: cut down on number of assemblies made?

2009-06-08 Thread ljnelson
BRIAN FOX-5 wrote: > > On Sat, Jun 6, 2009 at 11:37 AM, ljnelson wrote: > There is no preconfigured descriptor in the assembly config. More > likely your project is inheriting from a pom that defines this > configuration. Just redefine it and use your own descriptor. > Er, it's in the super P

Attach plugin to particular phase:goal

2009-06-08 Thread Breitenstein, Jens
Hi All! After running "mvn eclipse:eclipse" I want to execute a mvn-ant-run automatically. Is there way to combine two plugins or to attach "some logic" to a particular phase:goal (like "eclipse:eclipse" in my case)? Thanks in advance Jens ---

Re: eclipse:eclipse

2009-06-08 Thread Peter Horlock
2009/6/8 SEAN MCELROY Hi Peter, I don't know if this will solve your problem but I suspect it might. Try creating a manifest file - src/main/resources/META-INF/ > > MANIFEST.MF if the META-INF directory does not exists create it. Then add > something like this to your manifest: > > Manifest-Versi

Re: eclipse:eclipse

2009-06-08 Thread SEAN MCELROY
Hi Peter,   I don't know if this will solve your problem but I suspect it might. Try creating a manifest file - src/main/resources/META-INF/MANIFEST.MF if the META-INF directory does not exists create it. Then add something like this to your manifest:   Manifest-Version: 1.0 Archiver-Version: Pl

Re: eclipse:eclipse

2009-06-08 Thread Barrie Treloar
On Mon, Jun 8, 2009 at 3:25 PM, Peter Horlock wrote: > Hello everyone, > > I'm still having the problem as described below - can no one help me out, > please? This ordering is now the intended behaviour. There is no way to change this. It is meant to mirror what maven does on compilation. How do

Nested configuration objects not getting created

2009-06-08 Thread Richard Wallace
I have the following situation where I have a plugin that starts another java process and I want to allow the user to configure it to fork or not fork. If the process is forked, the user has some optional attributes they are allowed to also specify. So, I have the following bits in my Mojo: publ