Re: [m2] Internal Repositories

2006-03-29 Thread mawi
this message in context: http://www.nabble.com/-m2-Internal-Repositories-t1258457.html#a3649303 Sent from the Maven - Users forum at Nabble.com.

Re: [m2] Internal Repositories

2006-03-15 Thread Khin, Gerald
Meanwhile I'm using the maxen-proxy based solution as suggested by Alexandre. Works fine for me. Cheers, Gerald FROM: Magnus Hagström [mailto:[EMAIL PROTECTED] Sent: Mi 03/15/2006 12:02 To: users@maven.apache.org Subject: [m2] Internal Repositories I

[m2] Internal Repositories

2006-03-15 Thread Magnus Hagström
It CAN be done, we wanted to do the same thing as you, here is how we did it. 1. Edit Settings.xml add - c:/devtools/repository If you dont specify this all files would be downloaded to ~/repository. We didnt want that. We wanted a single repo for all files. 2. In your pom file add the follo

Re: [m2] Internal Repositories

2006-03-11 Thread Alexandre Poitras
You should use Maven-proxy and an internal repository wich share the same location. This way, your goal is going to be achieved automatically. Or if you prefer a manual process, just run regularly a synchronise file tool between Maven-Proxy repository and your internal repository. On 3/11/06, Khi

AW: [m2] Internal Repositories

2006-03-11 Thread Khin, Gerald
On 3/10/06, Treloar, Barrie <[EMAIL PROTECTED]> wrote: > On 3/10/06, Khin, Gerald <[EMAIL PROTECTED]> wrote: > > Hi! > > > > Being a newbie to maven, I wonder if this idea could work: > > [del] > > The first question that springs to mind is Why? > > What benefit is there to restrict maven in this

Re: [m2] Internal Repositories

2006-03-10 Thread Edwin Punzalan
IIRC, you can't make maven NOT look into the central repository. So what you should do is mirror the central repository (configured in settings.xml) to another url. I haven't tried putting file:// into the mirror but i think it should work. ^_^ Khin, Gerald wrote: Hi! Being a newbie t

Re: [m2] Internal Repositories

2006-03-10 Thread Alexandre Poitras
You should probably use Maven-Proxy instead. On 3/10/06, Barrie Treloar <[EMAIL PROTECTED]> wrote: > On 3/10/06, Khin, Gerald <[EMAIL PROTECTED]> wrote: > > Hi! > > > > Being a newbie to maven, I wonder if this idea could work: > > [del] > > The first question that springs to mind is Why? > > What

Re: [m2] Internal Repositories

2006-03-10 Thread Barrie Treloar
On 3/10/06, Khin, Gerald <[EMAIL PROTECTED]> wrote: > Hi! > > Being a newbie to maven, I wonder if this idea could work: [del] The first question that springs to mind is Why? What benefit is there to restrict maven in this way, it makes no sense. Control the version numbers of artifacts that y

Re: [m2] Internal Repositories

2006-03-10 Thread Wayne Fay
"mvn -o" tells maven to work "offline". Not sure if that affects repos specified with file:/// or not, assume it does. I'm not sure but there's probably a way to automatically blacklist a repo. So you could add your own repo, blacklist ibiblio, and be on your way. If this isn't already a feature,

[m2] Internal Repositories

2006-03-10 Thread Khin, Gerald
Hi! Being a newbie to maven, I wonder if this idea could work: I want to have my own remote repository with a subset of the content of http://www.ibiblio.org/maven2/ located at my local machine where I could access it using the "file:" protocol. And in addition