Is the "MVN Dependency: List - Include Confirm = Compilation" test dependents included in child dependencies?
My project relies on "org.apache.httpcomponents: httpclient: jar: 4.1: test " and httpclient "org.apache.httpcomponents: httpcore: jar: 4.1: Depending on compiled If I pay attention to the compilation of reliance on the scope, then I hope they will not see anything because this is the test scope and dependency That branch should be filtered. However, the following core "lists include httpcore Dependence of my project: tree output Am I recalling a flag that handles this "properly" or what is appropriate in this situation It's a misunderstanding. Oh, that's a bug (explained in this thread) but not sure.
mvn Fill: list-resolution = compilation -dexidescope = test | Grep -i http * Core [INFO] org.apache.httpcomponents: httpcore: jar: 4.1: compilation
[INFO] + - org.apache.httpcomponents: httpclient: jar: 4.1: testing [INFO] | + - org.apache.httpcomponents: httpcore: jar: 4.1: compilation [INFO] | + - Commons-Logging: Commons-Logging: Jar: 1.1: Test [INFO] | \ - Com Mons-codec: commons-codec: jar: 1.4: compile
No comments:
Post a Comment