pom.xml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Copyright 2018-2024 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">
  14. <modelVersion>4.0.0</modelVersion>
  15. <artifactId>jerseyinkaraf.webcontext</artifactId>
  16. <parent>
  17. <groupId>no.priv.bang.demos.jerseyinkaraf</groupId>
  18. <artifactId>jerseyinkaraf</artifactId>
  19. <version>2.0.0-SNAPSHOT</version>
  20. </parent>
  21. <name>Karaf demo web context</name>
  22. <dependencies>
  23. <dependency>
  24. <groupId>org.osgi</groupId>
  25. <artifactId>osgi.core</artifactId>
  26. <scope>provided</scope>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.osgi</groupId>
  30. <artifactId>org.osgi.service.component.annotations</artifactId>
  31. <scope>provided</scope>
  32. </dependency>
  33. <dependency>
  34. <groupId>javax.servlet</groupId>
  35. <artifactId>javax.servlet-api</artifactId>
  36. <scope>provided</scope>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.ops4j.pax.web</groupId>
  40. <artifactId>pax-web-api</artifactId>
  41. <scope>provided</scope>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.ops4j.pax.web</groupId>
  45. <artifactId>pax-web-extender-whiteboard</artifactId>
  46. <scope>provided</scope>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.junit.jupiter</groupId>
  50. <artifactId>junit-jupiter-api</artifactId>
  51. <scope>test</scope>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.junit.jupiter</groupId>
  55. <artifactId>junit-jupiter-engine</artifactId>
  56. <scope>test</scope>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.junit.platform</groupId>
  60. <artifactId>junit-platform-launcher</artifactId>
  61. <scope>test</scope>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.assertj</groupId>
  65. <artifactId>assertj-core</artifactId>
  66. <scope>test</scope>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.mockito</groupId>
  70. <artifactId>mockito-core</artifactId>
  71. <scope>test</scope>
  72. </dependency>
  73. <dependency>
  74. <groupId>com.mockrunner</groupId>
  75. <artifactId>mockrunner-servlet</artifactId>
  76. <scope>test</scope>
  77. </dependency>
  78. <dependency>
  79. <groupId>no.priv.bang.osgi.service.adapters</groupId>
  80. <artifactId>service-mocks</artifactId>
  81. <scope>test</scope>
  82. </dependency>
  83. </dependencies>
  84. <build>
  85. <plugins>
  86. <plugin>
  87. <groupId>org.apache.felix</groupId>
  88. <artifactId>maven-bundle-plugin</artifactId>
  89. <configuration>
  90. <instructions>
  91. <Import-Package>org.osgi.service.http.context;version="[1,2)",*</Import-Package>
  92. </instructions>
  93. </configuration>
  94. </plugin>
  95. <plugin>
  96. <groupId>org.apache.karaf.tooling</groupId>
  97. <artifactId>karaf-maven-plugin</artifactId>
  98. </plugin>
  99. </plugins>
  100. </build>
  101. </project>