Alex Karasulu wrote:

Steve,



I have a situation where I'm using a relative path to a test repository in
the project.properties file here:



maven.repo.remote = file:./testrepo/,http://www.ibiblio.org/maven/



If I run the reactor one level above the actual project it does not get the
relative directory. So if the


project is in the avalon-sandbox/repository/api directory and the reactor is
run one level

up in the avalon-sandbox/repository directory then I get failures accessing
the repository when I

run a test within the api directory.



How can I use a relative path above and have the test work when run by maven
in the repository


directory as well as the api directory?


The only way is to anchor relative to ${basedir}.As the reactor works its way across the suite the ${basedir} value is updated relative to the base of the current target projet.


Stephen.






Alex






--


Stephen J. McConnell
mailto:[EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to