springboot 查看各种依赖的版本(idea工具):


说明:跟踪(ctrl+(mouse-left)) <artifactId>spring-boot-dependencies</artifactId>
	1.查看springboot各种依赖的版本
		步骤:
			1.pom.xml
				<parent>
			    	<groupId>org.springframework.boot</groupId>
			    	<artifactId>spring-boot-dependencies</artifactId>   
			    	<version>2.2.1.RELEASE</version>
			    	<relativePath>../../spring-boot-dependencies</relativePath>
			  	</parent>
			2.spring-boot-starter-parent-2.x.x.release.pom
					 <parent>
			        <groupId>org.springframework.boot</groupId>
			        <artifactId>spring-boot-starter-parent</artifactId>
			        <version>2.2.1.RELEASE</version>
			        <relativePath/> <!-- lookup parent from repository -->
			    </parent>
			3.spring-boot-dependencies-2.x.x.release.pom
			   //文件中这部分就是,sringboot 依赖的各种框架的版本
				<properties>
					    ....
					    <xml-maven-plugin.version>1.0.2</xml-maven-plugin.version>
					    <xmlunit2.version>2.6.3</xmlunit2.version>
					    .....
				</properties>
	2.查看spring-boot-starter-web场景都依赖那些东西,springboot将所有的功能场景都抽取出来做成一个个的starters(启动器),只要引入启动器相关场景的依赖都会引入进来
			1.pom.xml
				 <dependencies>
			        <dependency>
			            <groupId>org.springframework.boot</groupId>
			            <artifactId>spring-boot-starter-web</artifactId> <!--跟踪-->
			        </dependency>
		        </dependencies>
	        2.spring-boot-starter-web-2.x.x.release.pom
	        	//它所依赖的东西就都在这里了
		        <dependencies>
					....
				    <dependency>
				      <groupId>org.springframework.boot</groupId>
				      <artifactId>spring-boot-starter</artifactId>
				      <version>2.2.1.RELEASE</version>
				      <scope>compile</scope>
				    </dependency>
				    ....
				</dependencies>

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值