Re: POM verbosity

2009-06-08 Thread Martin Höller
On Monday 08 June 2009 Benson Margulies wrote: So, I have a plugin, I need several executions of it, and each one looks like what follows. It's getting long in a hurry. Don't know if this is an option for you, but have a look at the maven-yamlpom-plugin [0]. The plugin allows specifying the

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:

Re: eclipse:eclipse

2009-06-08 Thread Barrie Treloar
On Mon, Jun 8, 2009 at 3:25 PM, Peter Horlockpeter.horl...@googlemail.com 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

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:

Re: eclipse:eclipse

2009-06-08 Thread Peter Horlock
2009/6/8 SEAN MCELROY sean.mcel...@btinternet.com 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

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: 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 ljnel...@gmail.com 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

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 peter.horl...@googlemail.com wrote: From: Peter Horlock peter.horl...@googlemail.com Subject: Re: eclipse:eclipse To: Maven Users List

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
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 peter.horl...@googlemail.com wrote: From: Peter Horlock peter.horl...@googlemail.com Subject: Re: eclipse:eclipse To: Maven Users List users@maven.apache.org

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

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

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

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 fragility...@gmail.com I'm trying to figure out why maven 2.1 is running out

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 maven

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

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

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

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]

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

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

[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