spring-boot-starter

为spring-boot集成开发必备工具

License

License

Categories

Categories

Spring Boot Container Microservices Ant Build Tools
GroupId

GroupId

io.github.vibrantbyte
ArtifactId

ArtifactId

spring-boot-starter
Last Version

Last Version

2.1.6.RELEASE
Release Date

Release Date

Type

Type

pom
Description

Description

spring-boot-starter
为spring-boot集成开发必备工具
Source Code Management

Source Code Management

https://github.com/vibrantbyte/spring-boot-starter

Download spring-boot-starter

How to add to project

<!-- https://jarcasting.com/artifacts/io.github.vibrantbyte/spring-boot-starter/ -->
<dependency>
    <groupId>io.github.vibrantbyte</groupId>
    <artifactId>spring-boot-starter</artifactId>
    <version>2.1.6.RELEASE</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/io.github.vibrantbyte/spring-boot-starter/
implementation 'io.github.vibrantbyte:spring-boot-starter:2.1.6.RELEASE'
// https://jarcasting.com/artifacts/io.github.vibrantbyte/spring-boot-starter/
implementation ("io.github.vibrantbyte:spring-boot-starter:2.1.6.RELEASE")
'io.github.vibrantbyte:spring-boot-starter:pom:2.1.6.RELEASE'
<dependency org="io.github.vibrantbyte" name="spring-boot-starter" rev="2.1.6.RELEASE">
  <artifact name="spring-boot-starter" type="pom" />
</dependency>
@Grapes(
@Grab(group='io.github.vibrantbyte', module='spring-boot-starter', version='2.1.6.RELEASE')
)
libraryDependencies += "io.github.vibrantbyte" % "spring-boot-starter" % "2.1.6.RELEASE"
[io.github.vibrantbyte/spring-boot-starter "2.1.6.RELEASE"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

spring-boot-starter

spring boot project

  • 控制serviceConfigInfo中的spring.config.location属性,再存在的情况下加载,没有的情况下不会报错
  • @EnableConfigurationProperties(ServiceConfigInfo.class)
  • @ConditionalOnProperty("spring.config.location")
  • 控制RefreshResolver配置后顺利返回RefreshResolver的实例,并且后置到Configuration加载完成之后。
  • @AutoConfigureAfter(RefreshResolver.class)
  • @Import(RefreshResolver.class)
  • 配套使用,加载配置文件,实例化ContextRefresher而不是其他实现。(多实现的条件下)
  • @Configuration
  • @ConditionalOnClass(ContextRefresher.class)

Versions

Version
2.1.6.RELEASE
1.0.0