close

Spring Boot 3.0.0 系列文档更新了!

新的版本更新了,本次更新的文档版本如下:

Spring Boot 3.0.0 版本依赖

项目: 版本: 计划: 地址

Spring Boot

3.0.0

翻译

https://www.jcohy.com/projects/spring-boot#learn

Spring Framework

6.0.2

翻译

https://www.jcohy.com/projects/spring-framework#learn

Spring AMQP

3.0.0

计划中

Spring Batch

5.0.0

计划中

Spring Data Bom

2022.0.0

计划中

Spring Cloud Bom

2022.0.0

计划中

Spring HATEOAS

2.0.0

翻译

https://www.jcohy.com/projects/spring-hateoas#learn

Spring Integration

6.0.0

计划中

Spring Kafka

3.0.0

计划中

Spring LDAP

3.0.0

计划中

Spring RESTDocs

3.0.0

计划中

Spring Retry

2.0.0

计划中

Spring Security

6.0.0

翻译

https://www.jcohy.com/projects/spring-security#learn

Spring Session Bom

2022.0.0

计划中

Spring WS

4.0.0

计划中

Spring for GraphQL

1.1.0

翻译

https://www.jcohy.com/projects/spring-graphql#learn

阅读更多

新版 Spring 源码构建

源码下载

这里我已经将相关的源码包上传到了 OSS 中,可以在此下载

项目 Zip Tar

SpringBoot

2.4.5

2.3.10.RELEASE

2.2.13.RELEASE

2.4.5

2.3.10.RELEASE

2.2.13.RELEASE

Spring Framework

5.3.6

5.2.14.RELEASE

5.2.12.RELEASE

5.3.6

5.2.14.RELEASE

5.2.12.RELEASE

Spring Security

5.4.6

5.3.9.RELEASE

5.2.8.RELEASE

5.4.6

5.3.9.RELEASE

5.2.8.RELEASE

Spring Hateoas

1.2.5

1.1.5.RELEASE

1.0.5.RELEASE

1.2.5

1.1.5.RELEASE

1.0.5.RELEASE

Spring Integration

5.4.6

5.3.7.RELEASE

5.2.11.RELEASE

5.4.6

5.3.7.RELEASE

5.2.11.RELEASE

Spring Kafka

2.6.7

2.5.12.RELEASE

2.3.13.RELEASE

2.6.7

2.5.12.RELEASE

2.3.13.RELEASE

Spring Ldap

2.3.3.RELEASE

2.3.3.RELEASE

Spring Restdocs

2.0.5.RELEASE

2.0.5.RELEASE

Spring Ws

3.0.10.RELEASE

3.0.10.RELEASE

Spring Amqp

2.3.6

2.2.16.RELEASE

2.2.14.RELEASE

2.3.6

2.2.16.RELEASE

2.2.14.RELEASE

Spring Batch

4.3.2

4.2.6.RELEASE

4.2.5.RELEASE

4.3.2

4.2.6.RELEASE

4.2.5.RELEASE

Spring Data Cassandra

3.1.8

3.0.9.RELEASE

2.2.12.RELEASE

3.1.8

3.0.9.RELEASE

2.2.12.RELEASE

Spring Data Commons

2.4.8

2.3.9.RELEASE

2.2.12.RELEASE

2.4.8

2.3.9.RELEASE

2.2.12.RELEASE

Spring Data Couchbase

4.1.8

4.0.9.RELEASE

3.2.12.RELEASE

4.1.8

4.0.9.RELEASE

3.2.12.RELEASE

Spring Data ElasticSearch

4.1.8

4.0.9.RELEASE

3.2.12.RELEASE

4.1.8

4.0.9.RELEASE

3.2.12.RELEASE

Spring Data Gemfire

2.3.9.RELEASE

2.2.12.RELEASE

2.3.9.RELEASE

2.2.12.RELEASE

Spring Data Geode

2.4.8

2.3.9.RELEASE

2.2.12.RELEASE

2.4.8

2.3.9.RELEASE

2.2.12.RELEASE

Spring Data Jdbc

2.1.8

2.0.9.RELEASE

1.1.12.RELEASE

2.1.8

2.0.9.RELEASE

1.1.12.RELEASE

Spring Data Jpa

2.4.8

2.3.9.RELEASE

