Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
3.2.0
-
None
-
None
-
Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T14:33:14-04:00)
Maven home: /usr/local/Cellar/maven/3.5.4/libexec
Java version: 1.8.0_144, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.16", arch: "x86_64", family: "mac"Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T14:33:14-04:00) Maven home: /usr/local/Cellar/maven/3.5.4/libexec Java version: 1.8.0_144, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "10.16", arch: "x86_64", family: "mac"
-
Important
Description
A java module with some test utilities which decorate junit and therefore has a compile time dependency on junit. Using dependency plugin 3.2.0 and running dependency:analyze results in a warning
[*WARNING*] Non-test scoped test only dependencies found:
[*WARNING*] junit:junit:jar:4.13.2:compile
When I change the scope to test, compile fails (confirming it is a compile dependency).
Previously using 3.1.2 of the dependency plugin works correctly (does not warn)
Attachments
Issue Links
- relates to
-
MDEP-753 Non-test dependency reported as Non-test scoped test only dependency
- Closed