Re: about dependence transfer

2008-01-21 Thread Wayne Fay
> What you could possibly do is create a profile that you would use for > compiling. In this profile, add the problem dependencies with scope of > "compile". But in the main part, add the problem dependencies with scope of > "runtime", so that projects which just *use* your code (via its pom) see t

Re: about dependence transfer

2008-01-21 Thread Simon Kitching
Guillaume Lederrey <[EMAIL PROTECTED]> schrieb: > On 17/01/2008, Simon Kitching <[EMAIL PROTECTED]> wrote: > > Suppose your project depends on class Foo from project p1 (and so declares > > a compile-scope dependency on p1). > > > > But class Foo extends class Base from project p2 (and so p1

Re: about dependence transfer

2008-01-21 Thread Guillaume Lederrey
On 17/01/2008, Simon Kitching <[EMAIL PROTECTED]> wrote: > Suppose your project depends on class Foo from project p1 (and so declares a > compile-scope dependency on p1). > > But class Foo extends class Base from project p2 (and so p1 has a > compile-scope dependency on p2). So project p2 (even t

Re: about dependence transfer

2008-01-17 Thread Simon Kitching
Suppose your project depends on class Foo from project p1 (and so declares a compile-scope dependency on p1). But class Foo extends class Base from project p2 (and so p1 has a compile-scope dependency on p2). So project p2 (even though it is a transitive dependency) is needed at compile time fo

Re: about dependence transfer

2008-01-17 Thread Nick Stolwijk
Then I was wrong there. I thought when maven needs a dependency for compilation, it wouldn't need the transitive dependencies. With regards, Nick Stolwijk Simon Kitching wrote: Nick: for maven2, if a pom declares a dependency on something that itself has non-optional dependencies, then they

RE: about dependence transfer

2008-01-17 Thread Simon Kitching
y stops being > depended on it. > > If you have further questions, please be more descriptive about what you are > trying to do. > > Hth, > > Nick Stolwijk > > -Original Message- > From: cmd [mailto:[EMAIL PROTECTED] > Sent: Thu 1/17/2008 3:47 P

RE: about dependence transfer

2008-01-17 Thread nicklist
From: cmd [mailto:[EMAIL PROTECTED] Sent: Thu 1/17/2008 3:47 PM To: users@maven.apache.org Subject: about dependence transfer i use maven2 to manage my jars like this org.springframework spring 2.5.1 but springframework d

about dependence transfer

2008-01-17 Thread cmd
: http://www.nabble.com/about-dependence-transfer-tp14920281s177p14920281.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL