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