Hi Gert,

the --localRepository option is not mapped yet but we will do so asap.
Also, we will allow probably raw pax runner arguments to solve those
unmapped cases quickly.

For NOW (if you cannot wait or cannot use a snapshot version):
The pax exam maven plugin already supports raw pax runner arguments.
http://wiki.ops4j.org/display/paxexam/Configuration+using+Maven+Plugin

Anyhow, you will get a direct solution in the current development version
0.5.0-SNAPSHOT very quickly.

Thanks for the hint,
Toni

On Tue, Apr 21, 2009 at 11:13 AM, Gert Vanthienen <[email protected]
> wrote:

> L.S.,
>
> When running our Pax Exam integration tests from a CI server like
> Hudson or TeamCity, the tests fail resolving some of the mvn: urls.
> This is because these servers use the -Dmaven.repo.local setting to
> override the local repository location.
>
> We tried specifying the local repo URL by passing it along in the
> surefire configuration as...
> <configuration>
>
> <argLine>-Dorg.ops4j.pax.url.mvn.localRepository=${maven.repo.local}</argLine>
> </configuration>
>
> We also tried propagating it further in the unit test itself by
> calling systemProperty() to set the same property, but neither
> solution worked for us.  I guess what we really want to do is set the
> --localRepository parameter on the underlying Pax Runner process.
>
> What would be the way to make this work?
>
> Regards,
>
> Gert Vanthienen
> ------------------------
> Open Source SOA: http://fusesource.com
> Blog: http://gertvanthienen.blogspot.com/
>
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general
>



-- 
Toni Menzel
Independent Software Developer - Looking for new projects!
Professional Profile: http://www.osgify.com
Blog: tonitcom.blogspot.com
[email protected]
http://www.ops4j.org     - New Energy for OSS Communities - Open
Participation Software.
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to