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

Reply via email to