pom.xml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <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/xsd/maven-4.0.0.xsd" xml:space="preserve">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>no.priv.bang.authservice</groupId>
  6. <artifactId>authservice</artifactId>
  7. <version>1.3.0-SNAPSHOT</version>
  8. </parent>
  9. <artifactId>authservice.tests</artifactId>
  10. <name>Authentication webapp integration tests</name>
  11. <dependencies>
  12. <dependency>
  13. <groupId>junit</groupId>
  14. <artifactId>junit</artifactId>
  15. </dependency>
  16. <dependency>
  17. <groupId>org.ops4j.pax.jdbc</groupId>
  18. <artifactId>pax-jdbc-features</artifactId>
  19. <version>${pax.jdbc.version}</version>
  20. <type>xml</type>
  21. <classifier>features</classifier>
  22. <exclusions>
  23. <exclusion>
  24. <groupId>org.apache.karaf</groupId>
  25. <artifactId>org.apache.karaf.client</artifactId>
  26. </exclusion>
  27. <exclusion>
  28. <groupId>org.eclipse.tycho</groupId>
  29. <artifactId>org.eclipse.osgi</artifactId>
  30. </exclusion>
  31. </exclusions>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.eclipse.tycho</groupId>
  35. <artifactId>org.eclipse.osgi</artifactId>
  36. <version>3.13.0.v20180226-1711</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.ops4j.pax.exam</groupId>
  40. <artifactId>pax-exam-container-karaf</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.apache.karaf</groupId>
  44. <artifactId>apache-karaf-minimal</artifactId>
  45. <type>zip</type>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.apache.karaf.features</groupId>
  49. <artifactId>standard</artifactId>
  50. <type>xml</type>
  51. <classifier>features</classifier>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.ops4j.pax.exam</groupId>
  55. <artifactId>pax-exam-junit4</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.ops4j.pax.exam</groupId>
  59. <artifactId>pax-exam-link-mvn</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.ops4j.pax.url</groupId>
  63. <artifactId>pax-url-reference</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.apache.servicemix.bundles</groupId>
  67. <artifactId>org.apache.servicemix.bundles.javax-inject</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>javax.servlet</groupId>
  71. <artifactId>javax.servlet-api</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.apache.shiro</groupId>
  75. <artifactId>shiro-core</artifactId>
  76. </dependency>
  77. </dependencies>
  78. <build>
  79. <plugins>
  80. <!-- generate dependencies versions for use by asInProject() in pax exam tests -->
  81. <plugin>
  82. <groupId>org.apache.servicemix.tooling</groupId>
  83. <artifactId>depends-maven-plugin</artifactId>
  84. <version>1.4.0</version>
  85. <executions>
  86. <execution>
  87. <id>generate-depends-file</id>
  88. <goals>
  89. <goal>generate-depends-file</goal>
  90. </goals>
  91. </execution>
  92. </executions>
  93. </plugin>
  94. <plugin>
  95. <groupId>org.apache.maven.plugins</groupId>
  96. <artifactId>maven-surefire-plugin</artifactId>
  97. <dependencies>
  98. <!-- Override the JUnit 5 provider from the parent POM's pluginManagement with a JUnit 4 provider that can run the pax exam tests -->
  99. <dependency>
  100. <groupId>org.apache.maven.surefire</groupId>
  101. <artifactId>surefire-junit4</artifactId>
  102. <version>3.0.0-M3</version>
  103. </dependency>
  104. </dependencies>
  105. <configuration>
  106. <systemPropertyVariables>
  107. <karaf.version>${karaf.version}</karaf.version>
  108. </systemPropertyVariables>
  109. </configuration>
  110. </plugin>
  111. </plugins>
  112. </build>
  113. </project>