You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Brian E. Fox" <br...@reply.infinity.nu> on 2006/02/01 15:17:09 UTC

RE: maven-proxy: Does proxying internal repositories make any sen se?

It's also usefull when you have multiple offices within the same
organization. 

-----Original Message-----
From: Edwin Punzalan [mailto:epunzalan@exist.com] 
Sent: Monday, January 30, 2006 9:46 PM
To: Maven Users List
Subject: Re: maven-proxy: Does proxying internal repositories make any
sen se?


No, I don't change their pom.  ;)

Say you want to use a project from codehaus, you can put the codehaus
repository in your pom.xml so maven can download jars from it.

Its not documented?  Hmmm... Have you tried these:

http://maven.apache.org/guides/introduction/introduction-to-repositories
.html
http://maven.apache.org/guides/mini/guide-multiple-repositories.html

Anyway repositories tell maven where to get artifacts aside from central
or ibiblio.

^_^



Treloar, Barrie (SAPOL) wrote:

>>-----Original Message-----
>>From: Edwin Punzalan [mailto:epunzalan@exist.com]
>>Sent: Tuesday, 31 January 2006 12:18 PM
>>To: Maven Users List
>>Subject: Re: maven-proxy: Does proxying internal repositories make any

>>sen se?
>>
>>
>>For deploying, yes. you need only the dsitributionManagement and the 
>>settings.xml configuration.
>>
>>But when other projects wants to use your artifacts ( which is of 
>>course not in ibiblio ), they need to know where to download it.  So 
>>you put <repositories> in their pom.xml.
>>    
>>
>
>You change their pom?
>
>The pom.xml documentation doesn't explain what the purpose of the 
><repositories> section.
>
>>>From my limited knowledge of m2 I have noticed that unknown artifacts
>contact all the repositories defined in settings.xml, in the order 
>specified, to find the artifact to download.
>
>I'm assuming the <repositories> section defines the id of the 
>repository so that it can be specified in <mirror> settings.xml.
>
>Thanks for your response.
>Barrie
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org