Sharmishta

 I you want to use ftp to deploy locally your settings must be :

maven.repo.list=R1
maven.repo.R1=ftp://localhost
maven.repo.R1.directory=/ROOT/repository
maven.repo.R1.username=sharmishta
maven.repo.R1.password=hrhk

http://maven.apache.org/maven-1.x/plugins/artifact/examples.html

Arnaud

On 8/2/06, sharmishta.kaul <[EMAIL PROTECTED]> wrote:

I'm using maven1.0. I want to deploy to the remote repository.
I have used the following code in project.properties

maven.repo.list=R1
maven.repo.R1 = ftp://localhost:21/ROOT/repository
maven.repo.R1.directory=http://localhost:8080/ROOT/repository
maven.repo.R1.username=sharmishta
maven.repo.R1.password=hrhk

When i give the command maven jar:deploy, i get thr following exception

jar:deploy:
    [echo] maven.repo.list is set - using artifact deploy mode
Will deploy to 1 repository(ies): R1
Deploying to repository: R1
Failed to deploy to: R1 Reason: Could not connect to server.

BUILD FAILED
File...... C:\Documents and Settings\Administrator\.maven\cache\maven-
artifact-plugin-1.4.1\plugin.jelly
Element... artifact:artifact-deploy
Line...... 94
Column.... 13
Unable to deploy to any repositories

Please tell me what I'm missing. Do I have to use some plugin for that. If
yes then how.Please help. I've not worked in maven before





Reply via email to