tony-- commented on pull request #251: URL: https://github.com/apache/httpcomponents-core/pull/251#issuecomment-769953228
Thanks for your patience. I read some of the maven docs pages and then checked the dependency tree for httpcore: ``` tony@tony-tower-bionic:~/development/httpcomponents-core$ mvn dependency:tree | grep [INFO] [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Apache HttpComponents Core [pom] [INFO] Apache HttpCore [jar] [INFO] Apache HttpCore NIO [jar] [INFO] Apache HttpCore OSGi bundle [bundle] [INFO] Apache HttpCore Benchmarking Tool [jar] [INFO] [INFO] -----------< org.apache.httpcomponents:httpcomponents-core >------------ [INFO] Building Apache HttpComponents Core 4.4.15-SNAPSHOT [1/5] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-dependency-plugin:3.1.1:tree (default-cli) @ httpcomponents-core --- [INFO] org.apache.httpcomponents:httpcomponents-core:pom:4.4.15-SNAPSHOT [INFO] [INFO] -----------------< org.apache.httpcomponents:httpcore >----------------- [INFO] Building Apache HttpCore 4.4.15-SNAPSHOT [2/5] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-dependency-plugin:3.1.1:tree (default-cli) @ httpcore --- [INFO] org.apache.httpcomponents:httpcore:jar:4.4.15-SNAPSHOT [INFO] +- junit:junit:jar:4.12:test [INFO] | \- org.hamcrest:hamcrest-core:jar:1.3:test [INFO] +- org.mockito:mockito-core:jar:1.10.19:test [INFO] | \- org.objenesis:objenesis:jar:2.1:test [INFO] \- commons-logging:commons-logging:jar:1.2:test [INFO] [INFO] ---------------< org.apache.httpcomponents:httpcore-nio >--------------- [INFO] Building Apache HttpCore NIO 4.4.15-SNAPSHOT [3/5] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-dependency-plugin:3.1.1:tree (default-cli) @ httpcore-nio --- [INFO] org.apache.httpcomponents:httpcore-nio:jar:4.4.15-SNAPSHOT [INFO] +- org.apache.httpcomponents:httpcore:jar:4.4.15-SNAPSHOT:compile [INFO] +- org.conscrypt:conscrypt-openjdk-uber:jar:2.2.1:test [INFO] +- junit:junit:jar:4.12:test [INFO] | \- org.hamcrest:hamcrest-core:jar:1.3:test [INFO] +- org.mockito:mockito-core:jar:1.10.19:test [INFO] | \- org.objenesis:objenesis:jar:2.1:test [INFO] \- commons-logging:commons-logging:jar:1.2:test [INFO] [INFO] --------------< org.apache.httpcomponents:httpcore-osgi >--------------- [INFO] Building Apache HttpCore OSGi bundle 4.4.15-SNAPSHOT [4/5] [INFO] -------------------------------[ bundle ]------------------------------- [INFO] [INFO] --- maven-dependency-plugin:3.1.1:tree (default-cli) @ httpcore-osgi --- [INFO] org.apache.httpcomponents:httpcore-osgi:bundle:4.4.15-SNAPSHOT [INFO] +- org.apache.httpcomponents:httpcore:jar:4.4.15-SNAPSHOT:compile [INFO] \- org.apache.httpcomponents:httpcore-nio:jar:4.4.15-SNAPSHOT:compile [INFO] [INFO] ---------------< org.apache.httpcomponents:httpcore-ab >---------------- [INFO] Building Apache HttpCore Benchmarking Tool 4.4.15-SNAPSHOT [5/5] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-dependency-plugin:3.1.1:tree (default-cli) @ httpcore-ab --- [INFO] org.apache.httpcomponents:httpcore-ab:jar:4.4.15-SNAPSHOT [INFO] +- org.apache.httpcomponents:httpcore:jar:4.4.15-SNAPSHOT:compile [INFO] +- commons-cli:commons-cli:jar:1.2:compile [INFO] \- junit:junit:jar:4.12:test [INFO] \- org.hamcrest:hamcrest-core:jar:1.3:test [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Apache HttpComponents Core 4.4.15-SNAPSHOT: [INFO] [INFO] Apache HttpComponents Core ......................... SUCCESS [ 0.255 s] [INFO] Apache HttpCore .................................... SUCCESS [ 0.015 s] [INFO] Apache HttpCore NIO ................................ SUCCESS [ 0.011 s] [INFO] Apache HttpCore OSGi bundle ........................ SUCCESS [ 0.132 s] [INFO] Apache HttpCore Benchmarking Tool .................. SUCCESS [ 0.005 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.027 s [INFO] Finished at: 2021-01-29T09:42:55-08:00 [INFO] ------------------------------------------------------------------------ ``` So I see now that org.conscrypt will not be pulled in unconditionally, as I was imagining. I still don't understand how the dependencyManagement section gets resolved here, but my original concern is resolved and the rest is just gaps in my understanding. Again, thank you. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org For additional commands, e-mail: dev-h...@hc.apache.org