pom.xml 3.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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>2.5.0-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-taglibs</artifactId>
  21. <version>${project.version}</version>
  22. </dependency>
  23. <dependency>
  24. <groupId>org.springframework</groupId>
  25. <artifactId>spring-web</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.springframework</groupId>
  29. <artifactId>spring-webmvc</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.springframework</groupId>
  33. <artifactId>spring-jdbc</artifactId>
  34. <scope>runtime</scope>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.springframework</groupId>
  38. <artifactId>spring-aop</artifactId>
  39. <scope>runtime</scope>
  40. </dependency>
  41. <dependency>
  42. <groupId>javax.servlet</groupId>
  43. <artifactId>servlet-api</artifactId>
  44. <scope>provided</scope>
  45. </dependency>
  46. <dependency>
  47. <groupId>javax.servlet</groupId>
  48. <artifactId>jstl</artifactId>
  49. <scope>runtime</scope>
  50. </dependency>
  51. <dependency>
  52. <groupId>taglibs</groupId>
  53. <artifactId>standard</artifactId>
  54. <scope>runtime</scope>
  55. </dependency>
  56. <dependency>
  57. <groupId>log4j</groupId>
  58. <artifactId>log4j</artifactId>
  59. <scope>runtime</scope>
  60. </dependency>
  61. </dependencies>
  62. <build>
  63. <plugins>
  64. <plugin>
  65. <groupId>org.mortbay.jetty</groupId>
  66. <artifactId>maven-jetty-plugin</artifactId>
  67. <version>${jetty.version}</version>
  68. <configuration>
  69. <contextPath>/tutorial</contextPath>
  70. <connectors>
  71. <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
  72. <port>8080</port>
  73. <confidentialPort>8443</confidentialPort>
  74. </connector>
  75. <connector implementation="org.mortbay.jetty.security.SslSocketConnector">
  76. <port>8443</port>
  77. <keystore>../certificates/server.jks</keystore>
  78. <password>password</password>
  79. <keyPassword>password</keyPassword>
  80. <truststore>../certificates/server.jks</truststore>
  81. <trustPassword>password</trustPassword>
  82. <wantClientAuth>true</wantClientAuth>
  83. <needClientAuth>false</needClientAuth>
  84. </connector>
  85. </connectors>
  86. </configuration>
  87. </plugin>
  88. </plugins>
  89. </build>
  90. </project>