anyboot繼承于anyline提供了針對(duì)SpringBoot環(huán)境的支持。
anyboot版本一般是以anyline版本開頭以spring boot版本號(hào)結(jié)尾,
如8.3.7.211表示適配anyline8.3.7版本以及spring boot 2.1.1版本
當(dāng)前版本
org.anyline:8.5.7/8.5.7-SNAPSHOT
org.anyboot:8.5.7.2512/8.5.7.2512-SNAPSHOT
8.5.5之后的版本中的 log/io/spring等基礎(chǔ)庫(kù),是以provided形式依賴的,因?yàn)槊總€(gè)團(tuán)隊(duì)的基礎(chǔ)版本不一樣,
所以需要根據(jù)團(tuán)隊(duì)環(huán)境來(lái)依賴這些基礎(chǔ)庫(kù),一般是在自己的頂級(jí)starter中 可以參考一下anyline-start或anyboot-start
provided的依賴
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jdbc</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aspects</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jsp-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-access</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jsr310</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.zaxxer</groupId>
<artifactId>HikariCP</artifactId>
</dependency>
以及其他連接池
更多建議: