Re: Final Memory

2008-12-18 Thread Stuart McCulloch
2008/12/19 Paul Benedict > I never figured it out. I'd still like to know! > browsing the source for 2.0.9 shows: getLogger().info( "Final Memory: " + ( r.totalMemory() - r.freeMemory() ) / MB + "M/" + r.totalMemory() / MB + "M" ); where r = Runtime.getRuntime() so the first number is t

Re: Is it possible to override the location of a module?

2008-12-18 Thread Wayne Fay
> As part of a conversion from ant to maven I'm exploring the use of a > multi-module project. Since this is a legacy project we'd rather not move > things around. So the child modules will not necessarily be in directories > directly beneath the parent pom. Is there any way to override this locati

Re: Final Memory

2008-12-18 Thread Paul Benedict
I never figured it out. I'd still like to know! Paul On Tue, Dec 16, 2008 at 2:01 PM, Wayne Fay wrote: >>> What does the "Final Memory" detail represent when Maven finishes? I can't >>> find any documentation on what the two numbers mean. >>> >>> [INFO] Final Memory: 1M/4M > > I'm not certain, b

Re: how to extend maven plugin

2008-12-18 Thread Stephen Connolly
2008/12/18 Mansour > > Put the worker classes in a separate jar, leave the classes extending > > AbstractMojo in the plugin, and have the plugin depend on the worker > classes > > jar. > > > Where does my new mojo fits ? If I separate the logic in a jar artifact > (which by the way the author of

Re: how to extend maven plugin

2008-12-18 Thread Mansour
Stephen Connolly wrote: > 2008/12/18 Luke Patterson > > >> For most situations, you could consider the plugin artifact to be >> prez-layer. You are using the mojo injection mechanism and maven api >> to gather input for the utility-artifact/wrapped-tool to process. >> >> Is that consistent wit

Re: how to extend maven plugin

2008-12-18 Thread Stephen Connolly
2008/12/18 Luke Patterson > For most situations, you could consider the plugin artifact to be > prez-layer. You are using the mojo injection mechanism and maven api > to gather input for the utility-artifact/wrapped-tool to process. > > Is that consistent with what you were saying Stephen? > > -

Re: how to extend maven plugin

2008-12-18 Thread Luke Patterson
For most situations, you could consider the plugin artifact to be prez-layer. You are using the mojo injection mechanism and maven api to gather input for the utility-artifact/wrapped-tool to process. Is that consistent with what you were saying Stephen? -

Problem with DBUNIT task after SQL task inside ANTRUN PLUGIN

2008-12-18 Thread bkbonner
I have two tasks defined inside the antrun plugin:

Re: how to extend maven plugin

2008-12-18 Thread Mansour
Thank you Stephen, hum, Let's make sure I got the idea. Every plugin consist of mojo classes. So in this case, I start my plugin and set the modified docbokx plugin as a depency (jar depency), then I extend the mojos I want to modify and over ride them by setting the default values I need. In orde

Re: how to extend maven plugin

2008-12-18 Thread Stephen Connolly
2008/12/18 Mansour > Jörg Schaible wrote: > > Mansour wrote at Donnerstag, 18. Dezember 2008 10:32: > > > > > >> Hello all, > >> I need to extend (use) an existing maven plugin from my plugin. How do I > >> proceed, or where do I start ? is there any links ? To be more specific, > >> I need to ex

Re: how to extend maven plugin

2008-12-18 Thread Mansour
Jörg Schaible wrote: > Mansour wrote at Donnerstag, 18. Dezember 2008 10:32: > > >> Hello all, >> I need to extend (use) an existing maven plugin from my plugin. How do I >> proceed, or where do I start ? is there any links ? To be more specific, >> I need to extend the docbkx maven plugin to ge

release:perform and scmCommentPrefix

2008-12-18 Thread Sahoo
Can anyone clarify when scmCommentPrefix is used during release:perform [1] goal? I thought all the necessary changes in SCM happen during release:prepare and release:perform just checks out the project and runs necessary goals. Thanks, Sahoo [1] http://maven.apache.org/plugins/maven-release-

maven life cycles task execution

2008-12-18 Thread cause
Hello, Does anybody know if it's possible to execute something, e.g. ant task, before maven starts checking and downloading dependencies? I've tried specifying execution phases, but my task would still execute after dependencies have been resolved. Thanks. -- View this message in context: htt

Re: Expand jar dependency in war

2008-12-18 Thread Wendy Smoak
2008/12/18 Stevo Slavić : > Yes, all dependency jars (and transitive ones) end up well in WEB-INF/lib. > Problem is that I need to configure to have some of the dependencies > expanded in WEB-INF/classes. Possibly a feature request for the war plugin... until then I'd probably just use antrun to e

Re: Expand jar dependency in war

2008-12-18 Thread Stevo Slavić
Yes, all dependency jars (and transitive ones) end up well in WEB-INF/lib. Problem is that I need to configure to have some of the dependencies expanded in WEB-INF/classes. I've found some discussions from before ( http://www.mail-archive.com/users@maven.apache.org/msg71453.html ) but solution pre

Release Plugin in Continuum in svn

2008-12-18 Thread Alexander Vaysberg
Hi, i have a Problme wiht Release with Continuum and Release Plugin. If I a call the release:prepare, than have a problem with svn: [INFO] Finished at: Thu Dec 18 14:57:19 CET 2008 [INFO] Final Memory: 27M/355M [INFO] [ERRO

Re: Expand jar dependency in war

2008-12-18 Thread Wendy Smoak
On Thu, Dec 18, 2008 at 4:44 AM, Stevo Slavić wrote: > Is there a way to have a jar dependency expanded in a war, so that war would > also have all transitive dependencies jar has? The war should have all its dependency jars and their transitive dependencies in WEB-INF/lib. Is that not happenin

Re: resources with different encodings

2008-12-18 Thread Stephen Connolly
You'd need multiple executions of the resource plugin, but it can be done 2008/12/18 Alex Milanovic > Hi All, > > I have a mix of resources in UTF-8 (XML files) and ISO-8859-1 (properties > files). The resource encoding can be configured only on the level of the > entire resource plugin, but I n

RE: Test plugin

2008-12-18 Thread Edelson, Justin
This error is accurate. There's no maven-test-plugin. test is a lifecycle phase, not a plugin. From: John Coleman [mailto:john.cole...@eurobase.com] Sent: Thu 12/18/2008 4:54 AM To: Maven Users List Subject: Test plugin When I try to run a test plugin goal I

Different configuration sections in different executions sections don't work as advertised :)

2008-12-18 Thread Costin Caraivan
Hello, Is this a bug in Maven or the jar plugin? org.apache.maven.plugins maven-jar-plugin jar-classes

Re: how to extend maven plugin

2008-12-18 Thread Jörg Schaible
Mansour wrote at Donnerstag, 18. Dezember 2008 10:32: > Hello all, > I need to extend (use) an existing maven plugin from my plugin. How do I > proceed, or where do I start ? is there any links ? To be more specific, > I need to extend the docbkx maven plugin to generate docbook output. In > my ow

RE: Deploy a POM with Properties Filterred/interpolated

2008-12-18 Thread De Smet Ringo
Trevor, > -Original Message- > From: Trevor Paterson [mailto:trevor.pater...@roslin.ed.ac.uk] > Sent: donderdag 18 december 2008 11:50 > To: users@maven.apache.org > Subject: RE: Deploy a POM with Properties Filterred/interpolated > > thanks, but... > > using the maven-release-plugin w

resources with different encodings

2008-12-18 Thread Alex Milanovic
Hi All, I have a mix of resources in UTF-8 (XML files) and ISO-8859-1 (properties files). The resource encoding can be configured only on the level of the entire resource plugin, but I need to be able to specify the encoding per resource. Is this possible? Thanks, Alex

Expand jar dependency in war

2008-12-18 Thread Stevo Slavić
Hello all, Is there a way to have a jar dependency expanded in a war, so that war would also have all transitive dependencies jar has? Regards, Stevo.

problem with customization of site generation with maven

2008-12-18 Thread Luca Borz
Hi, i have a problem with Maven automatic site generation. I want to overwrite the standard output index.html, so i write my own site/apt/index.apt. Maven generates correctly the index.html from my apt file but in the menu on the left named "Project Information", the voice "About" is dissapea

RE: Deploy a POM with Properties Filterred/interpolated

2008-12-18 Thread Trevor Paterson
>> we have many variable properties in our POMs to control >> artifact and depedency artifact versions and need these >> interpolated before deployment. >If you use the maven-release-plugin, you can use >-DgenerateReleasePoms=true as a command line option to generate a >release-pom.xml. Everyth

Test plugin

2008-12-18 Thread John Coleman
When I try to run a test plugin goal I get: The plugin 'org.apache.maven.plugins:maven-test-plugin' does not exist or no valid version could be found In the repo I can only find a "maven" groupid with the maven-test-plugin. Is there really a "org.apache.maven.plugins" maven-test-plugin? I'm confu

how to extend maven plugin

2008-12-18 Thread Mansour
Hello all, I need to extend (use) an existing maven plugin from my plugin. How do I proceed, or where do I start ? is there any links ? To be more specific, I need to extend the docbkx maven plugin to generate docbook output. In my own, I need to customize the style sheet, header,etc and wr

Re: How to configure resources plugin to copy extra files

2008-12-18 Thread zorro2b
Excellent! That worked, thanks. brettporter wrote: > > You shouldn't need to configure the resource plugin at all, just the > following will work: > > > > src/main/java > >**/*.xml > > > > > Cheers, > Brett > > On 18/12/2008, at 5:19 PM, zorro2b wrote: >

Re: Are Maven profiles like Ant targets?

2008-12-18 Thread Martin Höller
On Wednesday 17 December 2008 Trevor Harmon wrote: > On Dec 17, 2008, at 12:18 PM, Martin Höller wrote: > > Ok. My approach would then be to create one profile which is only > > executed > > before releasing or when running in the contiuous-integration > > server. This > > profile would configure t