Skip to content

Commit 1e36d21

Browse files
author
eugenp
committed
spring updates
1 parent 7da44d2 commit 1e36d21

File tree

53 files changed

+87
-85
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+87
-85
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
line 1
2+
a second line
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<beans xmlns="http://www.springframework.org/schema/beans"
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd" >
4+
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.1.xsd" >
55

66
</beans>
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<beans xmlns="http://www.springframework.org/schema/beans"
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd" >
4+
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.1.xsd" >
55

66
</beans>
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<beans xmlns="http://www.springframework.org/schema/beans"
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd" >
4+
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.1.xsd" >
55

66
</beans>
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<beans xmlns="http://www.springframework.org/schema/beans"
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd" >
4+
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.1.xsd" >
55

66
</beans>
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<beans xmlns="http://www.springframework.org/schema/beans"
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd" >
4+
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.1.xsd" >
55

66
</beans>

rest-testing/pom.xml

+5-5
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138

139139
<properties>
140140
<!-- Spring -->
141-
<org.springframework.version>4.0.3.RELEASE</org.springframework.version>
141+
<org.springframework.version>4.1.0.RELEASE</org.springframework.version>
142142

143143
<!-- marshalling -->
144144
<jackson.version>2.4.2</jackson.version>
@@ -151,8 +151,8 @@
151151
<hibernate-validator.version>5.1.2.Final</hibernate-validator.version>
152152

153153
<!-- util -->
154-
<guava.version>16.0.1</guava.version>
155-
<commons-lang3.version>3.3</commons-lang3.version>
154+
<guava.version>18.0</guava.version>
155+
<commons-lang3.version>3.3.2</commons-lang3.version>
156156

157157
<!-- testing -->
158158
<org.hamcrest.version>1.3</org.hamcrest.version>
@@ -167,9 +167,9 @@
167167
<!-- maven plugins -->
168168
<maven-compiler-plugin.version>3.1</maven-compiler-plugin.version>
169169
<maven-war-plugin.version>2.4</maven-war-plugin.version>
170-
<maven-surefire-plugin.version>2.16</maven-surefire-plugin.version>
170+
<maven-surefire-plugin.version>2.17</maven-surefire-plugin.version>
171171
<maven-resources-plugin.version>2.6</maven-resources-plugin.version>
172-
<cargo-maven2-plugin.version>1.4.7</cargo-maven2-plugin.version>
172+
<cargo-maven2-plugin.version>1.4.9</cargo-maven2-plugin.version>
173173

174174
</properties>
175175

Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<beans xmlns="http://www.springframework.org/schema/beans"
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd" >
4+
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.1.xsd" >
55

66
</beans>

spring-all/src/main/resources/configForProperties.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
33
xmlns:util="http://www.springframework.org/schema/util"
44
xsi:schemaLocation="
5-
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
6-
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-4.0.xsd
7-
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd">
5+
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.1.xsd
6+
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-4.1.xsd
7+
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.1.xsd">
88

99
<context:property-placeholder location="classpath:foo.properties" />
1010

spring-all/src/main/resources/configForPropertiesOne.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
33
xmlns:util="http://www.springframework.org/schema/util"
44
xsi:schemaLocation="
5-
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
6-
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-4.0.xsd
7-
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd">
5+
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.1.xsd
6+
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-4.1.xsd
7+
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.1.xsd">
88

99
<context:property-placeholder location="classpath:foo.properties" ignore-unresolvable="true" order="1" />
1010

spring-all/src/main/resources/configForPropertiesTwo.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
33
xmlns:util="http://www.springframework.org/schema/util"
44
xsi:schemaLocation="
5-
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
6-
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-4.0.xsd
7-
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd">
5+
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.1.xsd
6+
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-4.1.xsd
7+
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.1.xsd">
88

99
<context:property-placeholder location="classpath:bar.properties" order="2"/>
1010

Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<beans xmlns="http://www.springframework.org/schema/beans"
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd" >
4+
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.1.xsd" >
55

66
</beans>

spring-exceptions/src/main/resources/beancreationexception_cause4.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
33
xmlns:util="http://www.springframework.org/schema/util"
44
xsi:schemaLocation="
5-
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
6-
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-4.0.xsd
7-
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd">
5+
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.1.xsd
6+
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-4.1.xsd
7+
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.1.xsd">
88

99
<bean id="beanA" class="org.baeldung.ex.beancreationexception.cause4.BeanA" />
1010

spring-exceptions/src/main/resources/beancreationexception_cause6.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
33
xmlns:util="http://www.springframework.org/schema/util"
44
xsi:schemaLocation="
5-
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
6-
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-4.0.xsd
7-
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd">
5+
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.1.xsd
6+
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-4.1.xsd
7+
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.1.xsd">
88

