pom.xml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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">
  3. <!-- Copyright 2021-2024 Steinar Bang -->
  4. <!-- -->
  5. <!-- Licensed under the Apache License, Version 2.0 (the "License"); -->
  6. <!-- you may not use this file except in compliance with the License. -->
  7. <!-- You may obtain a copy of the License at -->
  8. <!-- http://www.apache.org/licenses/LICENSE-2.0 -->
  9. <!-- Unless required by applicable law or agreed to in writing, -->
  10. <!-- software distributed under the License is distributed on an "AS IS" BASIS, -->
  11. <!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -->
  12. <!-- See the License for the specific language governing permissions and limitations -->
  13. <!-- under the License. -->
  14. <modelVersion>4.0.0</modelVersion>
  15. <parent>
  16. <groupId>no.priv.bang.oldalbum</groupId>
  17. <artifactId>oldalbum</artifactId>
  18. <version>2.1.5-SNAPSHOT</version>
  19. </parent>
  20. <artifactId>oldalbum.tests</artifactId>
  21. <packaging>jar</packaging>
  22. <name>Oldalbum integration test</name>
  23. <dependencies>
  24. <dependency>
  25. <groupId>junit</groupId>
  26. <artifactId>junit</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.ops4j.pax.exam</groupId>
  30. <artifactId>pax-exam</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.ops4j.pax.exam</groupId>
  34. <artifactId>pax-exam-junit4</artifactId>
  35. <scope>test</scope>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.ops4j.pax.exam</groupId>
  39. <artifactId>pax-exam-container-karaf</artifactId>
  40. <scope>test</scope>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.apache.karaf.itests</groupId>
  44. <artifactId>common</artifactId>
  45. <version>${karaf.version}</version>
  46. <scope>test</scope>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.apache.karaf</groupId>
  50. <artifactId>apache-karaf</artifactId>
  51. <scope>test</scope>
  52. <type>tar.gz</type>
  53. <exclusions>
  54. <exclusion>
  55. <groupId>org.apache.karaf</groupId>
  56. <artifactId>org.apache.karaf.client</artifactId>
  57. </exclusion>
  58. </exclusions>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.awaitility</groupId>
  62. <artifactId>awaitility</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.apache.servicemix.bundles</groupId>
  66. <artifactId>org.apache.servicemix.bundles.hamcrest</artifactId>
  67. <version>1.3_1</version>
  68. <scope>runtime</scope>
  69. </dependency>
  70. <dependency>
  71. <groupId>no.priv.bang.oldalbum</groupId>
  72. <artifactId>karaf</artifactId>
  73. <version>${project.version}</version>
  74. <classifier>features</classifier>
  75. <type>xml</type>
  76. </dependency>
  77. </dependencies>
  78. <build>
  79. <testResources>
  80. <testResource>
  81. <directory>src/test/resources</directory>
  82. <filtering>true</filtering>
  83. </testResource>
  84. </testResources>
  85. <plugins>
  86. <!-- generate dependencies versions for use by asInProject() in pax exam tests -->
  87. <plugin>
  88. <groupId>org.apache.servicemix.tooling</groupId>
  89. <artifactId>depends-maven-plugin</artifactId>
  90. <version>1.4.0</version>
  91. <executions>
  92. <execution>
  93. <id>generate-depends-file</id>
  94. <goals>
  95. <goal>generate-depends-file</goal>
  96. </goals>
  97. </execution>
  98. </executions>
  99. </plugin>
  100. <plugin>
  101. <groupId>org.apache.maven.plugins</groupId>
  102. <artifactId>maven-surefire-plugin</artifactId>
  103. </plugin>
  104. <plugin>
  105. <groupId>org.sonatype.plugins</groupId>
  106. <artifactId>nexus-staging-maven-plugin</artifactId>
  107. <configuration>
  108. <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
  109. </configuration>
  110. </plugin>
  111. </plugins>
  112. </build>
  113. </project>