Hi,
I now have my project deploying using scp.
I added an explicit configuration for the deploy plugin to the pom:
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.5</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh</artifactId>
<version>1.0-beta-7</version>
</dependency>
</dependencies>
</plugin>
To get Maven (M2) to deploy using scp you need to add
the wagon-ssh.jar in your /usr/local/apache-maven/lib or equivalent,
(if you do not you will get a spurious "failed to create directory
message" and a NPE)
You do not need an <extension> section for M2 or M3.
Thanks for your help,
I would welcome the ssh wagon being part of the default install.
cheers
Tim
--
Tim Pizey - http://pizey.net/~timp
Centre for Genomics and Global Health - http://cggh.org
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]