|
15 | 15 | <artifactId>spring-context</artifactId> |
16 | 16 | <version>${org.springframework.version}</version> |
17 | 17 | </dependency> |
| 18 | + <dependency> |
| 19 | + <groupId>org.springframework</groupId> |
| 20 | + <artifactId>spring-aspects</artifactId> |
| 21 | + <version>${org.springframework.version}</version> |
| 22 | + </dependency> |
| 23 | + <dependency> |
| 24 | + <groupId>org.springframework.security</groupId> |
| 25 | + <artifactId>spring-security-core</artifactId> |
| 26 | + <version>${org.springframework.security.version}</version> |
| 27 | + </dependency> |
18 | 28 |
|
19 | 29 | <!-- persistence --> |
20 | 30 |
|
|
23 | 33 | <artifactId>spring-orm</artifactId> |
24 | 34 | <version>${org.springframework.version}</version> |
25 | 35 | </dependency> |
| 36 | + <dependency> |
| 37 | + <groupId>org.springframework.data</groupId> |
| 38 | + <artifactId>spring-data-jpa</artifactId> |
| 39 | + <version>${org.springframework.data.version}</version> |
| 40 | + </dependency> |
26 | 41 | <dependency> |
27 | 42 | <groupId>org.hibernate</groupId> |
28 | 43 | <artifactId>hibernate-core</artifactId> |
29 | 44 | <version>${hibernate.version}</version> |
30 | 45 | </dependency> |
31 | 46 | <dependency> |
32 | | - <groupId>org.javassist</groupId> |
33 | | - <artifactId>javassist</artifactId> |
34 | | - <version>${javassist.version}</version> |
| 47 | + <groupId>org.hibernate</groupId> |
| 48 | + <artifactId>hibernate-envers</artifactId> |
| 49 | + <version>${hibernate-envers.version}</version> |
| 50 | + </dependency> |
| 51 | + <dependency> |
| 52 | + <groupId>javax.transaction</groupId> |
| 53 | + <artifactId>jta</artifactId> |
| 54 | + <version>${jta.version}</version> |
| 55 | + </dependency> |
| 56 | + <dependency> |
| 57 | + <groupId>javax.el</groupId> |
| 58 | + <artifactId>javax.el-api</artifactId> |
| 59 | + <version>${el-api.version}</version> |
35 | 60 | </dependency> |
36 | 61 | <dependency> |
37 | 62 | <groupId>mysql</groupId> |
38 | 63 | <artifactId>mysql-connector-java</artifactId> |
39 | 64 | <version>${mysql-connector-java.version}</version> |
40 | | - <scope>runtime</scope> |
41 | 65 | </dependency> |
42 | 66 |
|
43 | 67 | <dependency> |
|
77 | 101 | <version>${org.springframework.version}</version> |
78 | 102 | <scope>test</scope> |
79 | 103 | </dependency> |
| 104 | + |
| 105 | + <dependency> |
| 106 | + <groupId>org.springframework.security</groupId> |
| 107 | + <artifactId>spring-security-test</artifactId> |
| 108 | + <version>${org.springframework.security.version}</version> |
| 109 | + <scope>test</scope> |
| 110 | + </dependency> |
80 | 111 |
|
81 | 112 | <dependency> |
82 | 113 | <groupId>junit</groupId> |
|
85 | 116 | <scope>test</scope> |
86 | 117 | </dependency> |
87 | 118 |
|
88 | | - <dependency> |
89 | | - <groupId>org.hamcrest</groupId> |
90 | | - <artifactId>hamcrest-core</artifactId> |
91 | | - <version>${org.hamcrest.version}</version> |
92 | | - <scope>test</scope> |
93 | | - </dependency> |
94 | 119 | <dependency> |
95 | 120 | <groupId>org.hamcrest</groupId> |
96 | 121 | <artifactId>hamcrest-library</artifactId> |
|
162 | 187 | </configuration> |
163 | 188 | </configuration> |
164 | 189 | </plugin> |
165 | | - |
| 190 | + <!-- |
| 191 | + <plugin> |
| 192 | + <groupId>de.juplo</groupId> |
| 193 | + <artifactId>hibernate4-maven-plugin</artifactId> |
| 194 | + <version>${hibernate4-maven-plugin.version}</version> |
| 195 | + <executions> |
| 196 | + <execution> |
| 197 | + <goals> |
| 198 | + <goal>export</goal> |
| 199 | + </goals> |
| 200 | + </execution> |
| 201 | + </executions> |
| 202 | + <configuration> |
| 203 | + <url>jdbc:mysql://localhost:3306/spring_hibernate4_01?createDatabaseIfNotExist=true</url> |
| 204 | + <username>root</username> |
| 205 | + <password>root</password> |
| 206 | + <driverClassName>com.mysql.jdbc.Driver</driverClassName> |
| 207 | + <hibernateDialect>org.hibernate.dialect.MySQL5Dialect</hibernateDialect> |
| 208 | + <hibernateProperties>persistence-mysql.properties</hibernateProperties> |
| 209 | + </configuration> |
| 210 | + </plugin> |
| 211 | + --> |
166 | 212 | </plugins> |
167 | 213 |
|
168 | 214 | </build> |
|
171 | 217 | <!-- Spring --> |
172 | 218 | <org.springframework.version>4.2.2.RELEASE</org.springframework.version> |
173 | 219 | <org.springframework.security.version>4.0.2.RELEASE</org.springframework.security.version> |
174 | | - <javassist.version>3.20.0-GA</javassist.version> |
175 | | - |
| 220 | + <org.springframework.data.version>1.9.2.RELEASE</org.springframework.data.version> |
| 221 | + |
176 | 222 | <!-- persistence --> |
177 | 223 | <hibernate.version>4.3.11.Final</hibernate.version> |
| 224 | + <hibernate-envers.version>${hibernate.version}</hibernate-envers.version> |
178 | 225 | <mysql-connector-java.version>5.1.36</mysql-connector-java.version> |
179 | 226 | <tomcat-dbcp.version>7.0.42</tomcat-dbcp.version> |
| 227 | + <jta.version>1.1</jta.version> |
| 228 | + <el-api.version>2.2.4</el-api.version> |
180 | 229 |
|
181 | 230 | <!-- logging --> |
182 | 231 | <org.slf4j.version>1.7.12</org.slf4j.version> |
183 | 232 | <logback.version>1.1.3</logback.version> |
184 | | - |
| 233 | + |
185 | 234 | <!-- various --> |
186 | | - <hibernate-validator.version>5.2.1.Final</hibernate-validator.version> |
| 235 | + <hibernate-validator.version>4.3.2.Final</hibernate-validator.version> |
187 | 236 |
|
188 | 237 | <!-- util --> |
189 | 238 | <guava.version>18.0</guava.version> |
|
204 | 253 | <maven-surefire-plugin.version>2.18.1</maven-surefire-plugin.version> |
205 | 254 | <maven-resources-plugin.version>2.7</maven-resources-plugin.version> |
206 | 255 | <cargo-maven2-plugin.version>1.4.15</cargo-maven2-plugin.version> |
| 256 | + <!-- <hibernate4-maven-plugin.version>1.1.0</hibernate4-maven-plugin.version> --> |
207 | 257 |
|
208 | 258 | </properties> |
209 | 259 |
|
|
0 commit comments