Download from central or mine?

2006-11-23 Thread jiangshachina

Hi guys,
I made my local repository to remote shared repository with JBoss.
My local repository has many artifacts from central repository.

Then I specified another local repository for my Maven-2.0.4.
I set following scripts to pom.xml of my project.
repositories
repository
idce/id
nameCE Central Maven Repository/name
urlhttp://172.20.82.35:8080/maven//url
/repository
/repositories
I run mvn package for the application.
I found that some artifacts were downloaded from my own shared repository,
but others were from central repository.

a cup of Java, cheers!
Sha Jiang
-- 
View this message in context: 
http://www.nabble.com/Download-from-central-or-mine--tf2691811s177.html#a7506181
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: Download from central or mine?

2006-11-23 Thread Wayne Fay

Declare your repo as a mirrorOf central in settings.xml to override Central.

Wayne

On 11/23/06, jiangshachina [EMAIL PROTECTED] wrote:


Hi guys,
I made my local repository to remote shared repository with JBoss.
My local repository has many artifacts from central repository.

Then I specified another local repository for my Maven-2.0.4.
I set following scripts to pom.xml of my project.
repositories
   repository
   idce/id
   nameCE Central Maven Repository/name
   urlhttp://172.20.82.35:8080/maven//url
   /repository
/repositories
I run mvn package for the application.
I found that some artifacts were downloaded from my own shared repository,
but others were from central repository.

a cup of Java, cheers!
Sha Jiang
--
View this message in context: 
http://www.nabble.com/Download-from-central-or-mine--tf2691811s177.html#a7506181
Sent from the Maven - Users mailing list archive at Nabble.com.


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