Hi,

Please read
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_Scope

<http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_Scope>
Cheers

2010/9/14 <[email protected]>

> hi,
>
> I have a project A which defines a dependency to project B in scope test.
> project B itself has several dependencies in scope compile.
>
> Surprinsingly these dependencies are also included in Project A in compile
> scope..... ?!
>
> E.g. project A requires a dependency to project C in productive code. If
> Project B is not in the pom defined anyhow, the build fails. If Project B is
> defined as scope test, the build works.
>
> Should transitive dependencies from a test dep also be in scope test ?
>
> Thanks
>
>
>
>
>
>
>
>


-- 
Baptiste <Batmat> MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !

Reply via email to