You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Kristian Rosenvold <kr...@gmail.com> on 2012/07/30 22:12:37 UTC
How to set up an IT repo ?
Surefire currently has a bunch of test projects at
https://svn.apache.org/repos/asf/maven/surefire/trunk/surefire-integration-tests/src/test/resources
It uses the maven-invoker-plugin to create a local repository (module
surefire-setup-integration-tests), but unfortunately all the IT's have
to run on-line because they resolve tons of different versions of
junits, testng and similar - which the invoker plugin does not seem to
handle too well.
I have tested that running on a pre-resolved local repo (hence
offline) doubles the speed of the IT run. Ideally I'd like to have
some code that loads all the poms in the test sub-projects, resolves
all the artifacts and installs them to the test repository. Anyone
know if this exists, or there's some code I can start from/modify ?
Kristian
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: How to set up an IT repo ?
Posted by Stephen Connolly <st...@gmail.com>.
See the versions-maven-plugin for examples of use
On 30 July 2012 21:16, Stephen Connolly <st...@gmail.com>wrote:
> mrm-maven-plugin @ mojo
>
>
> On 30 July 2012 21:12, Kristian Rosenvold <kr...@gmail.com>wrote:
>
>> Surefire currently has a bunch of test projects at
>>
>>
>> https://svn.apache.org/repos/asf/maven/surefire/trunk/surefire-integration-tests/src/test/resources
>>
>> It uses the maven-invoker-plugin to create a local repository (module
>> surefire-setup-integration-tests), but unfortunately all the IT's have
>> to run on-line because they resolve tons of different versions of
>> junits, testng and similar - which the invoker plugin does not seem to
>> handle too well.
>>
>> I have tested that running on a pre-resolved local repo (hence
>> offline) doubles the speed of the IT run. Ideally I'd like to have
>> some code that loads all the poms in the test sub-projects, resolves
>> all the artifacts and installs them to the test repository. Anyone
>> know if this exists, or there's some code I can start from/modify ?
>>
>> Kristian
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>>
>
Re: How to set up an IT repo ?
Posted by Stephen Connolly <st...@gmail.com>.
mrm-maven-plugin @ mojo
On 30 July 2012 21:12, Kristian Rosenvold <kr...@gmail.com>wrote:
> Surefire currently has a bunch of test projects at
>
>
> https://svn.apache.org/repos/asf/maven/surefire/trunk/surefire-integration-tests/src/test/resources
>
> It uses the maven-invoker-plugin to create a local repository (module
> surefire-setup-integration-tests), but unfortunately all the IT's have
> to run on-line because they resolve tons of different versions of
> junits, testng and similar - which the invoker plugin does not seem to
> handle too well.
>
> I have tested that running on a pre-resolved local repo (hence
> offline) doubles the speed of the IT run. Ideally I'd like to have
> some code that loads all the poms in the test sub-projects, resolves
> all the artifacts and installs them to the test repository. Anyone
> know if this exists, or there's some code I can start from/modify ?
>
> Kristian
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>