|
1 | | -<project xmlns="http://maven.apache.org/POM/4.0.0" |
2 | | - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
3 | | - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
4 | 3 | <modelVersion>4.0.0</modelVersion> |
5 | 4 | <groupId>org.springframework.issues</groupId> |
6 | 5 | <artifactId>SPR-9215</artifactId> |
|
10 | 9 | <maven.compiler.source>1.6</maven.compiler.source> |
11 | 10 | <maven.compiler.target>1.6</maven.compiler.target> |
12 | 11 | <project.build.sourceEncoding>UTF8</project.build.sourceEncoding> |
| 12 | + <spring.version>3.1.0.RELEASE</spring.version> |
13 | 13 | </properties> |
14 | 14 | <dependencies> |
15 | 15 | <dependency> |
|
38 | 38 | <dependency> |
39 | 39 | <groupId>org.springframework</groupId> |
40 | 40 | <artifactId>spring-aspects</artifactId> |
41 | | - <version>3.1.0.RELEASE</version> |
| 41 | + <version>${spring.version}</version> |
42 | 42 | <scope>runtime</scope> |
43 | 43 | </dependency> |
44 | 44 | <dependency> |
45 | 45 | <groupId>org.springframework</groupId> |
46 | 46 | <artifactId>spring-context</artifactId> |
47 | | - <version>3.1.0.RELEASE</version> |
| 47 | + <version>${spring.version}</version> |
48 | 48 | </dependency> |
49 | 49 | <dependency> |
50 | 50 | <groupId>org.springframework</groupId> |
51 | | - <artifactId>spring-tx</artifactId> |
52 | | - <version>3.1.0.RELEASE</version> |
| 51 | + <artifactId>spring-instrument</artifactId> |
| 52 | + <version>${spring.version}</version> |
| 53 | + <scope>runtime</scope> |
53 | 54 | </dependency> |
54 | 55 | <dependency> |
55 | 56 | <groupId>org.springframework</groupId> |
56 | 57 | <artifactId>spring-orm</artifactId> |
57 | | - <version>3.1.0.RELEASE</version> |
| 58 | + <version>${spring.version}</version> |
| 59 | + </dependency> |
| 60 | + <dependency> |
| 61 | + <groupId>org.springframework</groupId> |
| 62 | + <artifactId>spring-tx</artifactId> |
| 63 | + <version>${spring.version}</version> |
58 | 64 | </dependency> |
59 | 65 | <dependency> |
60 | 66 | <groupId>log4j</groupId> |
|
89 | 95 | <artifactId>maven-surefire-plugin</artifactId> |
90 | 96 | <version>2.7.2</version> |
91 | 97 | <configuration> |
| 98 | + <forkMode>once</forkMode> |
| 99 | + <argLine> |
| 100 | + -javaagent:${settings.localRepository}/org/springframework/spring-instrument/${spring.version}/spring-instrument-${spring.version}.jar |
| 101 | + </argLine> |
92 | 102 | <includes> |
93 | 103 | <include>**/*Tests.java</include> |
94 | 104 | </includes> |
|
0 commit comments