pom.xml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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.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-core-tiger</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. </dependencies>
  62. <build>
  63. <plugins>
  64. <plugin>
  65. <groupId>org.apache.maven.plugins</groupId>
  66. <artifactId>maven-compiler-plugin</artifactId>
  67. <configuration>
  68. <source>1.5</source>
  69. <target>1.5</target>
  70. </configuration>
  71. </plugin>
  72. <plugin>
  73. <groupId>org.mortbay.jetty</groupId>
  74. <artifactId>maven-jetty-plugin</artifactId>
  75. <version>6.1.7</version>
  76. <configuration>
  77. <contextPath>/tutorial</contextPath>
  78. <connectors>
  79. <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
  80. <port>8080</port>
  81. <confidentialPort>8443</confidentialPort>
  82. </connector>
  83. <connector implementation="org.mortbay.jetty.security.SslSocketConnector">
  84. <port>8443</port>
  85. <keystore>../certificates/server.jks</keystore>
  86. <password>password</password>
  87. <keyPassword>password</keyPassword>
  88. <truststore>../certificates/server.jks</truststore>
  89. <trustPassword>password</trustPassword>
  90. <wantClientAuth>true</wantClientAuth>
  91. <needClientAuth>false</needClientAuth>
  92. </connector>
  93. </connectors>
  94. </configuration>
  95. </plugin>
  96. </plugins>
  97. </build>
  98. </project>