pom.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  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 2019-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.web.frontend</artifactId>
  21. <name>Handleregistrering web frontend</name>
  22. <properties>
  23. <karaf-feature-name>handlereg-web-frontend</karaf-feature-name>
  24. </properties>
  25. <dependencies>
  26. <dependency>
  27. <groupId>no.priv.bang.handlereg</groupId>
  28. <artifactId>handlereg.web.api</artifactId>
  29. <version>${project.version}</version>
  30. <type>xml</type>
  31. <classifier>features</classifier>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.ops4j.pax.web</groupId>
  35. <artifactId>pax-web-api</artifactId>
  36. <scope>provided</scope>
  37. </dependency>
  38. <dependency>
  39. <groupId>javax.servlet</groupId>
  40. <artifactId>javax.servlet-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.vintage</groupId>
  60. <artifactId>junit-vintage-engine</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>org.osgi</groupId>
  80. <artifactId>org.osgi.service.component.annotations</artifactId>
  81. <scope>provided</scope>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.osgi</groupId>
  85. <artifactId>org.osgi.service.log</artifactId>
  86. <scope>provided</scope>
  87. </dependency>
  88. <dependency>
  89. <groupId>no.priv.bang.osgi.service.adapters</groupId>
  90. <artifactId>service-mocks</artifactId>
  91. <scope>test</scope>
  92. </dependency>
  93. <dependency>
  94. <groupId>no.priv.bang.osgi.service.adapters</groupId>
  95. <artifactId>adapters.logservice</artifactId>
  96. <scope>provided</scope>
  97. </dependency>
  98. <dependency>
  99. <groupId>no.priv.bang.osgi.service.adapters</groupId>
  100. <artifactId>adapters.logservice</artifactId>
  101. <type>xml</type>
  102. <classifier>features</classifier>
  103. </dependency>
  104. <dependency>
  105. <groupId>no.priv.bang.servlet</groupId>
  106. <artifactId>servlet.frontend</artifactId>
  107. <scope>provided</scope>
  108. </dependency>
  109. <dependency>
  110. <groupId>no.priv.bang.servlet</groupId>
  111. <artifactId>servlet.frontend</artifactId>
  112. <type>xml</type>
  113. <classifier>features</classifier>
  114. </dependency>
  115. </dependencies>
  116. <build>
  117. <plugins>
  118. <plugin>
  119. <groupId>com.github.eirslett</groupId>
  120. <artifactId>frontend-maven-plugin</artifactId>
  121. </plugin>
  122. <plugin>
  123. <groupId>org.apache.felix</groupId>
  124. <artifactId>maven-bundle-plugin</artifactId>
  125. <extensions>true</extensions>
  126. <configuration>
  127. <instructions>
  128. <Export-Package>!*</Export-Package>
  129. <Include-Resource>
  130. /=target/classes/,
  131. /open-iconic/font/css/open-iconic-bootstrap.min.css=target/dependency/META-INF/resources/webjars/open-iconic/${open-iconic.version}/font/css/open-iconic-bootstrap.min.css,
  132. /open-iconic/font/fonts/open-iconic.woff=target/dependency/META-INF/resources/webjars/open-iconic/${open-iconic.version}/font/fonts/open-iconic.woff
  133. </Include-Resource>
  134. <_removeheaders>
  135. Include-Resource,
  136. Private-Package,
  137. Embed-Dependency,
  138. Embed-Transitive
  139. </_removeheaders>
  140. </instructions>
  141. </configuration>
  142. <executions>
  143. <execution>
  144. <id>bundle</id>
  145. <goals>
  146. <goal>bundle</goal>
  147. </goals>
  148. </execution>
  149. </executions>
  150. </plugin>
  151. <plugin>
  152. <groupId>org.apache.karaf.tooling</groupId>
  153. <artifactId>karaf-maven-plugin</artifactId>
  154. <configuration>
  155. <primaryFeatureName>${karaf-feature-name}</primaryFeatureName>
  156. <includeTransitiveDependency>true</includeTransitiveDependency>
  157. </configuration>
  158. </plugin>
  159. <plugin>
  160. <groupId>org.apache.maven.plugins</groupId>
  161. <artifactId>maven-clean-plugin</artifactId>
  162. </plugin>
  163. <plugin>
  164. <groupId>org.apache.maven.plugins</groupId>
  165. <artifactId>maven-dependency-plugin</artifactId>
  166. <executions>
  167. <execution>
  168. <id>unpack</id>
  169. <phase>validate</phase>
  170. <goals>
  171. <goal>unpack</goal>
  172. </goals>
  173. <configuration>
  174. <artifactItems>
  175. <artifactItem>
  176. <groupId>org.webjars.bower</groupId>
  177. <artifactId>open-iconic</artifactId>
  178. </artifactItem>
  179. </artifactItems>
  180. </configuration>
  181. </execution>
  182. </executions>
  183. </plugin>
  184. </plugins>
  185. <pluginManagement>
  186. <plugins>
  187. <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
  188. <plugin>
  189. <groupId>org.eclipse.m2e</groupId>
  190. <artifactId>lifecycle-mapping</artifactId>
  191. <version>1.0.0</version>
  192. <configuration>
  193. <lifecycleMappingMetadata>
  194. <pluginExecutions>
  195. <pluginExecution>
  196. <pluginExecutionFilter>
  197. <groupId>org.apache.karaf.tooling</groupId>
  198. <artifactId>karaf-maven-plugin</artifactId>
  199. <versionRange>[4.4.3,)</versionRange>
  200. <goals>
  201. <goal>features-generate-descriptor</goal>
  202. </goals>
  203. </pluginExecutionFilter>
  204. <action>
  205. <ignore></ignore>
  206. </action>
  207. </pluginExecution>
  208. <pluginExecution>
  209. <pluginExecutionFilter>
  210. <groupId>org.apache.maven.plugins</groupId>
  211. <artifactId>maven-dependency-plugin</artifactId>
  212. <versionRange>[2.8,)</versionRange>
  213. <goals>
  214. <goal>unpack</goal>
  215. </goals>
  216. </pluginExecutionFilter>
  217. <action>
  218. <ignore></ignore>
  219. </action>
  220. </pluginExecution>
  221. </pluginExecutions>
  222. </lifecycleMappingMetadata>
  223. </configuration>
  224. </plugin>
  225. </plugins>
  226. </pluginManagement>
  227. </build>
  228. </project>