You are viewing a plain text version of this content. The canonical link for it is here.
Posted to surefire-dev@maven.apache.org by Jesse Kuhnert <jk...@gmail.com> on 2007/04/11 15:41:35 UTC

deploy surefire-collab 2.4-SNAPSHOT?

I still have some pending local changes that I've started for future
proofing the testng / surefire api points but what I have checked in
should be both backwards compatible and work with the latest 5.5
version of TestNG.

I don't know if there's been any activity on the mainline trunk
version but if possible it'd be nice to try merging these changes to
trunk and then deploying it out to the snapshot repos.

?

-- 
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

Re: deploy surefire-collab 2.4-SNAPSHOT?

Posted by Brett Porter <br...@apache.org>.
It's a known issue in 2.0.6

- Brett

On 12/04/2007, at 7:21 AM, Jesse Kuhnert wrote:

> Ok maybe there is a tiny problem, not sure who / where it should go
> but I have a real project setup thusly:
>
> parent pom ->
> - ) defines build plugin dependency on maven-surefire-plugin 2.4- 
> SNAPSHOT
> -) defines dependency on TestNG 5.1
>
> child pom ->
> -) has a <build> area defined but not explicit maven-surefire-plugin
> or testng dependency defined
>
> When running a simple "mvn clean install" it gets a null pointer
> trying to resolve the selected version of testng:
>
> [INFO] [surefire:test]
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [ERROR] FATAL ERROR
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [INFO] null
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [INFO] Trace
> java.lang.NullPointerException
>        at  
> org.apache.maven.artifact.DefaultArtifact.getSelectedVersion 
> (DefaultArtifact.java:582)
>        at  
> org.apache.maven.plugin.surefire.SurefirePlugin.constructSurefireBoote 
> r(SurefirePlugin.java:490)
>
> It works fine on my other computer that uses maven 2.0.5 but seems to
> fail with 2.0.6.
>
> Like I said, I don't know what the problem is for sure but I'm also
> not sure how to fix it in surefire as it's in an api not covered
> there.
>
> On 4/11/07, Jesse Kuhnert <jk...@gmail.com> wrote:
>> No not expecting any problems, just wanted to make sure I was
>> following policy. Thanks.
>>
>> On 4/11/07, Brett Porter <br...@apache.org> wrote:
>> > are you expecting it to be problematic? I think including it in the
>> > current set is fine.
>> >
>> > - Brett
>>
>> --
>> Jesse Kuhnert
>> Tapestry/Dojo team member/developer
>>
>> Open source based consulting work centered around
>> dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
>>
>
>
> -- 
> Jesse Kuhnert
> Tapestry/Dojo team member/developer
>
> Open source based consulting work centered around
> dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

Re: deploy surefire-collab 2.4-SNAPSHOT?

Posted by Jesse Kuhnert <jk...@gmail.com>.
Ok maybe there is a tiny problem, not sure who / where it should go
but I have a real project setup thusly:

parent pom ->
 - ) defines build plugin dependency on maven-surefire-plugin 2.4-SNAPSHOT
 -) defines dependency on TestNG 5.1

child pom ->
 -) has a <build> area defined but not explicit maven-surefire-plugin
or testng dependency defined

When running a simple "mvn clean install" it gets a null pointer
trying to resolve the selected version of testng:

[INFO] [surefire:test]
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] null
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NullPointerException
        at org.apache.maven.artifact.DefaultArtifact.getSelectedVersion(DefaultArtifact.java:582)
        at org.apache.maven.plugin.surefire.SurefirePlugin.constructSurefireBooter(SurefirePlugin.java:490)

It works fine on my other computer that uses maven 2.0.5 but seems to
fail with 2.0.6.

Like I said, I don't know what the problem is for sure but I'm also
not sure how to fix it in surefire as it's in an api not covered
there.

On 4/11/07, Jesse Kuhnert <jk...@gmail.com> wrote:
> No not expecting any problems, just wanted to make sure I was
> following policy. Thanks.
>
> On 4/11/07, Brett Porter <br...@apache.org> wrote:
> > are you expecting it to be problematic? I think including it in the
> > current set is fine.
> >
> > - Brett
>
> --
> Jesse Kuhnert
> Tapestry/Dojo team member/developer
>
> Open source based consulting work centered around
> dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
>


-- 
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

Re: deploy surefire-collab 2.4-SNAPSHOT?

Posted by Jesse Kuhnert <jk...@gmail.com>.
No not expecting any problems, just wanted to make sure I was
following policy. Thanks.

On 4/11/07, Brett Porter <br...@apache.org> wrote:
> are you expecting it to be problematic? I think including it in the
> current set is fine.
>
> - Brett

-- 
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

