Re: build timeouts

2006-09-03 Thread Brett Porter
On 03/09/2006, at 12:08 AM, Kenney Westerhof wrote: For now I'll just add a field to the Schedule, stating max execution time of a build. +1, with the default being rather large (but not infinite). Sounds like we've got some work to do on the scheduling in the next release :) --

Re: Status of maven-surefire-plugin TestNG

2006-09-03 Thread Brett Porter
Yeah, I had started to look at some of the patches a little while back and got overwhelmed quickly by other stuff again. It looks like Fabrizio has picked off some in the last week though. I'll review the commits at the least. - Brett On 03/09/2006, at 2:06 PM, Jason van Zyl wrote: On 2

Re: http://jira.codehaus.org/browse/SUREFIRE-53

2006-09-03 Thread Brett Porter
On 03/09/2006, at 7:39 AM, Jesse Kuhnert wrote: Sorry, I shouldn't be telling you guys what to do.. Yeah, you should be busy writing the tests :D It is kind of ironic how few tests the testing framework has :( - Brett - To

Re: rbac role/operation/permission example allocation

2006-09-03 Thread Brett Porter
Jesse, I've got some other things to do so I'll review this properly tomorrow, but I was wondering if you could explain the structure of the information at the start? - Brett On 02/09/2006, at 12:29 PM, Jesse McConnell wrote: Archiva Administration Roles: Administrator * add-index *

Re: [maven2 build trunk - FAILED - update] Sun Sep 3 06:00:00 GMT 2006

2006-09-03 Thread Brett Porter
John? On 03/09/2006, at 6:03 AM, [EMAIL PROTECTED] wrote: Log: http://maven.zones.apache.org/~maven/logs/trunk/m2-build- log-20060903.06.txt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: http://jira.codehaus.org/browse/SUREFIRE-53

2006-09-03 Thread Fabrizio Giustina
Hi Jesse, first of all thanks for your patches for the surefire TestNG provider and for your help here... I recently moved to TestNG for a couple of projects and I will definitively try to make surefire support more robust. I committed a few long standing patches, but the commit for

Re: Status of maven-surefire-plugin TestNG

2006-09-03 Thread Fabrizio Giustina
The 2.8 SNAPSHOT version was just an unofficial release that was deployed while the testng support in official one (2.3-SNAPSHOT) was broken. Now the patches needed for testNg support have been incorporated and the official surefire plugin works *ehm worked* fine with TestNg. Worked because it

Re: http://jira.codehaus.org/browse/SUREFIRE-53

2006-09-03 Thread Jesse Kuhnert
Great! Sorry for thinking your patch was the culprit then ;) The biggest issue seems to be that you can't allow a test class to get loaded up into the class loader unless the provider (ie testng) classes are also loaded up first...This is because the test class may actually instantiate properly,

Re: http://jira.codehaus.org/browse/SUREFIRE-53

2006-09-03 Thread Jesse Kuhnert
P.S. I'll try and send the latest set of patches in the next day or so. They make the jdk14 based javadoc tests work again. On 9/3/06, Jesse Kuhnert [EMAIL PROTECTED] wrote: Great! Sorry for thinking your patch was the culprit then ;) The biggest issue seems to be that you can't allow a test

Re: Status of maven-surefire-plugin TestNG

2006-09-03 Thread Jason Dillon
I dunno.. I built 2.3-SNAPSHOT from source today and it did not work at all... it was able to run and not NPE like 2.2 does, but it did not find any of my tests. The same build config with 2.8-SNAPSHOT works fine. --jason On Sep 3, 2006, at 12:14 AM, Fabrizio Giustina wrote: The 2.8

Re: Status of maven-surefire-plugin TestNG

2006-09-03 Thread Fabrizio Giustina
On 9/3/06, Jason Dillon [EMAIL PROTECTED] wrote: I dunno.. I built 2.3-SNAPSHOT from source today and it did not work at all... it was able to run and not NPE like 2.2 does, but it did not find any of my tests. The same build config with 2.8-SNAPSHOT works fine. If you build from source you

maven-invoker-plugin and child module profiles

2006-09-03 Thread Jason Dillon
Is there anyway to configure the maven-invoker-plugin to enable a list of profiles on the child modules it is invoking? I'd like to have my child modules extend from their parent to pick up config, but its also picking up the integration setup... starting servers and running the invoker:

Re: Status of maven-surefire-plugin TestNG

