You can either use the ext/ directory in the Maven installation, or use the 
extension classpath property so that the scp wagon will load. I created a 
little recipe with an example of each method:

https://github.com/jvanzyl/maven-recipes/tree/master/deploy-with-scp-extension

On Aug 29, 2011, at 9:18 AM, mihxil wrote:

> 
> Maxime Gréau wrote:
>> 
>> In all cases (I mean if you have an existing pom.xml or not), there will
>> be
>> a pom.xml with the artifact in the remote repository.
>> 
>> If you want to deploy an existing file (jar, war...) in a remote
>> repository,
>> you have 2 choices :
>> - use deploy:deploy-file goal, this goal can be execute with or without a
>> pom.xml [1]
>> 
> The point is that we don't understand how you can add an extension to the
> pom without a pom. Because you need one now to be able to connect with ssh.
> 
> 
> --
> View this message in context: 
> http://maven.40175.n5.nabble.com/maven-3-deploy-deploy-file-and-dav-http-tp3370548p4746131.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
http://twitter.com/jvanzyl
---------------------------------------------------------




Reply via email to