I have set the default folder for FTP users. Do I need to specify the folder
again?


mgainty wrote:
> 
> ftp://3.36.231.203/
> ftp is the protocol
> 3.3.36.23.203 is the host
> / is the folder
> are you sure you want to retrieve from root /
> instead of a real folder?
> 
> Martin
> ----- Original Message ----- 
> From: "youhaodeyi" <[EMAIL PROTECTED]>
> To: <users@maven.apache.org>
> Sent: Thursday, May 29, 2008 5:35 AM
> Subject: A problem about deploying project.
> 
> 
>>
>> I want to deploy my project to a Host by FTP. I set the
>> distributionManagement and run the command "mvn deploy". This is my pom
>> file:
>>
>> <modelVersion>4.0.0</modelVersion>
>> <groupId>test</groupId>
>> <artifactId>test</artifactId>
>> <version>1.0-SNAPSHOT</version>
>>
>> ...
>> <distributionManagement>
>> <repository>
>> <id>Local Repository</id>
>> <name>Internal Repository</name>
>> <url>ftp://3.36.231.203/</url>
>> </repository>
>> <snapshotRepository>
>> <id>Local Repository</id>
>> <name>Internal Repository</name>
>> <url>ftp://3.36.231.203/</url>
>> </snapshotRepository>
>> </distributionManagement>
>> <build>
>>      <extensions>
>>             <extension>
>> <groupId>org.apache.maven.wagon</groupId>
>> <artifactId>wagon-webdav</artifactId>
>> <version>1.0-beta-1</version>
>> </extension>
>>       </extensions>
>> </build>
>> ...
>>
>> When run the command "mvn deploy" I got this error:
>>
>> [INFO] Retrieving previous build number from Local Repository
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Error retrieving previous build number for artifact 'comtest:jar':
>> repository metadata for: 'snapshot test:test:1.0-SNAPSHOT' could not be
>> retrieved from rep
>> ository: Local Repository due to an error: Required directory: '/' is
>> missing
>> -- 
>> View this message in context: 
>> http://www.nabble.com/A-problem-about-deploying-project.-tp17531032p17531032.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/A-problem-about-deploying-project.-tp17531032p17535681.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to