pom.xml 3.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  2. <modelVersion>4.0.0</modelVersion>
  3. <parent>
  4. <groupId>org.springframework.security</groupId>
  5. <artifactId>spring-security-samples</artifactId>
  6. <version>3.0.0.CI-SNAPSHOT</version>
  7. </parent>
  8. <groupId>org.springframework.security</groupId>
  9. <artifactId>spring-security-samples-tutorial</artifactId>
  10. <name>Spring Security - Tutorial sample</name>
  11. <packaging>war</packaging>
  12. <dependencies>
  13. <dependency>
  14. <groupId>org.springframework.security</groupId>
  15. <artifactId>spring-security-core</artifactId>
  16. <version>${project.version}</version>
  17. </dependency>
  18. <dependency>
  19. <groupId>org.springframework.security</groupId>
  20. <artifactId>spring-security-config</artifactId>
  21. <version>${project.version}</version>
  22. </dependency>
  23. <dependency>
  24. <groupId>org.springframework.security</groupId>
  25. <artifactId>spring-security-taglibs</artifactId>
  26. <version>${project.version}</version>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.springframework</groupId>
  30. <artifactId>spring-web</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.springframework</groupId>
  34. <artifactId>spring-webmvc</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.springframework</groupId>
  38. <artifactId>spring-jdbc</artifactId>
  39. <scope>runtime</scope>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springframework</groupId>
  43. <artifactId>spring-aop</artifactId>
  44. <scope>runtime</scope>
  45. </dependency>
  46. <dependency>
  47. <groupId>javax.servlet</groupId>
  48. <artifactId>servlet-api</artifactId>
  49. <scope>provided</scope>
  50. </dependency>
  51. <dependency>
  52. <groupId>javax.servlet</groupId>
  53. <artifactId>jstl</artifactId>
  54. <scope>runtime</scope>
  55. </dependency>
  56. <dependency>
  57. <groupId>taglibs</groupId>
  58. <artifactId>standard</artifactId>
  59. <scope>runtime</scope>
  60. </dependency>
  61. <dependency>
  62. <groupId>log4j</groupId>
  63. <artifactId>log4j</artifactId>
  64. <scope>runtime</scope>
  65. </dependency>
  66. </dependencies>
  67. <build>
  68. <plugins>
  69. <plugin>
  70. <groupId>org.mortbay.jetty</groupId>
  71. <artifactId>maven-jetty-plugin</artifactId>
  72. <version>${jetty.version}</version>
  73. <configuration>
  74. <contextPath>/tutorial</contextPath>
  75. <connectors>
  76. <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
  77. <port>8080</port>
  78. <confidentialPort>8443</confidentialPort>
  79. </connector>
  80. <connector implementation="org.mortbay.jetty.security.SslSocketConnector">
  81. <port>8443</port>
  82. <keystore>../certificates/server.jks</keystore>
  83. <password>password</password>
  84. <keyPassword>password</keyPassword>
  85. <truststore>../certificates/server.jks</truststore>
  86. <trustPassword>password</trustPassword>
  87. <wantClientAuth>true</wantClientAuth>
  88. <needClientAuth>false</needClientAuth>
  89. </connector>
  90. </connectors>
  91. </configuration>
  92. </plugin>
  93. </plugins>
  94. </build>
  95. </project>