<!-- <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>1.5.9.RELEASE</version> </parent> --> <!-- 使用这种方式更灵活,但需要添加编译插件1.8版本的声明,否则默认为1.5 --> <dependencyManagement> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-dependencies</artifactId> <version>1.5.9.RELEASE</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement>
import依赖范围的使用
猜你喜欢
转载自www.cnblogs.com/Mike_Chang/p/10043662.html
今日推荐
周排行