pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  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.3-SNAPSHOT</version>
  19. </parent>
  20. <artifactId>oldalbum.web.frontend</artifactId>
  21. <name>Oldalbum web frontend</name>
  22. <properties>
  23. <karaf-feature-name>oldalbum-web-frontend</karaf-feature-name>
  24. </properties>
  25. <dependencies>
  26. <dependency>
  27. <groupId>org.jsoup</groupId>
  28. <artifactId>jsoup</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>no.priv.bang.oldalbum</groupId>
  32. <artifactId>oldalbum.web.api</artifactId>
  33. <type>xml</type>
  34. <classifier>features</classifier>
  35. </dependency>
  36. <dependency>
  37. <groupId>no.priv.bang.oldalbum</groupId>
  38. <artifactId>oldalbum.services</artifactId>
  39. <scope>provided</scope>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.ops4j.pax.web</groupId>
  43. <artifactId>pax-web-api</artifactId>
  44. <scope>provided</scope>
  45. </dependency>
  46. <dependency>
  47. <groupId>javax.servlet</groupId>
  48. <artifactId>javax.servlet-api</artifactId>
  49. <scope>provided</scope>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.ops4j.pax.web</groupId>
  53. <artifactId>pax-web-extender-whiteboard</artifactId>
  54. <scope>provided</scope>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.apache.shiro</groupId>
  58. <artifactId>shiro-core</artifactId>
  59. <scope>provided</scope>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.apache.shiro</groupId>
  63. <artifactId>shiro-web</artifactId>
  64. <scope>provided</scope>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.osgi</groupId>
  68. <artifactId>osgi.core</artifactId>
  69. <scope>provided</scope>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.osgi</groupId>
  73. <artifactId>org.osgi.service.component.annotations</artifactId>
  74. <scope>provided</scope>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.osgi</groupId>
  78. <artifactId>org.osgi.service.log</artifactId>
  79. <scope>provided</scope>
  80. </dependency>
  81. <dependency>
  82. <groupId>no.priv.bang.osgi.service.adapters</groupId>
  83. <artifactId>adapters.logservice</artifactId>
  84. <scope>provided</scope>
  85. </dependency>
  86. <dependency>
  87. <groupId>no.priv.bang.osgi.service.adapters</groupId>
  88. <artifactId>adapters.logservice</artifactId>
  89. <type>xml</type>
  90. <classifier>features</classifier>
  91. </dependency>
  92. <dependency>
  93. <groupId>no.priv.bang.servlet</groupId>
  94. <artifactId>servlet.frontend</artifactId>
  95. <scope>provided</scope>
  96. </dependency>
  97. <dependency>
  98. <groupId>no.priv.bang.servlet</groupId>
  99. <artifactId>servlet.frontend</artifactId>
  100. <type>xml</type>
  101. <classifier>features</classifier>
  102. </dependency>
  103. <dependency>
  104. <groupId>no.priv.bang.servlet</groupId>
  105. <artifactId>servlet.jersey</artifactId>
  106. <scope>provided</scope>
  107. </dependency>
  108. <dependency>
  109. <groupId>no.priv.bang.servlet</groupId>
  110. <artifactId>servlet.jersey</artifactId>
  111. <type>xml</type>
  112. <classifier>features</classifier>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.glassfish.jersey.inject</groupId>
  116. <artifactId>jersey-hk2</artifactId>
  117. <scope>provided</scope>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.glassfish.jersey.containers</groupId>
  121. <artifactId>jersey-container-servlet</artifactId>
  122. <scope>provided</scope>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.glassfish.jersey.core</groupId>
  126. <artifactId>jersey-common</artifactId>
  127. <scope>provided</scope>
  128. </dependency>
  129. <dependency>
  130. <groupId>org.junit.jupiter</groupId>
  131. <artifactId>junit-jupiter-api</artifactId>
  132. <scope>test</scope>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.junit.jupiter</groupId>
  136. <artifactId>junit-jupiter-engine</artifactId>
  137. <scope>test</scope>
  138. </dependency>
  139. <dependency>
  140. <groupId>org.assertj</groupId>
  141. <artifactId>assertj-core</artifactId>
  142. <scope>test</scope>
  143. </dependency>
  144. <dependency>
  145. <groupId>org.mockito</groupId>
  146. <artifactId>mockito-core</artifactId>
  147. <scope>test</scope>
  148. </dependency>
  149. <dependency>
  150. <groupId>com.mockrunner</groupId>
  151. <artifactId>mockrunner-servlet</artifactId>
  152. <scope>test</scope>
  153. </dependency>
  154. <dependency>
  155. <groupId>no.priv.bang.osgi.service.adapters</groupId>
  156. <artifactId>service-mocks</artifactId>
  157. <scope>test</scope>
  158. </dependency>
  159. <dependency>
  160. <groupId>no.priv.bang.oldalbum</groupId>
  161. <artifactId>oldalbum.testutilities</artifactId>
  162. <scope>test</scope>
  163. </dependency>
  164. <dependency>
  165. <groupId>xerces</groupId>
  166. <artifactId>xercesImpl</artifactId>
  167. <version>2.12.2</version>
  168. <scope>test</scope>
  169. </dependency>
  170. </dependencies>
  171. <build>
  172. <plugins>
  173. <plugin>
  174. <groupId>com.github.eirslett</groupId>
  175. <artifactId>frontend-maven-plugin</artifactId>
  176. </plugin>
  177. <plugin>
  178. <groupId>org.apache.felix</groupId>
  179. <artifactId>maven-bundle-plugin</artifactId>
  180. <extensions>true</extensions>
  181. <configuration>
  182. <instructions>
  183. <Export-Package>!*</Export-Package>
  184. <Include-Resource>
  185. /=target/classes/,
  186. /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,
  187. /open-iconic/font/fonts/open-iconic.woff=target/dependency/META-INF/resources/webjars/open-iconic/${open-iconic.version}/font/fonts/open-iconic.woff
  188. </Include-Resource>
  189. <_removeheaders>
  190. Include-Resource,
  191. Private-Package,
  192. Embed-Dependency,
  193. Embed-Transitive
  194. </_removeheaders>
  195. </instructions>
  196. </configuration>
  197. <executions>
  198. <execution>
  199. <id>bundle</id>
  200. <goals>
  201. <goal>bundle</goal>
  202. </goals>
  203. </execution>
  204. </executions>
  205. </plugin>
  206. <plugin>
  207. <groupId>org.apache.karaf.tooling</groupId>
  208. <artifactId>karaf-maven-plugin</artifactId>
  209. <configuration>
  210. <primaryFeatureName>${karaf-feature-name}</primaryFeatureName>
  211. <includeTransitiveDependency>true</includeTransitiveDependency>
  212. </configuration>
  213. </plugin>
  214. <plugin>
  215. <groupId>org.apache.maven.plugins</groupId>
  216. <artifactId>maven-clean-plugin</artifactId>
  217. </plugin>
  218. <plugin>
  219. <groupId>org.apache.maven.plugins</groupId>
  220. <artifactId>maven-dependency-plugin</artifactId>
  221. <executions>
  222. <execution>
  223. <id>unpack</id>
  224. <phase>validate</phase>
  225. <goals>
  226. <goal>unpack</goal>
  227. </goals>
  228. <configuration>
  229. <artifactItems>
  230. <artifactItem>
  231. <groupId>org.webjars.bower</groupId>
  232. <artifactId>open-iconic</artifactId>
  233. </artifactItem>
  234. </artifactItems>
  235. </configuration>
  236. </execution>
  237. </executions>
  238. </plugin>
  239. </plugins>
  240. <pluginManagement>
  241. <plugins>
  242. <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
  243. <plugin>
  244. <groupId>org.eclipse.m2e</groupId>
  245. <artifactId>lifecycle-mapping</artifactId>
  246. <version>1.0.0</version>
  247. <configuration>
  248. <lifecycleMappingMetadata>
  249. <pluginExecutions>
  250. <pluginExecution>
  251. <pluginExecutionFilter>
  252. <groupId>org.apache.karaf.tooling</groupId>
  253. <artifactId>karaf-maven-plugin</artifactId>
  254. <versionRange>[4.4.3,)</versionRange>
  255. <goals>
  256. <goal>features-generate-descriptor</goal>
  257. </goals>
  258. </pluginExecutionFilter>
  259. <action>
  260. <ignore />
  261. </action>
  262. </pluginExecution>
  263. <pluginExecution>
  264. <pluginExecutionFilter>
  265. <groupId>org.apache.maven.plugins</groupId>
  266. <artifactId>maven-dependency-plugin</artifactId>
  267. <versionRange>[2.8,)</versionRange>
  268. <goals>
  269. <goal>unpack</goal>
  270. </goals>
  271. </pluginExecutionFilter>
  272. <action>
  273. <ignore />
  274. </action>
  275. </pluginExecution>
  276. </pluginExecutions>
  277. </lifecycleMappingMetadata>
  278. </configuration>
  279. </plugin>
  280. </plugins>
  281. </pluginManagement>
  282. </build>
  283. </project>