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:
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
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
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
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,
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
: 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
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
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
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
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
11 matches
Mail list logo