Skip to content

Commit

Permalink
Merge pull request #3 from waylau/feat-update-version
Browse files Browse the repository at this point in the history
update version:
  • Loading branch information
waylau committed Aug 29, 2018
2 parents f2a0e4e + e01e620 commit ee60a1b
Show file tree
Hide file tree
Showing 45 changed files with 117 additions and 117 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@

* Apache Maven 3.5.2
* Gradle 4.5
* Spring 5.0.7.RELEASE
* Spring 5.0.8.RELEASE
* Servlet 4.0.0
* JUnit 4.12
* Lo4j 2.6.2
* DBCP 2.2.0
* DBCP 2.5.0
* H2 1.4.196
* Eclipse Jetty 9.4.10.v20180503
* Jackson JSON 2.9.5
* Eclipse Jetty 9.4.11.v20180605
* Jackson JSON 2.9.6
* Apache HttpClient 4.5.5
* SockJS-client 1.1.4
* STOMP Over WebSocket 2.3.3
Expand Down
2 changes: 1 addition & 1 deletion samples/s5-ch01-hello-world/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ repositories {
dependencies {

// 该依赖用于编译阶段
compile('org.springframework:spring-context:5.0.7.RELEASE')
compile('org.springframework:spring-context:5.0.8.RELEASE')

}
2 changes: 1 addition & 1 deletion samples/s5-ch01-hello-world/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>5.0.7.RELEASE</version>
<version>5.0.8.RELEASE</version>
</dependency>
</dependencies>
</project>
4 changes: 2 additions & 2 deletions samples/s5-ch02-aop-aspect-xml/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ repositories {
dependencies {

// 该依赖用于编译阶段
compile('org.springframework:spring-context:5.0.7.RELEASE')
compile('org.springframework:spring-aspects:5.0.7.RELEASE')
compile('org.springframework:spring-context:5.0.8.RELEASE')
compile('org.springframework:spring-aspects:5.0.8.RELEASE')
}
4 changes: 2 additions & 2 deletions samples/s5-ch02-aop-aspect-xml/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>5.0.7.RELEASE</version>
<version>5.0.8.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aspects</artifactId>
<version>5.0.7.RELEASE</version>
<version>5.0.8.RELEASE</version>
</dependency>
</dependencies>
</project>
4 changes: 2 additions & 2 deletions samples/s5-ch02-aop-aspect/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ repositories {
dependencies {

// 该依赖用于编译阶段
compile('org.springframework:spring-context:5.0.7.RELEASE')
compile('org.springframework:spring-aspects:5.0.7.RELEASE')
compile('org.springframework:spring-context:5.0.8.RELEASE')
compile('org.springframework:spring-aspects:5.0.8.RELEASE')
}
4 changes: 2 additions & 2 deletions samples/s5-ch02-aop-aspect/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>5.0.7.RELEASE</version>
<version>5.0.8.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aspects</artifactId>
<version>5.0.7.RELEASE</version>
<version>5.0.8.RELEASE</version>
</dependency>
</dependencies>
</project>
2 changes: 1 addition & 1 deletion samples/s5-ch02-custom-scope/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ repositories {
dependencies {

// 该依赖用于编译阶段
compile('org.springframework:spring-context:5.0.7.RELEASE')
compile('org.springframework:spring-context:5.0.8.RELEASE')

}
2 changes: 1 addition & 1 deletion samples/s5-ch02-custom-scope/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>5.0.7.RELEASE</version>
<version>5.0.8.RELEASE</version>
</dependency>
</dependencies>
</project>
2 changes: 1 addition & 1 deletion samples/s5-ch02-dependency-injection/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ repositories {
dependencies {

// 该依赖用于编译阶段
compile('org.springframework:spring-context:5.0.7.RELEASE')
compile('org.springframework:spring-context:5.0.8.RELEASE')

}
2 changes: 1 addition & 1 deletion samples/s5-ch02-dependency-injection/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>5.0.7.RELEASE</version>
<version>5.0.8.RELEASE</version>
</dependency>
</dependencies>
</project>
4 changes: 2 additions & 2 deletions samples/s5-ch02-expression-language/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ repositories {
dependencies {

// 该依赖用于编译阶段
compile('org.springframework:spring-context:5.0.7.RELEASE')
compile('org.springframework:spring-aspects:5.0.7.RELEASE')
compile('org.springframework:spring-context:5.0.8.RELEASE')
compile('org.springframework:spring-aspects:5.0.8.RELEASE')
}
4 changes: 2 additions & 2 deletions samples/s5-ch02-expression-language/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>5.0.7.RELEASE</version>
<version>5.0.8.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aspects</artifactId>
<version>5.0.7.RELEASE</version>
<version>5.0.8.RELEASE</version>
</dependency>
</dependencies>
</project>
6 changes: 3 additions & 3 deletions samples/s5-ch05-client-side-rest-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ repositories {
dependencies {

// 该依赖用于编译阶段
compile('org.springframework:spring-context:5.0.7.RELEASE')
compile('org.springframework:spring-webmvc:5.0.7.RELEASE')
compile('org.springframework:spring-context:5.0.8.RELEASE')
compile('org.springframework:spring-webmvc:5.0.8.RELEASE')
provided('javax.servlet:javax.servlet-api:4.0.0')
// 该依赖用于测试阶段
testCompile('org.springframework:spring-test:5.0.7.RELEASE')
testCompile('org.springframework:spring-test:5.0.8.RELEASE')
testCompile('junit:junit:4.12')
}
2 changes: 1 addition & 1 deletion samples/s5-ch05-client-side-rest-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<url>https://waylau.com</url>
</organization>
<properties>
<spring.version>5.0.7.RELEASE</spring.version>
<spring.version>5.0.8.RELEASE</spring.version>
</properties>
<dependencies>
<dependency>
Expand Down
6 changes: 3 additions & 3 deletions samples/s5-ch05-mvc-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ repositories {
dependencies {

// 该依赖用于编译阶段
compile('org.springframework:spring-context:5.0.7.RELEASE')
compile('org.springframework:spring-webmvc:5.0.7.RELEASE')
compile('org.springframework:spring-context:5.0.8.RELEASE')
compile('org.springframework:spring-webmvc:5.0.8.RELEASE')

provided('javax.servlet:javax.servlet-api:4.0.0')

// 该依赖用于测试阶段
testCompile('org.springframework:spring-test:5.0.7.RELEASE')
testCompile('org.springframework:spring-test:5.0.8.RELEASE')
testCompile('junit:junit:4.12')
}
2 changes: 1 addition & 1 deletion samples/s5-ch05-mvc-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<url>https://waylau.com</url>
</organization>
<properties>
<spring.version>5.0.7.RELEASE</spring.version>
<spring.version>5.0.8.RELEASE</spring.version>
</properties>
<dependencies>
<dependency>
Expand Down
8 changes: 4 additions & 4 deletions samples/s5-ch06-declarative-transaction/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ repositories {
dependencies {

// 该依赖用于编译阶段
compile('org.springframework:spring-context:5.0.7.RELEASE')
compile('org.springframework:spring-aspects:5.0.7.RELEASE')
compile('org.springframework:spring-jdbc:5.0.7.RELEASE')
compile('org.springframework:spring-context:5.0.8.RELEASE')
compile('org.springframework:spring-aspects:5.0.8.RELEASE')
compile('org.springframework:spring-jdbc:5.0.8.RELEASE')
compile('org.apache.logging.log4j:log4j-core:2.6.2')
compile('org.apache.logging.log4j:log4j-jcl:2.6.2')
compile('org.apache.logging.log4j:log4j-slf4j-impl:2.6.2')
compile('org.apache.commons:commons-dbcp2:2.2.0')
compile('org.apache.commons:commons-dbcp2:2.5.0')

// 该依赖用于运行阶段
runtime('com.h2database:h2:1.4.196')
Expand Down
4 changes: 2 additions & 2 deletions samples/s5-ch06-declarative-transaction/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<url>https://waylau.com</url>
</organization>
<properties>
<spring.version>5.0.7.RELEASE</spring.version>
<spring.version>5.0.8.RELEASE</spring.version>
</properties>
<dependencies>
<dependency>
Expand Down Expand Up @@ -47,7 +47,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-dbcp2</artifactId>
<version>2.2.0</version>
<version>2.5.0</version>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
Expand Down
8 changes: 4 additions & 4 deletions samples/s5-ch08-embedded-database/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ repositories {
dependencies {

// 该依赖用于编译阶段
compile('org.springframework:spring-context:5.0.7.RELEASE')
compile('org.springframework:spring-aspects:5.0.7.RELEASE')
compile('org.springframework:spring-jdbc:5.0.7.RELEASE')
compile('org.springframework:spring-context:5.0.8.RELEASE')
compile('org.springframework:spring-aspects:5.0.8.RELEASE')
compile('org.springframework:spring-jdbc:5.0.8.RELEASE')
compile('org.apache.logging.log4j:log4j-core:2.6.2')
compile('org.apache.logging.log4j:log4j-jcl:2.6.2')
compile('org.apache.logging.log4j:log4j-slf4j-impl:2.6.2')
compile('org.apache.commons:commons-dbcp2:2.2.0')
compile('org.apache.commons:commons-dbcp2:2.5.0')

// 该依赖用于运行阶段
runtime('com.h2database:h2:1.4.196')
Expand Down
4 changes: 2 additions & 2 deletions samples/s5-ch08-embedded-database/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<url>https://waylau.com</url>
</organization>
<properties>
<spring.version>5.0.7.RELEASE</spring.version>
<spring.version>5.0.8.RELEASE</spring.version>
</properties>
<dependencies>
<dependency>
Expand Down Expand Up @@ -47,7 +47,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-dbcp2</artifactId>
<version>2.2.0</version>
<version>2.5.0</version>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
Expand Down
8 changes: 4 additions & 4 deletions samples/s5-ch08-jdbc-object-mapping/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ repositories {
dependencies {

// 该依赖用于编译阶段
compile('org.springframework:spring-context:5.0.7.RELEASE')
compile('org.springframework:spring-aspects:5.0.7.RELEASE')
compile('org.springframework:spring-jdbc:5.0.7.RELEASE')
compile('org.springframework:spring-context:5.0.8.RELEASE')
compile('org.springframework:spring-aspects:5.0.8.RELEASE')
compile('org.springframework:spring-jdbc:5.0.8.RELEASE')
compile('org.apache.logging.log4j:log4j-core:2.6.2')
compile('org.apache.logging.log4j:log4j-jcl:2.6.2')
compile('org.apache.logging.log4j:log4j-slf4j-impl:2.6.2')
compile('org.apache.commons:commons-dbcp2:2.2.0')
compile('org.apache.commons:commons-dbcp2:2.5.0')

// 该依赖用于运行阶段
runtime('com.h2database:h2:1.4.196')
Expand Down
4 changes: 2 additions & 2 deletions samples/s5-ch08-jdbc-object-mapping/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<url>https://waylau.com</url>
</organization>
<properties>
<spring.version>5.0.7.RELEASE</spring.version>
<spring.version>5.0.8.RELEASE</spring.version>
</properties>
<dependencies>
<dependency>
Expand Down Expand Up @@ -47,7 +47,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-dbcp2</artifactId>
<version>2.2.0</version>
<version>2.5.0</version>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
Expand Down
8 changes: 4 additions & 4 deletions samples/s5-ch08-jdbc-template/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ repositories {
dependencies {

// 该依赖用于编译阶段
compile('org.springframework:spring-context:5.0.7.RELEASE')
compile('org.springframework:spring-aspects:5.0.7.RELEASE')
compile('org.springframework:spring-jdbc:5.0.7.RELEASE')
compile('org.springframework:spring-context:5.0.8.RELEASE')
compile('org.springframework:spring-aspects:5.0.8.RELEASE')
compile('org.springframework:spring-jdbc:5.0.8.RELEASE')
compile('org.apache.logging.log4j:log4j-core:2.6.2')
compile('org.apache.logging.log4j:log4j-jcl:2.6.2')
compile('org.apache.logging.log4j:log4j-slf4j-impl:2.6.2')
compile('org.apache.commons:commons-dbcp2:2.2.0')
compile('org.apache.commons:commons-dbcp2:2.5.0')

// 该依赖用于运行阶段
runtime('com.h2database:h2:1.4.196')
Expand Down
4 changes: 2 additions & 2 deletions samples/s5-ch08-jdbc-template/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<url>https://waylau.com</url>
</organization>
<properties>
<spring.version>5.0.7.RELEASE</spring.version>
<spring.version>5.0.8.RELEASE</spring.version>
</properties>
<dependencies>
<dependency>
Expand Down Expand Up @@ -47,7 +47,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-dbcp2</artifactId>
<version>2.2.0</version>
<version>2.5.0</version>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
Expand Down
4 changes: 2 additions & 2 deletions samples/s5-ch10-jaxb-oxm/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ repositories {
dependencies {

// 该依赖用于编译阶段
compile('org.springframework:spring-context:5.0.7.RELEASE')
compile('org.springframework:spring-oxm:5.0.7.RELEASE')
compile('org.springframework:spring-context:5.0.8.RELEASE')
compile('org.springframework:spring-oxm:5.0.8.RELEASE')
}
2 changes: 1 addition & 1 deletion samples/s5-ch10-jaxb-oxm/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<url>https://waylau.com</url>
</organization>
<properties>
<spring.version>5.0.7.RELEASE</spring.version>
<spring.version>5.0.8.RELEASE</spring.version>
</properties>
<dependencies>
<dependency>
Expand Down
8 changes: 4 additions & 4 deletions samples/s5-ch11-mvc-rest/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ repositories {
dependencies {

// 该依赖用于编译阶段
compile('org.springframework:spring-webmvc:5.0.7.RELEASE')
compile('org.springframework:spring-webmvc:5.0.8.RELEASE')

// 添加 Jackson JSON 依赖
compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.9.5'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.5'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.9.6'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.6'

// 添加 Jetty 依赖
provided group: 'org.eclipse.jetty', name: 'jetty-servlet', version: '9.4.10.v20180503'
provided group: 'org.eclipse.jetty', name: 'jetty-servlet', version: '9.4.11.v20180605'



Expand Down
6 changes: 3 additions & 3 deletions samples/s5-ch11-mvc-rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
</organization>

<properties>
<spring.version>5.0.7.RELEASE</spring.version>
<jetty.version>9.4.10.v20180503</jetty.version>
<jackson.version>2.9.5</jackson.version>
<spring.version>5.0.8.RELEASE</spring.version>
<jetty.version>9.4.11.v20180605</jetty.version>
<jackson.version>2.9.6</jackson.version>
</properties>
<dependencies>
<dependency>
Expand Down
Loading

0 comments on commit ee60a1b

Please sign in to comment.