pom.xml 12 KB

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