Hi, 
 I am using Maven 1.0.2. I have setup an internal repository for our team. I 
am able to access it via http after running a web server on that machine. 
But we want to restrict the access to the repository and want everyone to 
access it via ftp only.
 I have set the property
 
maven.repo.remote = ftp:///n123

in my build.properties file.

*But the ftp server requires a username/password to login. How can I specify 
that ?*

I am able to deploy to this repository via ftp by setting the following 
properties.

maven.repo.list = FTPRepo

## Settings for the remote repository 'FTPRepo' 
maven.repo.FTPRepo=ftp://n123
maven.repo.FTPRepo.username=uname
maven.repo.FTPRepo.password=pwd
maven.repo.FTPRepo.directory=.

While try to build, I get the following error

Error retrieving artifact from [ftp://n123/xyz/jars/xyz-1.0.jar]: 
java.net.ProtocolException: Server redirected too many times (20)

I am able to access the ftp site by giving ftp://n6770.

Any suggestions/pointers ... 

Thanks in advance.

Regards,
Kanakambaran

Reply via email to