maven-clover2-plugin:2.5.0 released . Optimize your Integration Tests.

2009-05-12 Thread Nick Pellow
th+Maven+2 . Clover is free for open source projects and may be trialled for 30 days for free. Thanks again, Nick Pellow Atlassian Clover. - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-m

Re: How can a first mojo set properties for the second mojo?

2009-02-08 Thread Nick Pellow
Hi Ringo, You will need to set the properties on the project object. To get a project injected into your MOJO: /** * The Maven project instance for the executing project. * * Note: This is passed by Maven and must not be configured by the user. * * @parameter exp

Re: classified artifact resolution

2009-02-05 Thread Nick Pellow
tions are being made to the main project, but not the transitively resolved projects. It's always hard to tell from the output - is the resources call in the forked lifecycle or the main one afterwards? The latter would not retain all the settings. - Brett On 03/02/2009, at 4

Re: classified artifact resolution

2009-02-03 Thread Nick Pellow
ts. It's always hard to tell from the output - is the resources call in the forked lifecycle or the main one afterwards? The latter would not retain all the settings. - Brett On 03/02/2009, at 4:08 PM, Nick Pellow wrote: You're right. the dependency artifacts are already transitive

Re: classified artifact resolution

2009-02-02 Thread Nick Pellow
ady be transitive. I'm not quite sure how you are seeing the results you are. Have you tracked the output of the swizzling process? Does -X show what is then fed into the compiler plugin in the forked lifecycle? - Brett On 03/02/2009, at 3:26 PM, Nick Pellow wrote: Will the filtering

Re: classified artifact resolution

2009-02-02 Thread Nick Pellow
example). - Brett On 03/02/2009, at 12:14 PM, Nick Pellow wrote: Thanks for the clarification, Brett. What can the maven-clover2-plugin do to ensure that only classified artifacts are resolved if they are available? On 03/02/2009, at 9:17 AM, Brett Porter wrote: Yes, that's expected - a

Re: classified artifact resolution

2009-02-02 Thread Nick Pellow
nt to artifacts with a different or no classifier. On 02/02/2009, at 5:44 PM, Nick Pellow wrote: Hi, The maven-clover2-plugin creates both a classified and a normal jar artifact for each sub-module it builds. I have a problem, where I am seeing both a classified _and_ a non- classified art

classified artifact resolution

2009-02-01 Thread Nick Pellow
that will cause this? Cheers, Nick Pellow Atlassian Clover.

Re: What will replace the @aggregator MOJO configuration?

2008-12-07 Thread Nick Pellow
being able to bind to the front and back of a lifecycle would be absolutely splendid +1. A simple event system which fired build events to registered listeners (plugins could register these) would go a long way. Example events could be: * Build Started * Phase Started * Goal Started *

Re: What will replace the @aggregator MOJO configuration?

2008-12-04 Thread Nick Pellow
Hi Brett, Hi, I noticed that the 'aggregator' parameter for a MOJO is slated for deprecation in a future release of Maven. http://books.sonatype.com/maven-book/reference/writing-plugins.html#d0e22494 Seems presumptive on the part of the author. It has both its usefulness and its proble

What will replace the @aggregator MOJO configuration?

2008-12-03 Thread Nick Pellow
Hi, I noticed that the 'aggregator' parameter for a MOJO is slated for deprecation in a future release of Maven. http://books.sonatype.com/maven-book/reference/writing-plugins.html#d0e22494 What should be used instead, to fulfill the following use-case: - a multi-module project, which would

Re: overriding via a profile

2008-11-10 Thread Nick Pellow
definition, ? What are your thoughts on adding another option for this? I am guessing other plugins will also not want to merge from profiles. Cheers, Nick On 11/11/2008, at 11:39 AM, Nick Pellow wrote: Hi Brian, Even changing the executions to something else doesn't appear to work. Is

Re: overriding via a profile

2008-11-10 Thread Nick Pellow
You can't unset something like that because it appears null and the merge will overwrite it. You could change it to something else though --Brian (mobile) On Oct 29, 2008, at 1:49 AM, Nick Pellow <[EMAIL PROTECTED]> wrote: Hi, If a plugin is defined in the normal build section

overriding via a profile

2008-10-28 Thread Nick Pellow
heers, Nick Pellow - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: preserving order of dependencies

2008-10-26 Thread nick pellow
local pom takes precedence. > > -----Original Message- > From: Nick Pellow [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 22, 2008 10:38 PM > To: dev@maven.apache.org > Subject: preserving order of dependencies > > Hi, > > I am developing a maven plugin which needs to a

preserving order of dependencies

2008-10-22 Thread Nick Pellow
Hi, I am developing a maven plugin which needs to add a dependency to the javac and surefire classpaths. Using: final Set set = getProject().getDependencyArtifacts(); set.add( myArtifact ); getProject().setDependencyArtifacts( set ); seems to work most of the time. In certain situations how

getDependencyArtifacts not respecting

2008-10-19 Thread Nick Pellow
().setDependencyArtifacts( set ); This is a work around for http://jira.codehaus.org/browse/MNG-2197 , trying to ensure that clover is on the compile time classpath. Is there a better way to implement this? Is it possible to filter the exclusions from the set of dependencyArtifacts? Cheers, Nick Pellow

Accessing runtime plugin config from a MOJO.

2008-09-23 Thread Nick Pellow
Hi, I am writing a custom maven2 MOJO. I need to access the runtime configuration of another plugin, from this MOJO. What is the best way to do this? A concrete example: I would like to access any user defined excludes and includes patterns of the maven-surefire-plugin from my MOJO. Chee

Re: How to execute multiple goals via a single command ?

2008-09-16 Thread Nick Pellow
. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Tue, Sep 16, 2008 at 11:03 AM, Nick Pellow <[EMAIL PROTECTED]> wrote: Hi, I have 3 MOJOs in a single maven plugin. Each MOJO needs to be executed during specific build phases. What is the best way to make this possible, without f

How to execute multiple goals via a single command ?

2008-09-16 Thread Nick Pellow
Hi, I have 3 MOJOs in a single maven plugin. Each MOJO needs to be executed during specific build phases. What is the best way to make this possible, without forcing users of the plugin to insert explicit executions into their pom.xml ? i.e. is it possible to make the following configuratio