Hi,
when I use use site:deploy with scp (on Linux), something strange happens.
The site isn't deployed to the specified location, but in a somewhat strange
location!
>From the pom:
<distributionManagement>
<site>
<id>maven_html</id>
<url>scp:[EMAIL PROTECTED]
:/homes/maven/public_html/sites/</url>
</site>
</distributionManagement>
maven output:
[INFO] [site:deploy]
scp:prod.ebi.ac.uk:/homes/maven/public_html/sites/ - Session: Opened
Executing command: mkdir -p uk//homes/maven/public_html/sites/.
Executing command: mkdir -p uk//homes/maven/public_html/sites/.
Executing command: scp -t uk//homes/maven/public_html/sites/./wagon65232.zip
Uploading: ./wagon65232.zip to scp:
prod.ebi.ac.uk:/homes/maven/public_html/sites/
###############################
Transfer finished. 122920 bytes copied in 0.092 seconds
Executing command: cd uk//homes/maven/public_html/sites/.; unzip -q -o
wagon65232.zip; rm -f wagon65232.zip
scp:prod.ebi.ac.uk:/homes/maven/public_html/sites/ - Session: Disconnecting
scp:prod.ebi.ac.uk:/homes/maven/public_html/sites/ - Session: Disconnected
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
Notice the 'uk//homes/maven/public_html/sites/.' in the commands printed in
the output, arghh. So the site is created in that users home in the
directory in 'uk//homes/maven/public_html/sites/.' .
Is there something which I've done wrong in my settings?
Help greatly appreciated,
- Micke