Check if the user has rights/permissions to create a directory in your
UNIX machine ...

Thanks & Regards,
A.S.KRISHNAN,
AZTEC, BANGALORE.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Saturday, February 25, 2006 4:27 AM
To: users@maven.apache.org
Subject: Error in deploy:deploy-file

Hi All,

I'm trying to deploy some 3rd party jars to my remote repository

i'm trying to do this from my desktop(windows) to my server Unix

so from my desktop command line i used

C:>mvn -X -P UnixServ deploy:deploy-file
                -DgroupId=weblogic
                 -DartifactId=ejbgen
                -Dversion=SNAPSHOT
                -Dpackaging=jar
                 -Dfile=ejbgen.jar
                -DrepositoryId=UnixServ-FTP
                -Durl=ftp://myserver.com


when i do this i'm getting following error, i was able to manually
create
a directory when login as the FTP user ,

anyone has any idea onthis? Please

[INFO] [deploy:deploy-file]
[INFO] Retrieving previous build number from UnixServ-FTP
[DEBUG] repository metadata for: 'snapshot weblogic:ejbgen:SNAPSHOT'
could
not be found on repository: UnixServ-FTP
[DEBUG] not adding permissions to wagon connection
Uploading:
ftp://myserver.com/weblogic/ejbgen/SNAPSHOT/ejbgen-SNAPSHOT.jar
[INFO]
------------------------------------------------------------------------
----
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
----
[INFO] Error deploying artifact: Unable to create directory weblogic

[INFO]
------------------------------------------------------------------------
----
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying
artifact: Unable to create directory weblogic
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:556)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoa
l(DefaultLifecycleExecutor.java:485)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:455)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.jav
a:303)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:216)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:139)
        at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        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 weblogic

        at
org.apache.maven.plugin.deploy.DeployFileMojo.execute(DeployFileMojo.jav
a:184)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:415)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:531)
        ... 16 more
Caused by:
org.apache.maven.artifact.deployer.ArtifactDeploymentException:
Error deploying artifact: Unable to create di
rectory weblogic
        at
org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(Defaul
tArtifactDeployer.java:91)
        at
org.apache.maven.plugin.deploy.DeployFileMojo.execute(DeployFileMojo.jav
a:180)
        ... 18 more
Caused by: org.apache.maven.wagon.TransferFailedException: Unable to
create directory weblogic
        at
org.apache.maven.wagon.providers.ftp.FtpWagon.fillOutputData(FtpWagon.ja
va:262)
        at org.apache.maven.wagon.StreamWagon.put(StreamWagon.java:133)
        at
org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(Defa
ultWagonManager.java:180)
        at
org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(Defaul
tWagonManager.java:109)
        at
org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(Defaul
tArtifactDeployer.java:77)
        ... 19 more
[INFO]
------------------------------------------------------------------------
----
[INFO] Total time: 2 seconds
[INFO] Finished at: Fri Feb 24 16:42:00 CST 2006
[INFO] Final Memory: 2M/4M
[INFO]
------------------------------------------------------------------------
----



Thanks,
Raghu



**********************************************************

The information contained in, or attached to, this e-mail, contains 
confidential information and is intended solely for the use of the individual 
or entity to whom they are addressed and is subject to legal privilege. If you 
have received this e-mail in error you should notify the sender immediately by 
reply e-mail, delete the message from your system and notify your system 
manager. Please do not copy it for any purpose, or disclose its contents to any 
other person. The views or opinions presented in this e-mail are solely those 
of the author and do not necessarily represent those of the company. The 
recipient should check this e-mail and any attachments for the presence of 
viruses. The company accepts no liability for any damage caused, directly or 
indirectly, by any virus transmitted in this email

************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to