pom.xml 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.security</groupId>
  7. <artifactId>spring-security-parent</artifactId>
  8. <version>3.0.0.CI-SNAPSHOT</version>
  9. </parent>
  10. <artifactId>spring-security-samples-aspectj</artifactId>
  11. <packaging>jar</packaging>
  12. <name>Spring Security Sample AspectJ</name>
  13. <dependencies>
  14. <dependency>
  15. <groupId>junit</groupId>
  16. <artifactId>junit</artifactId>
  17. <version>4.6</version>
  18. <scope>test</scope>
  19. </dependency>
  20. <dependency>
  21. <groupId>org.springframework.security</groupId>
  22. <artifactId>spring-security-core</artifactId>
  23. <version>${project.version}</version>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springframework.security</groupId>
  27. <artifactId>spring-security-aspects</artifactId>
  28. <version>${project.version}</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.springframework</groupId>
  32. <artifactId>spring-test</artifactId>
  33. <scope>test</scope>
  34. </dependency>
  35. </dependencies>
  36. <build>
  37. <plugins>
  38. <plugin>
  39. <groupId>org.codehaus.mojo</groupId>
  40. <artifactId>aspectj-maven-plugin</artifactId>
  41. <version>1.2</version>
  42. <dependencies>
  43. <!--
  44. NB: You must use Maven 2.0.9 or above or these
  45. are ignored (see MNG-2972)
  46. -->
  47. <dependency>
  48. <groupId>org.aspectj</groupId>
  49. <artifactId>aspectjrt</artifactId>
  50. <version>1.6.5</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.aspectj</groupId>
  54. <artifactId>aspectjtools</artifactId>
  55. <version>1.6.5</version>
  56. </dependency>
  57. </dependencies>
  58. <executions>
  59. <execution>
  60. <goals>
  61. <goal>compile</goal>
  62. <goal>test-compile</goal>
  63. </goals>
  64. </execution>
  65. </executions>
  66. <configuration>
  67. <aspectLibraries>
  68. <aspectLibrary>
  69. <groupId>org.springframework.security</groupId>
  70. <artifactId>spring-security-aspects</artifactId>
  71. </aspectLibrary>
  72. </aspectLibraries>
  73. <source>1.5</source>
  74. <target>1.5</target>
  75. </configuration>
  76. </plugin>
  77. </plugins>
  78. </build>
  79. </project>