[m2] Multiple remote repositories

2005-09-12 Thread Sverre Eplov
I'm currently looking at the task ahead of us, migrating from Maven 1 to Maven
2. Transitive dependency resolving will cure many of our current ill's 

But: I'm having trouble getting M2 to work with multiple repositories. I wish M2
to first look at ibiblio (http://www.ibiblio.org/maven2) and secondary at my own
repository (http://jarsm2.dyndns.dk).

I attempt to achieve this by defining a profile which is referenced in the
alwaysActive part of the POM.
Only, the repositories I define in the profile seems to be completely ignored.

I can't locate any documentation on remote repositories apart from the ones
listed in the profiles sections.  Have I missed something ?

A small sample of how to address multiple remote repositories would make me a
happy man *S*.

br,
 /Sverre Eplov


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [m2] Multiple remote repositories

2005-09-12 Thread Allan Ramirez

Hi,

In your pom.xml insert this segment

project
...
 repositories
   repository
 idcentral/id
 nameMaven Repository Switchboard/name
 urlhttp://repo1.maven.org/maven2/url
   /repository
   repository
 idmy-repo/id
 nameyour custom repo/name
 urlhttp://jarsm2.dyndns.dk/url
   /repository
 /repositories
...
/project

Regards,
-allan

Sverre Eplov wrote:


I'm currently looking at the task ahead of us, migrating from Maven 1 to Maven
2. Transitive dependency resolving will cure many of our current ill's 

But: I'm having trouble getting M2 to work with multiple repositories. I wish M2
to first look at ibiblio (http://www.ibiblio.org/maven2) and secondary at my own
repository (http://jarsm2.dyndns.dk).

I attempt to achieve this by defining a profile which is referenced in the
alwaysActive part of the POM.
Only, the repositories I define in the profile seems to be completely ignored.

I can't locate any documentation on remote repositories apart from the ones
listed in the profiles sections.  Have I missed something ?

A small sample of how to address multiple remote repositories would make me a
happy man *S*.

br,
/Sverre Eplov


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