You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by berndq <be...@gmx.net> on 2006/07/13 00:26:23 UTC

how to use freshly compiled surefire junit runner

Hi all,

i can compile the surefire sources from svn 
(http://svn.apache.org/repos/asf/maven/surefire/trunk)
and run "mvn install" succesfully to get it into the
local repository:

----
[INFO] Installing 
D:\maven\surefire-trunk\surefire-providers\surefire-junit\target\surefire-junit-2.
1-SNAPSHOT.jar to C:\xxx\.m2\repository\org\apache\maven\surefire\surefi
re-junit\2.1-SNAPSHOT\surefire-junit-2.1-SNAPSHOT.jar
...
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
----


But I could not figure out how to use this snapshot from another project.

What would I need to add to the pom?

thanks!

Bernd

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: how to use freshly compiled surefire junit runner

Posted by berndq <be...@gmx.net>.
dan tran wrote:
> you will need fetch maven-surefire-plugin source and makesure it uses the
> surefire components snapshot ( mostlikely
> it is already done so)
> 
> after that new binary kicks in automatically

that worked, thanks!

Bernd


> try mvn -X
> 
> -Dan
> 
> 
> On 7/12/06, berndq <be...@gmx.net> wrote:
>>
>>
>> Hi all,
>>
>> i can compile the surefire sources from svn
>> (http://svn.apache.org/repos/asf/maven/surefire/trunk)
>> and run "mvn install" succesfully to get it into the
>> local repository:
>>
>> ----
>> [INFO] Installing
>>
>> D:\maven\surefire-trunk\surefire-providers\surefire-junit\target\surefire-junit-2. 
>>
>> 1-SNAPSHOT.jar to C:\xxx\.m2\repository\org\apache\maven\surefire\surefi
>> re-junit\2.1-SNAPSHOT\surefire-junit-2.1-SNAPSHOT.jar
>> ...
>> ------------------------------------------------------------------------
>> [INFO] BUILD SUCCESSFUL
>> ----
>>
>>
>> But I could not figure out how to use this snapshot from another project.
>>
>> What would I need to add to the pom?
>>
>> thanks!
>>
>> Bernd
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: how to use freshly compiled surefire junit runner

Posted by dan tran <da...@gmail.com>.
you will need fetch maven-surefire-plugin source and makesure it uses the
surefire components snapshot ( mostlikely
it is already done so)

after that new binary kicks in automatically

try mvn -X

-Dan


On 7/12/06, berndq <be...@gmx.net> wrote:
>
>
> Hi all,
>
> i can compile the surefire sources from svn
> (http://svn.apache.org/repos/asf/maven/surefire/trunk)
> and run "mvn install" succesfully to get it into the
> local repository:
>
> ----
> [INFO] Installing
>
> D:\maven\surefire-trunk\surefire-providers\surefire-junit\target\surefire-junit-2.
> 1-SNAPSHOT.jar to C:\xxx\.m2\repository\org\apache\maven\surefire\surefi
> re-junit\2.1-SNAPSHOT\surefire-junit-2.1-SNAPSHOT.jar
> ...
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> ----
>
>
> But I could not figure out how to use this snapshot from another project.
>
> What would I need to add to the pom?
>
> thanks!
>
> Bernd
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

Re: how to use freshly compiled surefire junit runner

Posted by berndq <be...@gmx.net>.
Vincent Siveton wrote:
> User question. Please post it to the users list.

ok, sorry, was not sure where to post.

> 
> BTW, did you try:
> <dependency>
>    <groupId>org.apache.maven.surefire</groupId>
>    <artifactId>surefire-junit</artifactId>
>    <version>2.1-SNAPSHOT</version>
> </dependency>
>

did not help, but Dan's answer did,

anyway, thanks and sorry for the noise

Bernd

> Cheers,
> 
> Vincent
> 
> 2006/7/12, berndq <be...@gmx.net>:
>>
>> Hi all,
>>
>> i can compile the surefire sources from svn
>> (http://svn.apache.org/repos/asf/maven/surefire/trunk)
>> and run "mvn install" succesfully to get it into the
>> local repository:
>>
>> ----
>> [INFO] Installing
>> D:\maven\surefire-trunk\surefire-providers\surefire-junit\target\surefire-junit-2. 
>>
>> 1-SNAPSHOT.jar to C:\xxx\.m2\repository\org\apache\maven\surefire\surefi
>> re-junit\2.1-SNAPSHOT\surefire-junit-2.1-SNAPSHOT.jar
>> ...
>> ------------------------------------------------------------------------
>> [INFO] BUILD SUCCESSFUL
>> ----
>>
>>
>> But I could not figure out how to use this snapshot from another project.
>>
>> What would I need to add to the pom?
>>
>> thanks!
>>
>> Bernd
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: how to use freshly compiled surefire junit runner

Posted by Vincent Siveton <vi...@gmail.com>.
User question. Please post it to the users list.

BTW, did you try:
<dependency>
    <groupId>org.apache.maven.surefire</groupId>
    <artifactId>surefire-junit</artifactId>
    <version>2.1-SNAPSHOT</version>
</dependency>

Cheers,

Vincent

2006/7/12, berndq <be...@gmx.net>:
>
> Hi all,
>
> i can compile the surefire sources from svn
> (http://svn.apache.org/repos/asf/maven/surefire/trunk)
> and run "mvn install" succesfully to get it into the
> local repository:
>
> ----
> [INFO] Installing
> D:\maven\surefire-trunk\surefire-providers\surefire-junit\target\surefire-junit-2.
> 1-SNAPSHOT.jar to C:\xxx\.m2\repository\org\apache\maven\surefire\surefi
> re-junit\2.1-SNAPSHOT\surefire-junit-2.1-SNAPSHOT.jar
> ...
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> ----
>
>
> But I could not figure out how to use this snapshot from another project.
>
> What would I need to add to the pom?
>
> thanks!
>
> Bernd
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org