Skip to content

Commit b5428e4

Browse files
committed
small upgrades and cleanup work
1 parent 0dcebf4 commit b5428e4

16 files changed

Lines changed: 127 additions & 401 deletions

File tree

‎m1-lesson3-start/pom.xml‎

Lines changed: 15 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<parent>
1515
<groupId>org.springframework.boot</groupId>
1616
<artifactId>spring-boot-starter-parent</artifactId>
17-
<version>1.4.3.RELEASE</version>
17+
<version>1.5.2.RELEASE</version>
1818
<relativePath /> <!-- lookup parent from repository -->
1919
</parent>
2020

@@ -98,70 +98,31 @@
9898
</build>
9999

100100
<properties>
101-
101+
102102
<!-- non-dependencies -->
103103
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
104-
<java.version>1.8</java.version>
105-
106-
<!-- overriding Spring Boot -->
107-
<spring-hateoas.version>0.21.0.RELEASE</spring-hateoas.version>
108-
109-
<commons-collections.version>3.2.2</commons-collections.version>
110-
<hibernate.version>5.2.1.Final</hibernate.version>
111-
<hibernate-validator.version>5.2.4.Final</hibernate-validator.version>
112-
<httpclient.version>4.5.2</httpclient.version>
113-
114-
<javassist.version>3.20.0-GA</javassist.version>
115-
<mysql.version>5.1.39</mysql.version>
116-
<slf4j.version>1.7.21</slf4j.version>
117-
118-
<!-- Spring related -->
119-
<aspectjweaver.version>1.8.9</aspectjweaver.version>
120-
121-
<!-- web -->
122-
<javax.servlet-api.version>3.1.0</javax.servlet-api.version>
123-
124-
<!-- marshalling -->
125-
<jaxb-api.version>2.2.12</jaxb-api.version>
126-
<jackson.version>2.8.5</jackson.version>
127-
128-
<!-- commons and utils -->
129-
<commons-lang3.version>3.4</commons-lang3.version>
130-
<guava.version>19.0</guava.version>
131-
132-
<!-- UNSORTED -->
133-
<commons-codec.version>1.10</commons-codec.version>
104+
<java.version>1.8</java.version>
134105

135106
<!-- persistence -->
136-
<querydsl.version>4.1.3</querydsl.version>
137-
<spring-data-jpa.version>1.10.2.RELEASE</spring-data-jpa.version>
138-
<h2.version>1.4.192</h2.version>
139-
<hsqldb.version>2.3.4</hsqldb.version>
140-
141107
<validation-api.version>1.1.0.Final</validation-api.version>
142-
143-
<!-- ops related -->
144-
<tomcat.version>8.5.4</tomcat.version>
145-
146-
<!-- logging -->
147-
<logback.version>1.1.7</logback.version>
148-
149-
<!-- testing -->
150-
<org.hamcrest.version>1.3</org.hamcrest.version>
151-
<junit.version>4.12</junit.version>
152-
<mockito.version>1.10.19</mockito.version>
153-
154-
<httpcore.version>4.4.5</httpcore.version>
108+
<hsqldb.version>2.3.4</hsqldb.version>
109+
110+
111+
<!-- commons and utils -->
112+
<guava.version>19.0</guava.version>
113+
<commons-lang3.version>3.4</commons-lang3.version>
114+
155115
<rest-assured.version>2.9.0</rest-assured.version>
156-
116+
117+
<!-- marshalling -->
118+
<jaxb-api.version>2.2.12</jaxb-api.version>
119+
157120
<!-- maven plugins -->
158121
<maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version>
159122
<maven-compiler-plugin.version>3.5.1</maven-compiler-plugin.version>
160123
<maven-resources-plugin.version>3.0.1</maven-resources-plugin.version>
161124
<cargo-maven2-plugin.version>1.5.0</cargo-maven2-plugin.version>
162-
<maven-war-plugin.version>2.6</maven-war-plugin.version>
163-
164-
125+
165126
</properties>
166127

167128
<modules>

‎m1-lesson3-start/um-webapp/src/main/java/com/baeldung/um/spring/UmContextConfig.java‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
package com.baeldung.um.spring;
22