2006-09-03 Thread Jason Dillon
Okay, I can test the deployed 2.3-SNAPSHOT tomorrow and see if it behaves. Thanks :-) --jason On Sep 3, 2006, at 5:23 AM, Fabrizio Giustina wrote: On 9/3/06, Jason Dillon [EMAIL PROTECTED] wrote: I dunno.. I built 2.3-SNAPSHOT from source today and it did not work at all... it was able

Re: Status of maven-surefire-plugin TestNG

2006-09-03 Thread Fabrizio Giustina
On 9/3/06, Jason Dillon [EMAIL PROTECTED] wrote: rm -rf ~/.m2/repository/org/apache/maven/plugins/maven-surefire- plugin/ the bug is in surefire-booter, do a: rm -rf ~/.m2/repository/org/apache/maven/surefire/surefire-booter/ ... and it will work fabrizio

Re: Status of maven-surefire-plugin TestNG

2006-09-03 Thread Jason Dillon
Nope :-( rm -rf ~/.m2/repository/org/apache/maven/surefire rm -rf ~/.m2/repository/org/apache/maven/plugins/maven-surefire-plugin w/2.3-SNAPSHOT: snip --- T E S T S --- Running

Re: Status of maven-surefire-plugin TestNG

2006-09-03 Thread Jesse Kuhnert
I changed things to make it work with jdk14 tests...I haven't sent any patches to maven to make these work again yet. On 9/3/06, Jason Dillon [EMAIL PROTECTED] wrote: Nope :-( rm -rf ~/.m2/repository/org/apache/maven/surefire rm -rf

Hierarchy retrieval

2006-09-03 Thread Arnaud Bailly
Hello, An important question (to me of course :-)) may have been buried into irrelevant chatting in my previous post. I am reposting it free of excess fat: 1. Given that a plugin is bound in a parent pom, Is there one mojo instance for each project in the hierarchy ? I think this is the case

Anyway to call a goal from a mojo?

2006-09-03 Thread Jason Dillon
Is there any (easy) way to call a goal from a mojo? I've got a geronimo:install goal, that does some assembly unpacking, and a geronimo:start goal which starts up the server. geronimo:start really needs to call geronimo:install before it runs. Is there an easy way to do this? The only

Re: rbac role/operation/permission example allocation

2006-09-03 Thread Jesse McConnell
basically that first bit are the roles that can be assigned to user on a per repository or per project basis as indicated by the (per repo) and (per project) tags. below that are the operations that are inclosed in corresponding permissions for that repo/project. The roles were based off your

Re: build timeouts

2006-09-03 Thread Jesse McConnell
+1 plus I know that we would really like to be able to see the schedule of builds, I have a placeholder on the group summary page for Next Scheduled Build :) nice job kenney jesse On 9/3/06, Brett Porter [EMAIL PROTECTED] wrote: On 03/09/2006, at 12:08 AM, Kenney Westerhof wrote: For now

Re: Status of maven-surefire-plugin TestNG

2006-09-03 Thread Jason Dillon
Anyway to diff the source used to build 2.8-SNAPSHOT to see what needs to be patched? --jason On Sep 3, 2006, at 8:52 AM, Jesse Kuhnert wrote: I changed things to make it work with jdk14 tests...I haven't sent any patches to maven to make these work again yet. On 9/3/06, Jason Dillon

Using plexus to inject custom objects (and inject their parameters)?

2006-09-03 Thread Jason Dillon
Hi, I asked about this in #maven a while ago, but I forgot what the answer was. How can I configure plexus to inject custom objects into my mojo, and have plexus inject parameters into that object? For example, say I have: snip public class ConntectionConfig { /** * The port

Re: Using plexus to inject custom objects (and inject their parameters)?

2006-09-03 Thread Jason van Zyl
On 3 Sep 06, at 8:57 PM 3 Sep 06, Jason Dillon wrote: Hi, I asked about this in #maven a while ago, but I forgot what the answer was. How can I configure plexus to inject custom objects into my mojo, and have plexus inject parameters into that object? For example, say I have: snip

Re: Using plexus to inject custom objects (and inject their parameters)?

2006-09-03 Thread Jason Dillon
Thanks, but I can wait until this is rolled up into a release. I think having this will really make it easier to create more powerful mojos... and to share commonly used configuration and logic objects w/ o needing to sub-class. --jason On Sep 3, 2006, at 6:12 PM, Jason van Zyl wrote:

Re: Anyway to call a goal from a mojo?

2006-09-03 Thread Rahul Thakur
You can use MavenEmbedder to do this. Pretty sure there was some example code floating on the user@ or dev@ list. I wrote a delegate mojo a while ago that does something similar but don't have the code handy here, but I can dig later today if you are keen at looking at it. Cheers, Rahul