Only system properties, but that covers what you need:
${user.home} = $HOME
${user.name} = $USER / $LOGNAME
HTH,
Brett
On 7/26/05, Torsten Curdt <[EMAIL PROTECTED]> wrote:
> I would like to use maven for deploying snapshots
> via scp. So've inserted this snippet:
>
> maven.repo.remote=http://server:/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
>
>
>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]