Re: Repo in parent dir...

2009-04-21 Thread Stephen Connolly
Here's what you are doing wrong: you are trying to do things the ANT way (i.e. let's check in a directory of jars into SCM) using Maven. Use a repository manager and don't keep a local repo contained within your project. ;-) -Stephen 2009/4/21 nino martinez wael nino.martinez.w...@gmail.com:

Re: Repo in parent dir...

2009-04-21 Thread nino martinez wael
Ahh, this works just fine if I keep the repositories relative to the sub project: parent | |--Sub\repo |--Sub\repo |--Sub\repo But is a waste of space.. This is a very nice way of adding stuff to dependencies that are no available on the public repos, it's also very usefull to deploy things

Repo in parent dir...

2009-04-21 Thread nino martinez wael
Hi I have a multimodule project where I have a local repo contained within the project currently it's defined as this: repositories repository releases checksumPolicywarn/checksumPolicy

Re: Repo in parent dir...

2009-04-21 Thread David Hoffer
Good rule of thumb with maven, don't fight convention. You need a repo manager to deploy so why not use the same for your 4 dependencies? It works. -Dave On Tue, Apr 21, 2009 at 6:22 AM, nino martinez wael nino.martinez.w...@gmail.com wrote: Ahh, this works just fine if I keep the

Re: Repo in parent dir...

2009-04-21 Thread nino martinez wael
Sure, but we then need an extra server :/ And even more setup... So actually what you are saying that on all setups where you are using dependencies that are not in the common maven repository you need a repo manager.. 2009/4/21 David Hoffer dhoff...@gmail.com: Good rule of thumb with maven,

RE: Repo in parent dir...

2009-04-21 Thread Todd Thiessen
repo manager is well worth the effort. --- Todd Thiessen -Original Message- From: nino martinez wael [mailto:nino.martinez.w...@gmail.com] Sent: Tuesday, April 21, 2009 9:38 AM To: Maven Users List Subject: Re: Repo in parent dir... Sure, but we then need an extra server

Re: Repo in parent dir...

2009-04-21 Thread nino martinez wael
: Repo in parent dir... Sure, but we then need an extra server :/ And even more setup... So actually what you are saying that on all setups where you are using dependencies that are not in the common maven repository you need a repo manager.. 2009/4/21 David Hoffer dhoff...@gmail.com: Good rule

Re: Repo in parent dir...

2009-04-21 Thread Stephen Connolly
Last time I checked, setting up Nexus took me 10 minutes and you can run it quite safely on your own desktop... I suspect Artifactory would be similar... This is for your own good... Go on... drink the repository manager kool-aid, you've already drank the Maven kool-aid, what are you afraid of

Re: Repo in parent dir...

2009-04-21 Thread David Hoffer
server considerably. Getting your own repo manager is well worth the effort. --- Todd Thiessen -Original Message- From: nino martinez wael [mailto:nino.martinez.w...@gmail.com] Sent: Tuesday, April 21, 2009 9:38 AM To: Maven Users List Subject: Re: Repo in parent dir

Re: Repo in parent dir...

2009-04-21 Thread Dominic Mitchell
On 21 Apr 2009, at 15:05, Stephen Connolly wrote: Last time I checked, setting up Nexus took me 10 minutes and you can run it quite safely on your own desktop... Likewise, I set up nexus on my laptop. It works like a charm, and makes using maven on the road much more pleasant. -Dom

Re: Repo in parent dir...

2009-04-21 Thread nino martinez wael
True, i'll hop on the wagon and drink the rest of the potion.. Thanks all for helping out.. 2009/4/21 Dominic Mitchell d...@semantico.com: On 21 Apr 2009, at 15:05, Stephen Connolly wrote: Last time I checked, setting up Nexus took me 10 minutes and you can run it quite safely on your own