pom.xml 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  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 2020-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. <groupId>no.priv.bang.oldalbum</groupId>
  17. <artifactId>oldalbum</artifactId>
  18. <version>2.2.4-SNAPSHOT</version>
  19. </parent>
  20. <artifactId>oldalbum.backend.imageio</artifactId>
  21. <name>Imageio service registration</name>
  22. <properties>
  23. <karaf-feature-name>oldalbum-backend-imageio</karaf-feature-name>
  24. </properties>
  25. <dependencies>
  26. <dependency>
  27. <groupId>no.priv.bang.oldalbum</groupId>
  28. <artifactId>oldalbum.services</artifactId>
  29. <scope>provided</scope>
  30. </dependency>
  31. <dependency>
  32. <groupId>no.priv.bang.oldalbum</groupId>
  33. <artifactId>oldalbum.services</artifactId>
  34. <type>xml</type>
  35. <classifier>features</classifier>
  36. </dependency>
  37. <dependency>
  38. <groupId>com.twelvemonkeys.common</groupId>
  39. <artifactId>common-image</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>com.twelvemonkeys.common</groupId>
  43. <artifactId>common-io</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>com.twelvemonkeys.common</groupId>
  47. <artifactId>common-lang</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>com.twelvemonkeys.imageio</groupId>
  51. <artifactId>imageio-core</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>com.twelvemonkeys.imageio</groupId>
  55. <artifactId>imageio-metadata</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>com.twelvemonkeys.imageio</groupId>
  59. <artifactId>imageio-psd</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>com.twelvemonkeys.imageio</groupId>
  63. <artifactId>imageio-jpeg</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>com.twelvemonkeys.imageio</groupId>
  67. <artifactId>imageio-tiff</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.osgi</groupId>
  71. <artifactId>osgi.core</artifactId>
  72. <scope>provided</scope>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.osgi</groupId>
  76. <artifactId>org.osgi.service.component.annotations</artifactId>
  77. <scope>provided</scope>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.junit.jupiter</groupId>
  81. <artifactId>junit-jupiter-api</artifactId>
  82. <scope>test</scope>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.junit.jupiter</groupId>
  86. <artifactId>junit-jupiter-engine</artifactId>
  87. <scope>test</scope>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.assertj</groupId>
  91. <artifactId>assertj-core</artifactId>
  92. <scope>test</scope>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.mockito</groupId>
  96. <artifactId>mockito-core</artifactId>
  97. <scope>test</scope>
  98. </dependency>
  99. </dependencies>
  100. <build>
  101. <plugins>
  102. <plugin>
  103. <groupId>org.apache.felix</groupId>
  104. <artifactId>maven-bundle-plugin</artifactId>
  105. <configuration>
  106. <instructions>
  107. <Require-Capability>
  108. osgi.extender; filter:="(osgi.extender=osgi.serviceloader.processor)",
  109. osgi.serviceloader; filter:="(osgi.serviceloader=javax.imageio.spi.ImageWriterSpi)"; cardinality:=multiple,
  110. </Require-Capability>
  111. </instructions>
  112. </configuration>
  113. </plugin>
  114. <plugin>
  115. <groupId>org.apache.karaf.tooling</groupId>
  116. <artifactId>karaf-maven-plugin</artifactId>
  117. </plugin>
  118. </plugins>
  119. <pluginManagement>
  120. <plugins>
  121. <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
  122. <plugin>
  123. <groupId>org.eclipse.m2e</groupId>
  124. <artifactId>lifecycle-mapping</artifactId>
  125. <version>1.0.0</version>
  126. <configuration>
  127. <lifecycleMappingMetadata>
  128. <pluginExecutions>
  129. <pluginExecution>
  130. <pluginExecutionFilter>
  131. <groupId>org.apache.karaf.tooling</groupId>
  132. <artifactId>karaf-maven-plugin</artifactId>
  133. <versionRange>[4.4.3,)</versionRange>
  134. <goals>
  135. <goal>features-generate-descriptor</goal>
  136. </goals>
  137. </pluginExecutionFilter>
  138. <action>
  139. <ignore />
  140. </action>
  141. </pluginExecution>
  142. </pluginExecutions>
  143. </lifecycleMappingMetadata>
  144. </configuration>
  145. </plugin>
  146. </plugins>
  147. </pluginManagement>
  148. </build>
  149. </project>