We deferred this until 2.1, as it was preferable to have a transitive dependency-less solution in place for 2.0 rather than deferring the whole feature.
Please file a new JIRA to track this topic. - Brett On 10/28/05, Mark Hobson <[EMAIL PROTECTED]> wrote: > Hi there, > > Just trying out the test-jar artifact support as detailed in MNG-932, > and not sure if the transitive dependencies are being calculated > correctly. > > The situation is demonstrated nicely in it0077: > > * module sub1 has a test-scoped dependency of commons-lang > * module sub2 has a test-scoped dependency of sub1 test-jar > > Thus shouldn't sub2 tests inherit the commons-lang transitive > dependency? It appears not: > > Index: > maven-core-it/it0077/sub2/src/test/java/org/apache/maven/it0077/PersonTwoTest.java > =================================================================== > --- > maven-core-it/it0077/sub2/src/test/java/org/apache/maven/it0077/PersonTwoTest.java > (revision > 328307) > +++ > maven-core-it/it0077/sub2/src/test/java/org/apache/maven/it0077/PersonTwoTest.java > (working > copy) > @@ -1,6 +1,7 @@ > package org.apache.maven.it0077; > > import junit.framework.TestCase; > +import org.apache.commons.lang.BooleanUtils; > > public class PersonTwoTest > extends PersonTest > > Results in: > > [INFO] > ---------------------------------------------------------------------------- > [ERROR] BUILD FAILURE > [INFO] > ---------------------------------------------------------------------------- > [INFO] Compilation failure > > c:\maven-components\maven-core-it\it0077\sub2\src\test\java\org\apache\maven\it0077\PersonTwoTest.java:[4,31] > package org.apache.commons.lang does not exist > > Is this correct behaviour or shall I file a bug? I see John seemed a > bit concerned regarding test-jar transitive dependency behaviour > towards the end of MNG-932. > > Cheers, > > Mark > > P.S. I'm using 2.0 final. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]