You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Hilco Wijbenga <hi...@gmail.com> on 2008/01/02 03:55:02 UTC

Where are the ITs for 2.0.9-SNAPSHOT?

I would like to try and add some functionality to Maven so I tried to
create an IT first. That proved harder than I had expected because I
can't find them. :-)

I found /maven/core-integration-testing but this is for 2.1-SNAPSHOT
and I very much doubt these would work for 2.0.9-SNAPSHOT. (I haven't
actually tried though...)

Should I ignore 2.0.9 and focus on 2.1? If not, then where (or how?)
do I find the ITs for 2.0.9?

Cheers,
Hilco

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


Re: Where are the ITs for 2.0.9-SNAPSHOT?

Posted by Hilco Wijbenga <hi...@gmail.com>.
On Jan 2, 2008 6:39 AM, Brian E. Fox <br...@reply.infinity.nu> wrote:
> Yes I think it is. The original focus for that doc was how to create a
> new IT test, but it would be helpful to say how to run the current Its
> too...

For the record, I did get all the ITs to pass but when I was about to
add my comment I noticed that rerunning the same command simply didn't
run the ITs anymore. (It does lots of downloading but no running of
ITs.)

Until I understand why it works only sometimes I don't think I should
be commenting on anything. :-) I emptied my local repository and did a
mvn clean but that doesn't seem to make a difference. I don't get it
but I'm sure it's something really silly. ;-)

(The single IT from the doc works like a charm, of course.)

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


RE: Where are the ITs for 2.0.9-SNAPSHOT?

Posted by "Brian E. Fox" <br...@reply.infinity.nu>.
Yes I think it is. The original focus for that doc was how to create a
new IT test, but it would be helpful to say how to run the current Its
too...

-----Original Message-----
From: Brett Porter [mailto:brett@apache.org] 
Sent: Tuesday, January 01, 2008 11:45 PM
To: Maven Developers List
Subject: Re: Where are the ITs for 2.0.9-SNAPSHOT?

Currently, I believe you have to have run "mvn install" from the core- 
integration-testing module to get it to work.

If that's missing from the doc Brian forwarded, please do add it as a  
comment :)

Thanks,
Brett

On 02/01/2008, at 3:39 PM, Hilco Wijbenga wrote:

> On Jan 1, 2008 7:12 PM, Brett Porter <br...@apache.org> wrote:
>> Those integration tests do work for 2.0.9 - take a look at maven- 
>> core-
>> it-runner in the Maven 2.0.x source tree for one alternative for
>> running them.
>
> I just ran the tests and about 25% fail, all because Maven fails to
> download artifacts (or so surefire-reports tells me). E.g.:
>
> GroupId: org.apache.maven.its.plugins ArtifactId:
> maven-it-plugin-touch Version: 2.1-SNAPSHOT
>
> In my settings.xml I have
>
> http://people.apache.org/repo/m2-snapshot-repository
> and
> http://snapshots.repository.codehaus.org
>
> and I've activated the appropriat profiles (help:effective-pom lists
> said repositories). Which repository am I missing?
>
> ---------------------------------------------------------------------
> 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: Where are the ITs for 2.0.9-SNAPSHOT?

Posted by Brett Porter <br...@apache.org>.
Currently, I believe you have to have run "mvn install" from the core- 
integration-testing module to get it to work.

If that's missing from the doc Brian forwarded, please do add it as a  
comment :)

Thanks,
Brett

On 02/01/2008, at 3:39 PM, Hilco Wijbenga wrote:

> On Jan 1, 2008 7:12 PM, Brett Porter <br...@apache.org> wrote:
>> Those integration tests do work for 2.0.9 - take a look at maven- 
>> core-
>> it-runner in the Maven 2.0.x source tree for one alternative for
>> running them.
>
> I just ran the tests and about 25% fail, all because Maven fails to
> download artifacts (or so surefire-reports tells me). E.g.:
>
> GroupId: org.apache.maven.its.plugins ArtifactId:
> maven-it-plugin-touch Version: 2.1-SNAPSHOT
>
> In my settings.xml I have
>
> http://people.apache.org/repo/m2-snapshot-repository
> and
> http://snapshots.repository.codehaus.org
>
> and I've activated the appropriat profiles (help:effective-pom lists
> said repositories). Which repository am I missing?
>
> ---------------------------------------------------------------------
> 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: Where are the ITs for 2.0.9-SNAPSHOT?

Posted by Hilco Wijbenga <hi...@gmail.com>.
On Jan 1, 2008 7:12 PM, Brett Porter <br...@apache.org> wrote:
> Those integration tests do work for 2.0.9 - take a look at maven-core-
> it-runner in the Maven 2.0.x source tree for one alternative for
> running them.

I just ran the tests and about 25% fail, all because Maven fails to
download artifacts (or so surefire-reports tells me). E.g.:

GroupId: org.apache.maven.its.plugins ArtifactId:
maven-it-plugin-touch Version: 2.1-SNAPSHOT

In my settings.xml I have

http://people.apache.org/repo/m2-snapshot-repository
and
http://snapshots.repository.codehaus.org

and I've activated the appropriat profiles (help:effective-pom lists
said repositories). Which repository am I missing?

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


Re: Where are the ITs for 2.0.9-SNAPSHOT?

Posted by Brett Porter <br...@apache.org>.
Those integration tests do work for 2.0.9 - take a look at maven-core- 
it-runner in the Maven 2.0.x source tree for one alternative for  
running them.

Cheers,
Brett

On 02/01/2008, at 1:55 PM, Hilco Wijbenga wrote:

> I would like to try and add some functionality to Maven so I tried to
> create an IT first. That proved harder than I had expected because I
> can't find them. :-)
>
> I found /maven/core-integration-testing but this is for 2.1-SNAPSHOT
> and I very much doubt these would work for 2.0.9-SNAPSHOT. (I haven't
> actually tried though...)
>
> Should I ignore 2.0.9 and focus on 2.1? If not, then where (or how?)
> do I find the ITs for 2.0.9?
>
> Cheers,
> Hilco
>
> ---------------------------------------------------------------------
> 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: Where are the ITs for 2.0.9-SNAPSHOT?

Posted by Hilco Wijbenga <hi...@gmail.com>.
On Jan 1, 2008 8:02 PM, Brian E. Fox <br...@reply.infinity.nu> wrote:
> Take a look here:
> http://docs.codehaus.org/display/MAVEN/Creating+a+Maven+Integration+Test

Awesome! That's very helpful. Thanks!

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


RE: Where are the ITs for 2.0.9-SNAPSHOT?

Posted by "Brian E. Fox" <br...@reply.infinity.nu>.
Take a look here:
http://docs.codehaus.org/display/MAVEN/Creating+a+Maven+Integration+Test

-----Original Message-----
From: Hilco Wijbenga [mailto:hilco.wijbenga@gmail.com] 
Sent: Tuesday, January 01, 2008 9:55 PM
To: Maven Developers List
Subject: Where are the ITs for 2.0.9-SNAPSHOT?

I would like to try and add some functionality to Maven so I tried to
create an IT first. That proved harder than I had expected because I
can't find them. :-)

I found /maven/core-integration-testing but this is for 2.1-SNAPSHOT
and I very much doubt these would work for 2.0.9-SNAPSHOT. (I haven't
actually tried though...)

Should I ignore 2.0.9 and focus on 2.1? If not, then where (or how?)
do I find the ITs for 2.0.9?

Cheers,
Hilco

---------------------------------------------------------------------
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