|
Related threads on the user list: http://www.nabble.com/-m1.1--Unable-to-deploy-to-remote-repository-tf1998533.html#a5486207
Lukas Theussl made changes - 10/Aug/06 10:00 AM
Hi folks, I work on Windoxs XP box using a Linux box as repository maven-1.1-beta3 the deployment with maven-1.1-beta3 the deployment fails with Will deploy to 1 repository(ies): releases maven-2.0.4 works ant using the optional scp task and jsch-0.1.14.jar works Got the same behaviour after updating to 1.1-beta3 on Fedora cor5, using Sun JDK 1.5.0_07. Plain scp failed because of host key rejected, while scpexe just silently did nothing... Checked out trunk of maven-artifact-plugin, compiled and replaced the cached classes, both scp and scpexe work fine.
Arnaud Heritier made changes - 10/Aug/06 06:42 PM
Arnaud Heritier made changes - 10/Aug/06 06:48 PM
I just deployed the SNAPSHOT of the version 1.8.1. You can test it with maven 1.1 beta 3 maven plugin:download -DgroupId=maven -DartifactId=maven-artifact-plugin -Dversion=1.8.1-SNAPSHOT -Dmaven.repo.remote=http://www.ibiblio.org/maven It should fix the problem. https://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/artifact/src/main/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java?sortdir=down&r1=350092&r2=409253 Works for me! Great job Arnaud! I ran plugin:download as you have above, then ran maven -Dmaven.repo.list=maven.plugins.sf.snapshots plugin:repository-deploy, and it deployed. It's fixed. Host key is always accepted.
Arnaud Heritier made changes - 11/Aug/06 04:44 PM
Jeff found that this bug exists also with the sftp protocol
Arnaud Heritier made changes - 16/Aug/06 05:59 PM
Fixed also for SFTP protocol. A new snapshot of the plugin is deployed with this protocol
Arnaud Heritier made changes - 16/Aug/06 06:03 PM
Good job Arnaud, the new snapshot works for SFTP.
Lukas Theussl made changes - 07/May/07 03:42 AM
Lukas Theussl made changes - 07/May/07 03:43 AM
Lukas Theussl made changes - 07/May/07 03:46 AM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Also problem with file system deployment:
On SERVERX, I have a shared directory named 'maven-artifacts' (so \\SERVERX\maven-artifacts maps to the root of the maven repository)
Here's my configuration:
Running m 1.0.2 without Wagon (so an old version of the artifact plugin) is running OK. If I upgrade (both m1.0.2 and m1.1) the deployment is running fine (no error) but nothing is deployed on the repository !
I will reproduce the problem ASAP and provide a debug log.