pom.xml 4.7 KB

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