Re: deploy surefire-collab 2.4-SNAPSHOT?

Posted by Brett Porter <br...@apache.org>.
are you expecting it to be problematic? I think including it in the  
current set is fine.

- Brett

On 12/04/2007, at 2:19 AM, Jesse Kuhnert wrote:

> Ok sounds good, thanks Brett.
>
> I have some local changes stored up that will hopefully make things
> forwards compatible with TestNG 5.6 -> whatever, should I tag the
> current surefire-collab and increment the snapshot version for that
> kind of work ?
>
> On 4/11/07, Brett Porter <br...@apache.org> wrote:
>> this was on my list of things to do over the next 2 days (not sure if
>> I'll get it done, but it is how I'm intending to spend the first days
>> of my holidays :)
>>
>> if I don't get it done by then, please start deploying snapshots from
>> the collab branch (there's nothing on trunk that needs to be deployed
>> - its all test cases so far IIRC).
>>
>> unless anyone else had time to review and merge the patches?
>>
>> The other thing on my list is 2.3.1 (see
>> <4C...@apache.org> in march on this
>> list for the plan there)
>>
>> - Brett
>>
>> On 11/04/2007, at 11:41 PM, Jesse Kuhnert wrote:
>>
>> > I still have some pending local changes that I've started for  
>> future
>> > proofing the testng / surefire api points but what I have  
>> checked in
>> > should be both backwards compatible and work with the latest 5.5
>> > version of TestNG.
>> >
>> > I don't know if there's been any activity on the mainline trunk
>> > version but if possible it'd be nice to try merging these  
>> changes to
>> > trunk and then deploying it out to the snapshot repos.
>> >
>> > ?
>> >
>> > --
>> > Jesse Kuhnert
>> > Tapestry/Dojo team member/developer
>> >
>> > Open source based consulting work centered around
>> > dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
>>
>
>
> -- 
> Jesse Kuhnert
> Tapestry/Dojo team member/developer
>
> Open source based consulting work centered around
> dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

Re: deploy surefire-collab 2.4-SNAPSHOT?

Posted by Jesse Kuhnert <jk...@gmail.com>.
Ok sounds good, thanks Brett.

I have some local changes stored up that will hopefully make things
forwards compatible with TestNG 5.6 -> whatever, should I tag the
current surefire-collab and increment the snapshot version for that
kind of work ?

On 4/11/07, Brett Porter <br...@apache.org> wrote:
> this was on my list of things to do over the next 2 days (not sure if
> I'll get it done, but it is how I'm intending to spend the first days
> of my holidays :)
>
> if I don't get it done by then, please start deploying snapshots from
> the collab branch (there's nothing on trunk that needs to be deployed
> - its all test cases so far IIRC).
>
> unless anyone else had time to review and merge the patches?
>
> The other thing on my list is 2.3.1 (see
> <4C...@apache.org> in march on this
> list for the plan there)
>
> - Brett
>
> On 11/04/2007, at 11:41 PM, Jesse Kuhnert wrote:
>
> > I still have some pending local changes that I've started for future
> > proofing the testng / surefire api points but what I have checked in
> > should be both backwards compatible and work with the latest 5.5
> > version of TestNG.
> >
> > I don't know if there's been any activity on the mainline trunk
> > version but if possible it'd be nice to try merging these changes to
> > trunk and then deploying it out to the snapshot repos.
> >
> > ?
> >
> > --
> > Jesse Kuhnert
> > Tapestry/Dojo team member/developer
> >
> > Open source based consulting work centered around
> > dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
>


-- 
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

Re: deploy surefire-collab 2.4-SNAPSHOT?

Posted by Brett Porter <br...@apache.org>.
this was on my list of things to do over the next 2 days (not sure if  
I'll get it done, but it is how I'm intending to spend the first days  
of my holidays :)

if I don't get it done by then, please start deploying snapshots from  
the collab branch (there's nothing on trunk that needs to be deployed  
- its all test cases so far IIRC).

unless anyone else had time to review and merge the patches?

The other thing on my list is 2.3.1 (see  
<4C...@apache.org> in march on this  
list for the plan there)

- Brett

On 11/04/2007, at 11:41 PM, Jesse Kuhnert wrote:

> I still have some pending local changes that I've started for future
> proofing the testng / surefire api points but what I have checked in
> should be both backwards compatible and work with the latest 5.5
> version of TestNG.
>
> I don't know if there's been any activity on the mainline trunk
> version but if possible it'd be nice to try merging these changes to
> trunk and then deploying it out to the snapshot repos.
>
> ?
>
> -- 
> Jesse Kuhnert
> Tapestry/Dojo team member/developer
>
> Open source based consulting work centered around
> dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com