I would like to use maven for deploying snapshots
via scp. So've inserted this snippet:

 maven.repo.remote=http://server:9999/repository
 maven.repo.list=my.snapshots
 maven.repo.managesoft.snapshots=scp://server
 maven.repo.managesoft.snapshots.directory=/var/lib/maven-repository/
 maven.repo.managesoft.snapshots.username=tcurdt
 maven.repo.managesoft.snapshots.privatekey=/home/tcurdt/.ssh/id_dsa

All working fine ...but as you can see my userid
and the home directory are hardcoded. Is there any
kind of environment variable substitution mechanism
available inside the project properties?

 maven.repo.managesoft.snapshots.username={user}
 maven.repo.managesoft.snapshots.privatekey={home}/.ssh/id_dsa

...I fear otherwise I would have to pass in the
settings via -D commandline switch.

cheers
--
Torsten

Attachment: PGP.sig
Description: This is a digitally signed message part

Reply via email to