You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Pieter Vandepitte <Pi...@cc.kuleuven.ac.be> on 2006/02/23 17:02:01 UTC

[m2] strange behavior for deploy:deploy-file

Can s.o. explain me the following? I'm executing exactly the same 
deploy:deply-file goal in 2 different subdirectories but giving me a 
success or failure :(

best regards

[vandepitte@mirzam maven-scripts]$ /home/vandepitte/maven-2.0.2/bin/mvn 
deploy:deploy-file 
-Dfile=/usr/local/blackboard/systemlib/bb-cms-admin.jar 
-DpomFile=/home/vandepitte/maven/pom/cms-admin.xml 
-DrepositoryId=ftp-repository 
-Durl=ftp://u0040925.kuleuven.be/public_html/maven -Dversion=6.3.1.574
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'deploy'.
[INFO] 
----------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO]    task-segment: [deploy:deploy-file] (aggregator-style)
[INFO] 
----------------------------------------------------------------------------
[INFO] [deploy:deploy-file]
[INFO] 
----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] 
----------------------------------------------------------------------------
[INFO] Error deploying artifact: Unsupported Protocol: 'ftp': Cannot 
find wagon which supports the requested protocol: ftp

Component descriptor cannot be found in the component repository: 
org.apache.maven.wagon.Wagonftp.
[INFO] 
----------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] 
----------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Thu Feb 23 16:58:38 CET 2006
[INFO] Final Memory: 3M/53M
[INFO] 
----------------------------------------------------------------------------
[vandepitte@mirzam maven-scripts]$ cd ..
[vandepitte@mirzam vandepitte]$ /home/vandepitte/maven-2.0.2/bin/mvn 
deploy:deploy-file 
-Dfile=/usr/local/blackboard/systemlib/bb-cms-admin.jar 
-DpomFile=/home/vandepitte/maven/pom/cms-admin.xml 
-DrepositoryId=ftp-repository 
-Durl=ftp://u0040925.kuleuven.be/public_html/maven -Dversion=6.3.1.574
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'deploy'.
[INFO] 
----------------------------------------------------------------------------
[INFO] Building Unnamed - javax.transaction:jta:jar:1.0.1B
[INFO]    task-segment: [deploy:deploy-file] (aggregator-style)
[INFO] 
----------------------------------------------------------------------------
[INFO] [deploy:deploy-file]
Uploading: 
ftp://u0040925.kuleuven.be/public_html/maven/blackboard/cms-admin/6.3.1.574/cms-admin-6.3.1.574.jar
548K uploaded
[INFO] Retrieving previous metadata from ftp-repository
[INFO] Uploading repository metadata for: 'artifact blackboard:cms-admin'
[INFO] Retrieving previous metadata from ftp-repository
[INFO] Uploading project information for cms-admin 6.3.1.574
[INFO] 
----------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] 
----------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Thu Feb 23 16:58:51 CET 2006
[INFO] Final Memory: 3M/53M
[INFO] 
----------------------------------------------------------------------------


Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm