|
2 | 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
3 | 3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 | 4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 5 | + <parent> |
| 6 | + <groupId>de.dominikschadow.javasecurity</groupId> |
| 7 | + <artifactId>javasecurity</artifactId> |
| 8 | + <version>1.0.0</version> |
| 9 | + </parent> |
5 | 10 | <modelVersion>4.0.0</modelVersion> |
6 | 11 | <groupId>de.dominikschadow.javasecurity</groupId> |
7 | 12 | <artifactId>csrf-spring-security</artifactId> |
8 | 13 | <version>1.0.0</version> |
9 | 14 | <packaging>war</packaging> |
10 | 15 | <name>Cross-Site Request Forgery - Spring Security</name> |
11 | | - <url>https://github.com/dschadow/JavaSecurity</url> |
12 | 16 | <description>Cross-Site Request Forgery (CSRF) with Spring Security sample project. Requires a server like Apache Tomcat or the Maven Tomcat7 |
13 | 17 | plugin. After launching, open the web application in your browser at http://localhost:8080/csrf-spring-security |
14 | 18 | </description> |
15 | 19 |
|
16 | | - <properties> |
17 | | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
18 | | - <spring.security.version>3.2.5.RELEASE</spring.security.version> |
19 | | - <slf4j.version>1.7.8</slf4j.version> |
20 | | - </properties> |
21 | | - |
22 | 20 | <dependencies> |
23 | 21 | <dependency> |
24 | 22 | <groupId>org.springframework.security</groupId> |
25 | 23 | <artifactId>spring-security-web</artifactId> |
26 | | - <version>${spring.security.version}</version> |
27 | 24 | </dependency> |
28 | 25 | <dependency> |
29 | 26 | <groupId>org.springframework.security</groupId> |
30 | 27 | <artifactId>spring-security-config</artifactId> |
31 | | - <version>${spring.security.version}</version> |
32 | 28 | </dependency> |
33 | | - |
34 | 29 | <dependency> |
35 | 30 | <groupId>javax.servlet</groupId> |
36 | 31 | <artifactId>javax.servlet-api</artifactId> |
37 | | - <version>3.1.0</version> |
38 | | - <scope>provided</scope> |
39 | 32 | </dependency> |
40 | 33 | <dependency> |
41 | 34 | <groupId>org.slf4j</groupId> |
42 | 35 | <artifactId>slf4j-api</artifactId> |
43 | | - <version>${slf4j.version}</version> |
44 | 36 | </dependency> |
45 | 37 | <dependency> |
46 | 38 | <groupId>org.slf4j</groupId> |
47 | 39 | <artifactId>slf4j-log4j12</artifactId> |
48 | | - <version>${slf4j.version}</version> |
49 | | - <scope>runtime</scope> |
50 | 40 | </dependency> |
51 | 41 | <dependency> |
52 | 42 | <groupId>log4j</groupId> |
53 | 43 | <artifactId>log4j</artifactId> |
54 | | - <version>1.2.17</version> |
55 | | - <scope>runtime</scope> |
56 | 44 | </dependency> |
57 | 45 | </dependencies> |
58 | 46 |
|
59 | 47 | <build> |
60 | 48 | <finalName>csrf-spring-security</finalName> |
61 | 49 | <defaultGoal>tomcat7:run-war</defaultGoal> |
62 | 50 | <plugins> |
63 | | - <plugin> |
64 | | - <groupId>org.apache.maven.plugins</groupId> |
65 | | - <artifactId>maven-compiler-plugin</artifactId> |
66 | | - <version>3.2</version> |
67 | | - <configuration> |
68 | | - <source>1.8</source> |
69 | | - <target>1.8</target> |
70 | | - </configuration> |
71 | | - </plugin> |
72 | 51 | <plugin> |
73 | 52 | <groupId>org.apache.tomcat.maven</groupId> |
74 | 53 | <artifactId>tomcat7-maven-plugin</artifactId> |
75 | | - <version>2.2</version> |
76 | | - </plugin> |
77 | | - <plugin> |
78 | | - <groupId>org.apache.maven.plugins</groupId> |
79 | | - <artifactId>maven-war-plugin</artifactId> |
80 | | - <version>2.5</version> |
81 | 54 | </plugin> |
82 | 55 | </plugins> |
83 | 56 | </build> |
|
0 commit comments