|
8 | 8 | <properties> |
9 | 9 | <java-version>1.7</java-version> |
10 | 10 | <!-- spring --> |
11 | | - <org.springframework-version>4.1.8.RELEASE</org.springframework-version> |
| 11 | + <org.springframework-version>4.3.3.RELEASE</org.springframework-version> |
12 | 12 | <javax.servlet-version>3.0.1</javax.servlet-version> |
13 | 13 | <!-- logging --> |
14 | | - <org.slf4j.version>1.7.12</org.slf4j.version> |
15 | | - <logback.version>1.1.3</logback.version> |
| 14 | + <org.slf4j.version>1.7.12</org.slf4j.version> |
| 15 | + <logback.version>1.1.3</logback.version> |
16 | 16 | <!-- thymeleaf --> |
17 | 17 | <org.thymeleaf-version>2.1.4.RELEASE</org.thymeleaf-version> |
18 | 18 | <!-- validation --> |
19 | 19 | <javax.validation-version>1.1.0.Final</javax.validation-version> |
20 | 20 | <org.hibernate-version>5.1.2.Final</org.hibernate-version> |
21 | | - |
| 21 | + |
22 | 22 | <!-- Maven plugins --> |
23 | 23 | <maven-compiler-plugin.version>3.5.1</maven-compiler-plugin.version> |
24 | 24 | <maven-war-plugin.version>2.6</maven-war-plugin.version> |
25 | 25 | <maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version> |
26 | 26 | <cargo-maven2-plugin.version>1.4.18</cargo-maven2-plugin.version> |
27 | 27 | </properties> |
28 | | - |
| 28 | + |
29 | 29 | <dependencies> |
30 | 30 | <!-- Spring --> |
31 | 31 | <dependency> |
|
45 | 45 | <artifactId>spring-webmvc</artifactId> |
46 | 46 | <version>${org.springframework-version}</version> |
47 | 47 | </dependency> |
| 48 | + <!-- Spring Security --> |
| 49 | + <dependency> |
| 50 | + <groupId>org.springframework.security</groupId> |
| 51 | + <artifactId>spring-security-web</artifactId> |
| 52 | + <version>4.1.3.RELEASE</version> |
| 53 | + </dependency> |
| 54 | + <dependency> |
| 55 | + <groupId>org.springframework.security</groupId> |
| 56 | + <artifactId>spring-security-config</artifactId> |
| 57 | + <version>4.1.3.RELEASE</version> |
| 58 | + </dependency> |
48 | 59 | <!-- Thymeleaf --> |
49 | 60 | <dependency> |
50 | 61 | <groupId>org.thymeleaf</groupId> |
|
57 | 68 | <version>${org.thymeleaf-version}</version> |
58 | 69 | </dependency> |
59 | 70 | <!-- Logging --> |
60 | | - <!-- logging --> |
61 | | - <dependency> |
62 | | - <groupId>org.slf4j</groupId> |
63 | | - <artifactId>slf4j-api</artifactId> |
64 | | - <version>${org.slf4j.version}</version> |
65 | | - </dependency> |
66 | | - <dependency> |
67 | | - <groupId>ch.qos.logback</groupId> |
68 | | - <artifactId>logback-classic</artifactId> |
69 | | - <version>${logback.version}</version> |
70 | | - <!-- <scope>runtime</scope> --> |
71 | | - </dependency> |
72 | | - <dependency> |
73 | | - <groupId>org.slf4j</groupId> |
74 | | - <artifactId>jcl-over-slf4j</artifactId> |
75 | | - <version>${org.slf4j.version}</version> |
76 | | - <!-- <scope>runtime</scope> --> <!-- some spring dependencies need to compile against jcl --> |
77 | | - </dependency> |
78 | | - <dependency> <!-- needed to bridge to slf4j for projects that use the log4j APIs directly --> |
79 | | - <groupId>org.slf4j</groupId> |
80 | | - <artifactId>log4j-over-slf4j</artifactId> |
81 | | - <version>${org.slf4j.version}</version> |
82 | | - </dependency> |
| 71 | + <!-- logging --> |
| 72 | + <dependency> |
| 73 | + <groupId>org.slf4j</groupId> |
| 74 | + <artifactId>slf4j-api</artifactId> |
| 75 | + <version>${org.slf4j.version}</version> |
| 76 | + </dependency> |
| 77 | + <dependency> |
| 78 | + <groupId>ch.qos.logback</groupId> |
| 79 | + <artifactId>logback-classic</artifactId> |
| 80 | + <version>${logback.version}</version> |
| 81 | + <!-- <scope>runtime</scope> --> |
| 82 | + </dependency> |
| 83 | + <dependency> |
| 84 | + <groupId>org.slf4j</groupId> |
| 85 | + <artifactId>jcl-over-slf4j</artifactId> |
| 86 | + <version>${org.slf4j.version}</version> |
| 87 | + <!-- <scope>runtime</scope> --> <!-- some spring dependencies need to compile against jcl --> |
| 88 | + </dependency> |
| 89 | + <dependency> <!-- needed to bridge to slf4j for projects that use the log4j APIs directly --> |
| 90 | + <groupId>org.slf4j</groupId> |
| 91 | + <artifactId>log4j-over-slf4j</artifactId> |
| 92 | + <version>${org.slf4j.version}</version> |
| 93 | + </dependency> |
83 | 94 | <!-- Servlet --> |
84 | 95 | <dependency> |
85 | 96 | <groupId>javax.servlet</groupId> |
|
98 | 109 | <artifactId>hibernate-validator</artifactId> |
99 | 110 | <version>${org.hibernate-version}</version> |
100 | 111 | </dependency> |
| 112 | + <!-- test scoped --> |
| 113 | + |
| 114 | + <dependency> |
| 115 | + <groupId>org.springframework</groupId> |
| 116 | + <artifactId>spring-test</artifactId> |
| 117 | + <version>4.1.3.RELEASE</version> |
| 118 | + <scope>test</scope> |
| 119 | + </dependency> |
| 120 | + |
| 121 | + <!-- https://mvnrepository.com/artifact/org.springframework.security/spring-security-test --> |
| 122 | + <dependency> |
| 123 | + <groupId>org.springframework.security</groupId> |
| 124 | + <artifactId>spring-security-test</artifactId> |
| 125 | + <version>4.1.3.RELEASE</version> |
| 126 | + <scope>test</scope> |
| 127 | + </dependency> |
| 128 | + |
| 129 | + <!-- https://mvnrepository.com/artifact/junit/junit --> |
| 130 | + <dependency> |
| 131 | + <groupId>junit</groupId> |
| 132 | + <artifactId>junit</artifactId> |
| 133 | + <version>4.12</version> |
| 134 | + <scope>test</scope> |
| 135 | + </dependency> |
| 136 | + |
101 | 137 | </dependencies> |
102 | 138 | <build> |
103 | 139 | <plugins> |
|
129 | 165 | </systemPropertyVariables> |
130 | 166 | </configuration> |
131 | 167 | </plugin> |
132 | | - <plugin> |
133 | | - <groupId>org.codehaus.cargo</groupId> |
134 | | - <artifactId>cargo-maven2-plugin</artifactId> |
135 | | - <version>${cargo-maven2-plugin.version}</version> |
136 | | - <configuration> |
137 | | - <wait>true</wait> |
138 | | - <container> |
139 | | - <containerId>jetty8x</containerId> |
140 | | - <type>embedded</type> |
141 | | - <systemProperties> |
142 | | - </systemProperties> |
143 | | - </container> |
144 | | - <configuration> |
145 | | - <properties> |
146 | | - <cargo.servlet.port>8082</cargo.servlet.port> |
147 | | - </properties> |
148 | | - </configuration> |
149 | | - </configuration> |
150 | | - </plugin> |
| 168 | + <plugin> |
| 169 | + <groupId>org.codehaus.cargo</groupId> |
| 170 | + <artifactId>cargo-maven2-plugin</artifactId> |
| 171 | + <version>${cargo-maven2-plugin.version}</version> |
| 172 | + <configuration> |
| 173 | + <wait>true</wait> |
| 174 | + <container> |
| 175 | + <containerId>jetty8x</containerId> |
| 176 | + <type>embedded</type> |
| 177 | + <systemProperties> |
| 178 | + </systemProperties> |
| 179 | + </container> |
| 180 | + <configuration> |
| 181 | + <properties> |
| 182 | + <cargo.servlet.port>8082</cargo.servlet.port> |
| 183 | + </properties> |
| 184 | + </configuration> |
| 185 | + </configuration> |
| 186 | + </plugin> |
151 | 187 | </plugins> |
152 | 188 | </build> |
153 | 189 | </project> |
0 commit comments