33
import org.springframework.context.annotation.Bean;
4-
import org.springframework.context.annotation.ComponentScan;
54
import org.springframework.context.annotation.Configuration;
65
import org.springframework.context.annotation.EnableAspectJAutoProxy;
76
import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;
87
@Configuration
9-
@ComponentScan({ "com.baeldung.um.model" })
108
@EnableAspectJAutoProxy(proxyTargetClass = true)
119
public class UmContextConfig {
1210

‎m1-lesson4-start/pom.xml‎

Lines changed: 16 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<parent>
1414
<groupId>org.springframework.boot</groupId>
1515
<artifactId>spring-boot-starter-parent</artifactId>
16-
<version>1.4.3.RELEASE</version>
16+
<version>1.5.2.RELEASE</version>
1717
<relativePath /> <!-- lookup parent from repository -->
1818
</parent>
1919

@@ -97,72 +97,33 @@
9797
</build>
9898

9999
<properties>
100-
100+
101101
<!-- non-dependencies -->
102102
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
103-
<java.version>1.8</java.version>
104-
105-
<!-- overriding Spring Boot -->
106-
<spring-hateoas.version>0.21.0.RELEASE</spring-hateoas.version>
107-
108-
<commons-collections.version>3.2.2</commons-collections.version>
109-
<hibernate.version>5.2.1.Final</hibernate.version>
110-
<hibernate-validator.version>5.2.4.Final</hibernate-validator.version>
111-
<httpclient.version>4.5.2</httpclient.version>
112-
<javassist.version>3.20.0-GA</javassist.version>
113-
<mysql.version>5.1.39</mysql.version>
114-
115-
<slf4j.version>1.7.21</slf4j.version>
116-
117-
<!-- Spring related -->
118-
<aspectjweaver.version>1.8.9</aspectjweaver.version>
119-
120-
<!-- web -->
121-
<javax.servlet-api.version>3.1.0</javax.servlet-api.version>
122-
123-
<!-- marshalling -->
124-
<jaxb-api.version>2.2.12</jaxb-api.version>
125-
<jackson.version>2.8.6</jackson.version>
126-
127-
<!-- commons and utils -->
128-
<commons-lang3.version>3.4</commons-lang3.version>
129-
<guava.version>19.0</guava.version>
130-
131-
<!-- UNSORTED -->
132-
<commons-codec.version>1.10</commons-codec.version>
103+
<java.version>1.8</java.version>
133104

134105
<!-- persistence -->
135-
<querydsl.version>4.1.3</querydsl.version>
136-
<spring-data-jpa.version>1.10.2.RELEASE</spring-data-jpa.version>
137-
<h2.version>1.4.192</h2.version>
138-
<hsqldb.version>2.3.4</hsqldb.version>
139-
140106
<validation-api.version>1.1.0.Final</validation-api.version>
141-
142-
<!-- ops related -->
143-
<tomcat.version>8.5.4</tomcat.version>
144-
145-
<!-- logging -->
146-
<logback.version>1.1.7</logback.version>
147-
148-
<!-- testing -->
149-
<org.hamcrest.version>1.3</org.hamcrest.version>
150-
<junit.version>4.12</junit.version>
151-
<mockito.version>1.10.19</mockito.version>
152-
153-
<httpcore.version>4.4.5</httpcore.version>
107+
<hsqldb.version>2.3.4</hsqldb.version>
108+
109+
110+
<!-- commons and utils -->
111+
<guava.version>19.0</guava.version>
112+
<commons-lang3.version>3.4</commons-lang3.version>
113+
154114
<rest-assured.version>2.9.0</rest-assured.version>
155-
115+
116+
<!-- marshalling -->
117+
<jaxb-api.version>2.2.12</jaxb-api.version>
118+
156119
<!-- maven plugins -->
157120
<maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version>
158121
<maven-compiler-plugin.version>3.5.1</maven-compiler-plugin.version>
159122
<maven-resources-plugin.version>3.0.1</maven-resources-plugin.version>
160123
<cargo-maven2-plugin.version>1.5.0</cargo-maven2-plugin.version>
161-
<maven-war-plugin.version>2.6</maven-war-plugin.version>
162-
163-
124+
164125
</properties>
165-
126+
166127
<modules>
167128
<module>common</module>
168129
<module>um-webapp</module>

‎m1-lesson4-start/um-webapp/src/main/java/com/baeldung/um/spring/UmContextConfig.java‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
package com.baeldung.um.spring;
22

33
import org.springframework.context.annotation.Bean;
4-
import org.springframework.context.annotation.ComponentScan;
54
import org.springframework.context.annotation.Configuration;
65
import org.springframework.context.annotation.EnableAspectJAutoProxy;
76
import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;
87
@Configuration
9-
@ComponentScan({ "com.baeldung.um.model" })
108
@EnableAspectJAutoProxy(proxyTargetClass = true)
119
public class UmContextConfig {
1210

‎m1-lesson4/pom.xml‎

Lines changed: 15 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<parent>
1212
<groupId>org.springframework.boot</groupId>
1313
<artifactId>spring-boot-starter-parent</artifactId>
14-
<version>1.4.3.RELEASE</version>
14+
<version>1.5.2.RELEASE</version>
1515
<relativePath /> <!-- lookup parent from repository -->
1616
</parent>
1717

@@ -95,70 +95,31 @@
9595
</build>
9696

9797
<properties>
98-
98+
9999
<!-- non-dependencies -->
100100
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
101-
<java.version>1.8</java.version>
102-
103-
<!-- overriding Spring Boot -->
104-
<spring-hateoas.version>0.21.0.RELEASE</spring-hateoas.version>
105-
106-
<commons-collections.version>3.2.2</commons-collections.version>
107-
<hibernate.version>5.2.1.Final</hibernate.version>
108-
<hibernate-validator.version>5.2.4.Final</hibernate-validator.version>
109-
<httpclient.version>4.5.2</httpclient.version>
110-
<javassist.version>3.20.0-GA</javassist.version>
111-
<mysql.version>5.1.39</mysql.version>
112-
113-
<slf4j.version>1.7.21</slf4j.version>
114-
115-
<!-- Spring related -->
116-
<aspectjweaver.version>1.8.9</aspectjweaver.version>
117-
118-
<!-- web -->
119-
<javax.servlet-api.version>3.1.0</javax.servlet-api.version>
120-
121-
<!-- marshalling -->
122-
<jaxb-api.version>2.2.12</jaxb-api.version>
123-
<jackson.version>2.8.6</jackson.version>
124-
125-
<!-- commons and utils -->
126-
<commons-lang3.version>3.4</commons-lang3.version>
127-
<guava.version>19.0</guava.version>
128-
129-
<!-- UNSORTED -->
130-
<commons-codec.version>1.10</commons-codec.version>
101+
<java.version>1.8</java.version>
131102

132103
<!-- persistence -->
133-
<querydsl.version>4.1.3</querydsl.version>
134-
<spring-data-jpa.version>1.10.2.RELEASE</spring-data-jpa.version>
135-
<h2.version>1.4.192</h2.version>
136-
<hsqldb.version>2.3.4</hsqldb.version>
137-
138104
<validation-api.version>1.1.0.Final</validation-api.version>
139-
140-
<!-- ops related -->
141-
<tomcat.version>8.5.4</tomcat.version>
142-
143-
<!-- logging -->
144-
<logback.version>1.1.7</logback.version>
145-
146-
<!-- testing -->
147-
<org.hamcrest.version>1.3</org.hamcrest.version>
148-
<junit.version>4.12</junit.version>
149-
<mockito.version>1.10.19</mockito.version>
150-
151-
<httpcore.version>4.4.5</httpcore.version>
105+
<hsqldb.version>2.3.4</hsqldb.version>
106+
107+
108+
<!-- commons and utils -->
109+
<guava.version>19.0</guava.version>
110+
<commons-lang3.version>3.4</commons-lang3.version>
111+
152112
<rest-assured.version>2.9.0</rest-assured.version>
153-
113+
114+
<!-- marshalling -->
115+
<jaxb-api.version>2.2.12</jaxb-api.version>
116+
154117
<!-- maven plugins -->
155118
<maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version>
156119
<maven-compiler-plugin.version>3.5.1</maven-compiler-plugin.version>
157120
<maven-resources-plugin.version>3.0.1</maven-resources-plugin.version>
158121
<cargo-maven2-plugin.version>1.5.0</cargo-maven2-plugin.version>
159-
<maven-war-plugin.version>2.6</maven-war-plugin.version>
160-
161-
122+
162123
</properties>
163124

164125
<modules>

‎m1-lesson4/um-webapp/src/main/java/com/baeldung/um/spring/UmContextConfig.java‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
package com.baeldung.um.spring;
22

33
import org.springframework.context.annotation.Bean;
4-
import org.springframework.context.annotation.ComponentScan;
54
import org.springframework.context.annotation.Configuration;
65
import org.springframework.context.annotation.EnableAspectJAutoProxy;
76
import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;
87
@Configuration
9-
@ComponentScan({ "com.baeldung.um.model" })
108
@EnableAspectJAutoProxy(proxyTargetClass = true)
119
public class UmContextConfig {
1210

0 commit comments

Comments
 (0)