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 though

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 has a

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 the lib

RE: about dependence transfer

2008-01-17 Thread nicklist
[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 dependency groupIdorg.springframework/groupId artifactIdspring/artifactId

about dependence transfer

2008-01-17 Thread cmd
automatic. now how can i set the config file? -- View this message in context: http://www.nabble.com/about-dependence-transfer-tp14920281s177p14920281.html Sent from the Maven - Users mailing list archive at Nabble.com

RE: about dependence transfer

2008-01-17 Thread Simon Kitching
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 PM To: users@maven.apache.org Subject: about dependence transfer i

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