maven命令mvn查看项目依赖的jar包
程序员文章站
2022-04-30 21:06:43
...
C:\software\develop\workplace\test>mvn dependency:tree
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building test 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:3.0.2:tree (default-cli) @ test ---
[INFO] com.example:test:jar:0.0.1-SNAPSHOT
[INFO] +- org.springframework.boot:spring-boot-starter-data-mongodb:jar:2.0.4.RE
LEASE:compile
[INFO] | +- org.springframework.boot:spring-boot-starter:jar:2.0.4.RELEASE:comp
ile
[INFO] | | +- org.springframework.boot:spring-boot:jar:2.0.4.RELEASE:compile
[INFO] | | +- org.springframework.boot:spring-boot-autoconfigure:jar:2.0.4.REL
EASE:compile
[INFO] | | +- org.springframework.boot:spring-boot-starter-logging:jar:2.0.4.R
ELEASE:compile
[INFO] | | | +- ch.qos.logback:logback-classic:jar:1.2.3:compile
[INFO] | | | | \- ch.qos.logback:logback-core:jar:1.2.3:compile
[INFO] | | | +- org.apache.logging.log4j:log4j-to-slf4j:jar:2.10.0:compile
[INFO] | | | | \- org.apache.logging.log4j:log4j-api:jar:2.10.0:compile
[INFO] | | | \- org.slf4j:jul-to-slf4j:jar:1.7.25:compile
[INFO] | | +- javax.annotation:javax.annotation-api:jar:1.3.2:compile
[INFO] | | \- org.yaml:snakeyaml:jar:1.19:runtime
[INFO] | +- org.mongodb:mongodb-driver:jar:3.6.4:compile
[INFO] | | +- org.mongodb:bson:jar:3.6.4:compile
[INFO] | | \- org.mongodb:mongodb-driver-core:jar:3.6.4:compile
[INFO] | \- org.springframework.data:spring-data-mongodb:jar:2.0.9.RELEASE:comp
ile
[INFO] | +- org.springframework:spring-tx:jar:5.0.8.RELEASE:compile
[INFO] | +- org.springframework:spring-context:jar:5.0.8.RELEASE:compile
[INFO] | | \- org.springframework:spring-aop:jar:5.0.8.RELEASE:compile
[INFO] | +- org.springframework:spring-beans:jar:5.0.8.RELEASE:compile
[INFO] | +- org.springframework:spring-expression:jar:5.0.8.RELEASE:compile
[INFO] | +- org.springframework.data:spring-data-commons:jar:2.0.9.RELEASE:c
ompile
[INFO] | \- org.slf4j:slf4j-api:jar:1.7.25:compile
[INFO] \- org.springframework.boot:spring-boot-starter-test:jar:2.0.4.RELEASE:te
st
[INFO] +- org.springframework.boot:spring-boot-test:jar:2.0.4.RELEASE:test
[INFO] +- org.springframework.boot:spring-boot-test-autoconfigure:jar:2.0.4.R
ELEASE:test
[INFO] +- com.jayway.jsonpath:json-path:jar:2.4.0:test
[INFO] | \- net.minidev:json-smart:jar:2.3:test
[INFO] | \- net.minidev:accessors-smart:jar:1.2:test
[INFO] | \- org.ow2.asm:asm:jar:5.0.4:test
[INFO] +- junit:junit:jar:4.12:test
[INFO] +- org.assertj:assertj-core:jar:3.9.1:test
[INFO] +- org.mockito:mockito-core:jar:2.15.0:test
[INFO] | +- net.bytebuddy:byte-buddy:jar:1.7.11:test
[INFO] | +- net.bytebuddy:byte-buddy-agent:jar:1.7.11:test
[INFO] | \- org.objenesis:objenesis:jar:2.6:test
[INFO] +- org.hamcrest:hamcrest-core:jar:1.3:test
[INFO] +- org.hamcrest:hamcrest-library:jar:1.3:test
[INFO] +- org.skyscreamer:jsonassert:jar:1.5.0:test
[INFO] | \- com.vaadin.external.google:android-json:jar:0.0.20131108.vaadin1
:test
[INFO] +- org.springframework:spring-core:jar:5.0.8.RELEASE:compile
[INFO] | \- org.springframework:spring-jcl:jar:5.0.8.RELEASE:compile
[INFO] +- org.springframework:spring-test:jar:5.0.8.RELEASE:test
[INFO] \- org.xmlunit:xmlunit-core:jar:2.5.1:test
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.724 s
[INFO] Finished at: 2018-09-12T11:08:30+08:00
[INFO] Final Memory: 19M/206M
[INFO] ------------------------------------------------------------------------
上一篇: 更新Jar包中的文件
下一篇: Shell 运行 jar包
推荐阅读
-
详解IDEA中MAVEN项目打JAR包的简单方法
-
Spring项目所需要的jar包依赖
-
解决maven无法下载依赖的jar包的问题
-
Maven把项目依赖的所有jar包都打到同一个jar中
-
Java Web项目中Maven管理jar包,如何用命令添加ja包!
-
maven依赖的jar包不在repository中
-
maven多项目打包报错---子模块相互依赖打包时所遇到的问题:依赖的程序包找不到 package xxx does not exist
-
详解IDEA使用Maven项目不能加入本地Jar包的解决方法
-
maven项目打jar包后获取resources下文件的代码报错:FileNotFoundException:no such file or directory
-
maven配置安装项目依赖的本地jar包到本地仓库上并引用