Open bingoohuang opened 4 years ago
$ mvn dependency:tree -Dincludes=com.fasterxml.jackson.core::::
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------< com.github.bingoohuang:longpolling >-----------------
[INFO] Building longpolling 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ longpolling ---
[INFO] com.github.bingoohuang:longpolling:jar:0.0.1-SNAPSHOT
[INFO] \- com.fasterxml.jackson.core:jackson-databind:jar:2.13.3:compile
[INFO] \- com.fasterxml.jackson.core:jackson-core:jar:2.13.3:compile
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.801 s
[INFO] Finished at: 2022-08-24T08:34:27+08:00
[INFO] ------------------------------------------------------------------------
玩转一下Maven
独立测试某个包是否可以下载
maven-dependency-plugin usage
mvn dependency:get -Dartifact=groupId:artifactId:version[:packaging][:classifier]
`mvn dependency:get -DrepoUrl=http://.../ -Dartifact=com.foo.something:component:LATEST:jar -Dtransitive=false
mvn dependency:get -Dartifact=junit:junit:4.12
mvn dependency:get -Dartifact=junit:junit:4.12:jar:sources
修复https错误 In service - Remote Automatically Blocked and Unavailable.
https://support.sonatype.com/hc/en-us/articles/213465038-Fix-https-repository-blocking-by-PKIX-path-building-failed
参见