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:[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]