Hi,

I updated issue [1] with test project and describe steps what I did ...
Can anyone else try the same .... maybe I don't see something

[1] https://issues.apache.org/jira/browse/MDEP-791

wt., 15 lut 2022 o 21:37 Elliotte Rusty Harold <elh...@ibiblio.org>
napisał(a):

> On Tue, Feb 15, 2022 at 5:53 PM Slawomir Jaranowski
> <s.jaranow...@gmail.com> wrote:
>
> > Simply the problem is that dependencies present as transitive for any
> > dependency in compile scope should be not reported as "Non-test scoped".
> > So we should check if dependency listed as "Non-test scoped" are not
> > present as transitive dependency for other used in compile scope.
> >
>
> Can you elaborate on that? It seems to me that a normal unflattened
> pom.xml should not declare transitive dependencies. In fact it's
> pretty important that it not do so. For instance, if A's src/test
> depend on Guava but A's src/java does not depend on Guava, then A
> should only declare a test scope dependency on Guava, even if it also
> depends on something else at compile time that does depend on Guava.
>
> --
> Elliotte Rusty Harold
> elh...@ibiblio.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
>

-- 
Sławomir Jaranowski

Reply via email to