Webdav deploy to non webdav url gives wrong error message
---------------------------------------------------------
Key: WAGON-67
URL: http://jira.codehaus.org/browse/WAGON-67
Project: wagon
Issue Type: Improvement
Components: wagon-webdav
Affects Versions: 1.0-beta-1
Reporter: Carlos Sanchez
Priority: Minor
Deploying to an archiva repo that hasn't been created
[INFO] Error deploying artifact: Resource to deploy not found: File:
http://maestro.carlos.org:8080/repository/snapshots/.../myproject-0.5-20061215.200032-1.jar
does not exist
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying
artifact: Resource to deploy not found: File:
http://maestro.carlos.org:8080/repository/snapshots/.../myproject-0.5-20061215.200032-1.jar
does not exist
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:327)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:120)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:269)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error deploying
artifact: Resource to deploy not found: File:
http://maestro.carlos.org:8080/repository/snapshots/.../myproject-0.5-20061215.200032-1.jar
does not exist
at
org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:143)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:418)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
... 16 more
Caused by: org.apache.maven.artifact.deployer.ArtifactDeploymentException:
Error deploying artifact: Resource to deploy not found: File:
http://maestro.carlos.org:8080/repository/snapshots/.../myproject-0.5-20061215.200032-1.jar
does not exist
at
org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:91)
at
org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:131)
... 18 more
Caused by: org.apache.maven.wagon.TransferFailedException: Resource to deploy
not found: File:
http://maestro.carlos.org:8080/repository/snapshots/.../myproject-0.5-20061215.200032-1.jar
does not exist
at
org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:241)
at
org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:131)
at
org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:77)
... 19 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: File:
http://maestro.carlos.org:8080/repository/snapshots/.../myproject-0.5-20061215.200032-1.jar
does not exist
at
org.apache.maven.wagon.providers.webdav.WebDavWagon.put(WebDavWagon.java:279)
at
org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:202)
... 21 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira