pom.xml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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 2016-2025 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. <artifactId>ukelonn</artifactId>
  17. <groupId>no.priv.bang.ukelonn</groupId>
  18. <version>1.0.0-SNAPSHOT</version>
  19. </parent>
  20. <artifactId>ukelonn.services</artifactId>
  21. <packaging>bundle</packaging>
  22. <name>Ukelonn webapp OSGi service definitions</name>
  23. <properties>
  24. <Bundle-SymbolicName>no.priv.bang.ukelonn.services</Bundle-SymbolicName>
  25. <karaf-feature-name>ukelonn-services</karaf-feature-name>
  26. </properties>
  27. <dependencies>
  28. <dependency>
  29. <groupId>com.fasterxml.jackson.core</groupId>
  30. <artifactId>jackson-annotations</artifactId>
  31. <scope>compile</scope>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.osgi</groupId>
  35. <artifactId>org.osgi.service.component.annotations</artifactId>
  36. <scope>provided</scope>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.osgi</groupId>
  40. <artifactId>org.osgi.service.log</artifactId>
  41. <scope>provided</scope>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.junit.jupiter</groupId>
  45. <artifactId>junit-jupiter-api</artifactId>
  46. <scope>test</scope>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.junit.jupiter</groupId>
  50. <artifactId>junit-jupiter-engine</artifactId>
  51. <scope>test</scope>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.assertj</groupId>
  55. <artifactId>assertj-core</artifactId>
  56. <scope>test</scope>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.mockito</groupId>
  60. <artifactId>mockito-core</artifactId>
  61. <scope>test</scope>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.apache.commons</groupId>
  65. <artifactId>commons-lang3</artifactId>
  66. <scope>test</scope>
  67. </dependency>
  68. </dependencies>
  69. <build>
  70. <plugins>
  71. <plugin>
  72. <groupId>org.apache.felix</groupId>
  73. <artifactId>maven-bundle-plugin</artifactId>
  74. </plugin>
  75. <plugin>
  76. <groupId>org.apache.karaf.tooling</groupId>
  77. <artifactId>karaf-maven-plugin</artifactId>
  78. <configuration>
  79. <primaryFeatureName>${karaf-feature-name}</primaryFeatureName>
  80. </configuration>
  81. </plugin>
  82. </plugins>
  83. <pluginManagement>
  84. <plugins>
  85. <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
  86. <plugin>
  87. <groupId>org.eclipse.m2e</groupId>
  88. <artifactId>lifecycle-mapping</artifactId>
  89. <version>1.0.0</version>
  90. <configuration>
  91. <lifecycleMappingMetadata>
  92. <pluginExecutions>
  93. <pluginExecution>
  94. <pluginExecutionFilter>
  95. <groupId>org.apache.karaf.tooling</groupId>
  96. <artifactId>karaf-maven-plugin</artifactId>
  97. <versionRange>[4.4.3,)</versionRange>
  98. <goals>
  99. <goal>features-generate-descriptor</goal>
  100. </goals>
  101. </pluginExecutionFilter>
  102. <action>
  103. <ignore></ignore>
  104. </action>
  105. </pluginExecution>
  106. </pluginExecutions>
  107. </lifecycleMappingMetadata>
  108. </configuration>
  109. </plugin>
  110. </plugins>
  111. </pluginManagement>
  112. </build>
  113. </project>