maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "troy ronning (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (WAGONFTP-22) Error deploying artifact: Unable to create directory
Date Fri, 17 Aug 2007 14:30:47 GMT
Error deploying artifact: Unable to create directory
----------------------------------------------------

                 Key: WAGONFTP-22
                 URL: http://jira.codehaus.org/browse/WAGONFTP-22
             Project: wagon-ftp
          Issue Type: Bug
    Affects Versions: 1.0-alpha-6
         Environment: maven-2.0.6
Windows XP SP2
            Reporter: troy ronning


I'm trying to deploy a project and receiving error below.
.........
[INFO] [deploy:deploy]
altDeploymentRepository = test.ftp::default::ftp://<server>
[INFO] Using alternate deployment repository test.ftp::default::ftp://<server>
[INFO] Retrieving previous build number from test.ftp
[DEBUG] repository metadata for: 'snapshot org.test:foo:1.0-SNAPSHOT' could not be found on
repository: test.ftp
Uploading: ftp://<server>/org/test/foo/1.0-SNAPSHOT/foo-1.0-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error deploying artifact: Unable to create directory org

[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying artifact: Unable to
create directory org
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
	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:597)
	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: Unable
to create directory org
	at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:174)
	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
	... 16 more
Caused by: org.apache.maven.artifact.deployer.ArtifactDeploymentException: Error deploying
artifact: Unable to create directory org
	at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:94)
	at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:162)
	... 18 more
Caused by: org.apache.maven.wagon.TransferFailedException: Unable to create directory org
	at org.apache.maven.wagon.providers.ftp.FtpWagon.fillOutputData(FtpWagon.java:264)
	at org.apache.maven.wagon.StreamWagon.put(StreamWagon.java:133)
	at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:237)
	at org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:153)
	at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:80)
	... 19 more

I have wagon-ftp set as a build extension.

    <build>
        <extensions>
            <extension>
                <groupId>org.apache.maven.wagon</groupId>
                <artifactId>wagon-ftp</artifactId>
                <version>1.0-alpha-6</version>
            </extension>
        </extensions>
    </build> 

I can execute 'mkd' successfully from ftp CLI.  

-- 
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

        

Mime
View raw message