In settings.xml - something like

<servers>
 <server>
   <id>internal</id>
   <username>...</username>
   <password>...</password>
 </server>
</servers>

Andy

Maruf Aytekin wrote:
I would like to set a password protected repository. In order to download from repository you need to enter usernae and password to apache authentication prompt. Where should I configure it? in the pom or settings file?

<repositories>
   <repository>
     <id>internal</id>
     <name>MyCompany Repository</name>
     <url>http://mycompany.com/repository/maven2</url>
   </repository>
 </repositories>

Thanks for the help,

Maruf


---------------------------------------------------------------------
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]

Reply via email to