pom.xml 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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-cas-client</artifactId>
  10. <name>Spring Security - CAS Sample Client Web Application</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-cas-client</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>net.sf.ehcache</groupId>
  43. <artifactId>ehcache</artifactId>
  44. <version>1.3.0</version>
  45. <scope>runtime</scope>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.slf4j</groupId>
  49. <artifactId>slf4j-log4j12</artifactId>
  50. <version>1.4.3</version>
  51. <scope>runtime</scope>
  52. <optional>true</optional>
  53. </dependency>
  54. </dependencies>
  55. <build>
  56. <plugins>
  57. <plugin>
  58. <groupId>org.apache.maven.plugins</groupId>
  59. <artifactId>maven-compiler-plugin</artifactId>
  60. <configuration>
  61. <source>1.5</source>
  62. <target>1.5</target>
  63. </configuration>
  64. </plugin>
  65. <plugin>
  66. <groupId>org.mortbay.jetty</groupId>
  67. <artifactId>maven-jetty-plugin</artifactId>
  68. <version>6.1.7</version>
  69. <configuration>
  70. <contextPath>/cas-sample</contextPath>
  71. <connectors>
  72. <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
  73. <port>8080</port>
  74. <confidentialPort>8443</confidentialPort>
  75. </connector>
  76. <connector implementation="org.mortbay.jetty.security.SslSocketConnector">
  77. <port>8443</port>
  78. <keystore>../../certificates/server.jks</keystore>
  79. <password>password</password>
  80. <keyPassword>password</keyPassword>
  81. <truststore>../../certificates/server.jks</truststore>
  82. <trustPassword>password</trustPassword>
  83. </connector>
  84. </connectors>
  85. </configuration>
  86. </plugin>
  87. </plugins>
  88. </build>
  89. </project>