pom.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <!-- Copyright 2018-2023 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.handlereg</groupId>
  17. <artifactId>handlereg</artifactId>
  18. <version>1.0.0-SNAPSHOT</version>
  19. </parent>
  20. <artifactId>handlereg.services</artifactId>
  21. <name>Handleregistrering OSGi service definitions</name>
  22. <properties>
  23. <karaf-feature-name>handlereg-services</karaf-feature-name>
  24. </properties>
  25. <dependencies>
  26. <dependency>
  27. <groupId>no.priv.bang.beans</groupId>
  28. <artifactId>beans.immutable</artifactId>
  29. <scope>provided</scope>
  30. </dependency>
  31. <dependency>
  32. <groupId>no.priv.bang.beans</groupId>
  33. <artifactId>beans.immutable</artifactId>
  34. <type>xml</type>
  35. <classifier>features</classifier>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.junit.jupiter</groupId>
  39. <artifactId>junit-jupiter-api</artifactId>
  40. <scope>test</scope>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.junit.jupiter</groupId>
  44. <artifactId>junit-jupiter-engine</artifactId>
  45. <scope>test</scope>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.junit.vintage</groupId>
  49. <artifactId>junit-vintage-engine</artifactId>
  50. <scope>test</scope>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.assertj</groupId>
  54. <artifactId>assertj-core</artifactId>
  55. <scope>test</scope>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.mockito</groupId>
  59. <artifactId>mockito-core</artifactId>
  60. <scope>test</scope>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.apache.commons</groupId>
  64. <artifactId>commons-lang3</artifactId>
  65. <scope>test</scope>
  66. </dependency>
  67. </dependencies>
  68. <build>
  69. <plugins>
  70. <plugin>
  71. <groupId>org.apache.felix</groupId>
  72. <artifactId>maven-bundle-plugin</artifactId>
  73. </plugin>
  74. <plugin>
  75. <groupId>org.apache.karaf.tooling</groupId>
  76. <artifactId>karaf-maven-plugin</artifactId>
  77. </plugin>
  78. </plugins>
  79. <pluginManagement>
  80. <plugins>
  81. <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
  82. <plugin>
  83. <groupId>org.eclipse.m2e</groupId>
  84. <artifactId>lifecycle-mapping</artifactId>
  85. <version>1.0.0</version>
  86. <configuration>
  87. <lifecycleMappingMetadata>
  88. <pluginExecutions>
  89. <pluginExecution>
  90. <pluginExecutionFilter>
  91. <groupId>org.apache.karaf.tooling</groupId>
  92. <artifactId>karaf-maven-plugin</artifactId>
  93. <versionRange>[4.4.3,)</versionRange>
  94. <goals>
  95. <goal>features-generate-descriptor</goal>
  96. </goals>
  97. </pluginExecutionFilter>
  98. <action>
  99. <ignore></ignore>
  100. </action>
  101. </pluginExecution>
  102. </pluginExecutions>
  103. </lifecycleMappingMetadata>
  104. </configuration>
  105. </plugin>
  106. </plugins>
  107. </pluginManagement>
  108. </build>
  109. </project>