2.2.12.RELEASE

2.4.8

2.3.9.RELEASE

2.2.12.RELEASE

Spring Data Mongodb

3.1.8

3.0.9.RELEASE

2.2.12.RELEASE

3.1.8

3.0.9.RELEASE

2.2.12.RELEASE

Spring Data Neo4j

6.0.8

5.3.9.RELEASE

5.2.12.RELEASE

6.0.8

5.3.9.RELEASE

5.2.12.RELEASE

Spring Data R2dbc

1.2.8

1.1.9.RELEASE

1.2.8

1.1.9.RELEASE

Spring Data Redis

2.4.8

2.3.9.RELEASE

2.2.12.RELEASE

2.4.8

2.3.9.RELEASE

2.2.12.RELEASE

Spring Data Rest

3.4.8

3.3.9.RELEASE

3.2.12.RELEASE

3.4.8

3.3.9.RELEASE

3.2.12.RELEASE

Spring Data Solr

4.3.8

4.2.9.RELEASE

4.1.12.RELEASE

4.3.8

4.2.9.RELEASE

4.1.12.RELEASE

Spring Data KeyValue

2.4.8

2.3.9.RELEASE

2.2.12.RELEASE

2.4.8

2.3.9.RELEASE

2.2.12.RELEASE

Spring Data Envers

2.4.8

2.3.9.RELEASE

2.2.12.RELEASE

2.4.8

2.3.9.RELEASE

2.2.12.RELEASE

Spring Data Ldap

2.4.8

2.3.9.RELEASE

2.2.12.RELEASE

2.4.8

2.3.9.RELEASE

2.2.12.RELEASE

Spring Retry

https://project.jcohy.com/spring-boot-2.4.5/spring-.zip

https://project.jcohy.com/spring-boot-2.3.10/.zip

https://project.jcohy.com/spring-boot-2.2.13/.zip

https://project.jcohy.com/spring-boot-2.4.5/.tar.gz

https://project.jcohy.com/spring-boot-2.3.10/.tar.gz

https://project.jcohy.com/spring-boot-2.2.13/.tar.gz

Note

必须安装 JDK 环境

阅读更多

构建 Spring 源码

下载源码

git clone git@github.com:spring-projects/spring-framework.git
cd spring-framework

修改仓库地址

  • 修改 根目录下的 settings.gradle 文件,找到 pluginManagement 元素,修改为以下内容

pluginManagement {
	repositories {
		maven {
			url 'https://maven.aliyun.com/repository/gradle-plugin'
		}
		maven {
			url 'https://maven.aliyun.com/repository/gradle-plugin'
		}
		gradlePluginPortal()
		maven { url 'https://repo.spring.io/plugins-release' }
	}
}
  • 修改根目录下的 build.gradle 文件,找到 repositories 元素,修改里面内容为以下内容

repositories {
	maven {
		url 'http://maven.aliyun.com/nexus/content/groups/public/'
	}
	mavenCentral()
	maven { url "https://repo.spring.io/libs-spring-framework-build" }
}
  • 进入到 buildSrc 目录下的 build.gradle 文件中,找到 repositories 元素,修改里面内容为以下内容

repositories {
	maven {
		url 'http://maven.aliyun.com/nexus/content/groups/public/'
	}
	mavenCentral()
	gradlePluginPortal()
}
阅读更多

构建 Sagan 源码

1、下载源码

2、进入 sagan-client ,修改 webpack.config.js

找到下面这句

{
    test: /.*\/fonts\/.*/,
    loader: 'file-loader',
    options: {
        name: 'fonts/[name].[ext]',
    },
},

修改为:

{
    test: /\.(ttf|eot|woff|woff2|svg)$/,
    loader: 'file-loader',
    options: {
        name: 'fonts/[name].[ext]',
    },
},
阅读更多

构建 SpringBoot 源码

1、环境准备

JDK8 以上。

2、下载 SpringBoot 源码

我们可以在 github 上下载 SpringBoot 源码,本文下载的是 SpringBoot 最新的版本 2.2.3.RELEASE。下载地址:

3、解压

我们将下载后的文件上传到服务器上,解压。我这里上传到了 /home 目录下

tar -zxvf  spring-boot-2.2.3.RELEASE.tar.gz
阅读更多