Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Duplicate
-
3.2.1
-
None
-
None
-
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-15T02:37:52+09:00)
Maven home: /usr/local/Cellar/maven/3.2.1/libexec
Java version: 1.8.0, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.9.2", arch: "x86_64", family: "mac"Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-15T02:37:52+09:00) Maven home: /usr/local/Cellar/maven/3.2.1/libexec Java version: 1.8.0, vendor: Oracle Corporation Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/jre Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "10.9.2", arch: "x86_64", family: "mac"
Description
- artifact `B` depends on `A` in test scope.
- artifact 'C' depends on 'B' in compile scope and test scope with test-jar
<artifactId>B</artifactId> <dependencies> <dependency> <artifactId>A</artifactId> <scope>test</scope> </dependency> </dependencies>
<artifactId>C</artifactId> <dependencies> <dependency> <artifactId>B</artifactId> <scope>compile</scope> </dependency> <dependency> <artifactId>B</artifactId> <type>test-jar</type> <scope>test</scope> </dependency> </dependencies>
expected: artifact 'C''s classpath contains 'A'
actual : 'A' is unknown in 'C''s test time
Is this normal behaviour or test-jar with test overrides compile
Attachments
Issue Links
- duplicates
-
MNG-1378 Make dependencies of test-jars transitive
- Open