99
<bean id="beanA" class="org.baeldung.ex.beancreationexception.cause6.BeanA">
1010
<property name="beanB" ref="beanB" />

spring-exceptions/src/main/resources/beancreationexception_cause7.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
33
xmlns:util="http://www.springframework.org/schema/util"
44
xsi:schemaLocation="
5-
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
6-
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-4.0.xsd
7-
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd">
5+
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.1.xsd
6+
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-4.1.xsd
7+
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.1.xsd">
88

99
<bean id="beanZ" class="org.baeldung.ex.beancreationexception.cause7.BeanZ" />
1010

spring-exceptions/src/main/resources/beancreationexception_cause9.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
33
xmlns:util="http://www.springframework.org/schema/util"
44
xsi:schemaLocation="
5-
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
6-
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-4.0.xsd
7-
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd">
5+
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.1.xsd
6+
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-4.1.xsd
7+
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.1.xsd">
88

99
<bean id="beanA" abstract="true" class="org.baeldung.ex.beancreationexception.cause9.BeanA" />
1010

spring-exceptions/src/main/resources/configForProperties.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
33
xmlns:util="http://www.springframework.org/schema/util"
44
xsi:schemaLocation="
5-
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
6-
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-4.0.xsd
7-
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd">
5+
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.1.xsd
6+
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-4.1.xsd
7+
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.1.xsd">
88

99
<context:property-placeholder location="classpath:foo.properties" />
1010

spring-exceptions/src/main/resources/configForPropertiesOne.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
33
xmlns:util="http://www.springframework.org/schema/util"
44
xsi:schemaLocation="
5-
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
6-
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-4.0.xsd
7-
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd">
5+
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.1.xsd
6+
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-4.1.xsd
7+
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.1.xsd">
88

99
<context:property-placeholder location="classpath:foo.properties" ignore-unresolvable="true" order="1" />
1010

spring-exceptions/src/main/resources/configForPropertiesTwo.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
33
xmlns:util="http://www.springframework.org/schema/util"
44
xsi:schemaLocation="
5-
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
6-
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-4.0.xsd
7-
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd">
5+
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.1.xsd
6+
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-4.1.xsd
7+
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.1.xsd">
88

99
<context:property-placeholder location="classpath:bar.properties" order="2"/>
1010

Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<beans xmlns="http://www.springframework.org/schema/beans"
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd" >
4+
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.1.xsd" >
55

66
</beans>

spring-hibernate3/src/main/resources/persistenceConfig.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
44
xmlns:context="http://www.springframework.org/schema/context"
55
xsi:schemaLocation="
6-
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
7-
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd">
6+
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.1.xsd
7+
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.1.xsd">
88

99
<context:property-placeholder location="classpath:persistence-mysql.properties" />
1010

spring-hibernate4/src/main/resources/hibernate4Config.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
44
xmlns:context="http://www.springframework.org/schema/context"
55
xsi:schemaLocation="
6-
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
7-
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd">
6+
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.1.xsd
7+
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.1.xsd">
88

99
<context:property-placeholder location="classpath:persistence-mysql.properties" />
1010

spring-hibernate4/src/main/resources/webSecurityConfig.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
xmlns:beans="http://www.springframework.org/schema/beans"
44
xsi:schemaLocation="
55
http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.2.xsd
6-
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd">
6+
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.1.xsd">
77

88
<http access-denied-page="/access-denied.html" use-expressions="true">
99
<intercept-url pattern="/access-denied*" access="hasAnyRole('ROLE_LOCATION_WRITE','ROLE_POLYGON_WRITE')" />

spring-jpa/src/main/resources/jpaConfig.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
33
xmlns:tx="http://www.springframework.org/schema/tx"
44
xsi:schemaLocation="
5-
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
6-
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.0.xsd
7-
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd">
5+
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.1.xsd
6+
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.1.xsd
7+
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.1.xsd">
88

99
<context:property-placeholder location="classpath:persistence-mysql.properties" />
1010

spring-jpa/src/main/resources/webSecurityConfig.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
xmlns:beans="http://www.springframework.org/schema/beans"
44
xsi:schemaLocation="
55
http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.2.xsd
6-
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd">
6+
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.1.xsd">
77

88
<http access-denied-page="/access-denied.html" use-expressions="true">
99
<intercept-url pattern="/access-denied*" access="hasAnyRole('ROLE_LOCATION_WRITE','ROLE_POLYGON_WRITE')" />
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<beans xmlns="http://www.springframework.org/schema/beans"
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd" >
4+
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.1.xsd" >
55

66
</beans>

0 commit comments

Comments
 (0)