Hi, I have tried to update my project to use maven3 (version 3.0.2), however I can no longer deploy artifacts to my repository.
I have found a number of notes about how to do this: https://cwiki.apache.org/MAVEN/maven-3x-compatibility-notes.html Gives >> Transport Protocols (Wagons) >> >> Unlike Maven 2, Maven 3 supports out of the box only http:, https: and file: >> as transport protocols. Why? Surely scp is both a central use case and existing functionality. >> To use other transport protocols like scp:, the appropriate wagons have to >> be explicitly declared >> in the POM as a build extension. >> If the wagon in question is only used for deployment, >> it can alternatively be declared as a dependency of the Maven Deploy Plugin. >> >> For more information, see Guide to Using Extensions. I have everything set up as per http://maven.apache.org/plugins/maven-deploy-plugin/examples/deploy-ssh-external.html I have followed the recommeds in http://maven.40175.n5.nabble.com/Wagon-in-3-0-No-connector-td3256506.html and followed exactly http://johnsjavapda.blogspot.com/2010/11/maven-wagon.html As so often with these things I am upgrading Maven at the same time as using a new install on Window7, I have checked that I can scp to the repository. I have added the wagon jar to the MAVEN_HOME/lib directory I am using cgywin on windows7, the actual error is: [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 29.056s [INFO] Finished at: Tue Apr 05 17:56:51 BST 2011 [INFO] Final Memory: 21M/534M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.5: deploy (default-deploy) on project melati-parent: Failed to deploy artifacts/met adata: No connector available to access repository melati_to (scp://melati.org/d ata/www/maven2/) of type default using the available factories WagonRepositoryCo nnectorFactory -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal o rg.apache.maven.plugins:maven-deploy-plugin:2.5:deploy (default-deploy) on proje ct melati-parent: Failed to deploy artifacts/metadata: No connector available to access repository melati_to (scp://melati.org/data/www/maven2/) of type default using the available factories WagonRepositoryConnectorFactory at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor .java:217) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor .java:153) thanks in advance Tim -- Tim Pizey - http://pizey.net/~timp Centre for Genomics and Global Health - http://cggh.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org