pom.xml 10.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  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-2024 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.5-SNAPSHOT</version>
  19. </parent>
  20. <artifactId>oldalbum.web.security</artifactId>
  21. <name>Oldalbum web whiteboard web context</name>
  22. <properties>
  23. <karaf-feature-name>oldalbum-web-security</karaf-feature-name>
  24. </properties>
  25. <dependencies>
  26. <dependency>
  27. <groupId>org.osgi</groupId>
  28. <artifactId>osgi.core</artifactId>
  29. <scope>provided</scope>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.osgi</groupId>
  33. <artifactId>org.osgi.service.component.annotations</artifactId>
  34. <scope>provided</scope>
  35. </dependency>
  36. <dependency>
  37. <groupId>no.priv.bang.osgi.service.adapters</groupId>
  38. <artifactId>adapters.logservice</artifactId>
  39. <scope>provided</scope>
  40. </dependency>
  41. <dependency>
  42. <groupId>no.priv.bang.osgi.service.adapters</groupId>
  43. <artifactId>adapters.logservice</artifactId>
  44. <type>xml</type>
  45. <classifier>features</classifier>
  46. </dependency>
  47. <dependency>
  48. <artifactId>authservice.definitions</artifactId>
  49. <groupId>no.priv.bang.authservice</groupId>
  50. <type>xml</type>
  51. <classifier>features</classifier>
  52. </dependency>
  53. <dependency>
  54. <groupId>no.priv.bang.oldalbum</groupId>
  55. <artifactId>oldalbum.services</artifactId>
  56. <version>${project.version}</version>
  57. <scope>provided</scope>
  58. </dependency>
  59. <dependency>
  60. <groupId>no.priv.bang.oldalbum</groupId>
  61. <artifactId>oldalbum.backend</artifactId>
  62. <version>${project.version}</version>
  63. <type>xml</type>
  64. <classifier>features</classifier>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.apache.shiro</groupId>
  68. <artifactId>shiro-core</artifactId>
  69. <scope>provided</scope>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.apache.shiro</groupId>
  73. <artifactId>shiro-web</artifactId>
  74. <scope>provided</scope>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.glassfish.jersey.inject</groupId>
  78. <artifactId>jersey-hk2</artifactId>
  79. <scope>provided</scope>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.glassfish.jersey.containers</groupId>
  83. <artifactId>jersey-container-servlet</artifactId>
  84. <scope>provided</scope>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.glassfish.jersey.media</groupId>
  88. <artifactId>jersey-media-json-jackson</artifactId>
  89. <scope>provided</scope>
  90. </dependency>
  91. <dependency>
  92. <groupId>no.priv.bang.servlet</groupId>
  93. <artifactId>servlet.jersey</artifactId>
  94. <type>xml</type>
  95. <classifier>features</classifier>
  96. </dependency>
  97. <dependency>
  98. <groupId>no.priv.bang.servlet</groupId>
  99. <artifactId>servlet.jersey</artifactId>
  100. <scope>provided</scope>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.osgi</groupId>
  104. <artifactId>osgi.core</artifactId>
  105. <scope>provided</scope>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.osgi</groupId>
  109. <artifactId>org.osgi.service.component.annotations</artifactId>
  110. <scope>provided</scope>
  111. </dependency>
  112. <dependency>
  113. <groupId>no.priv.bang.osgi.service.adapters</groupId>
  114. <artifactId>adapters.logservice</artifactId>
  115. <scope>provided</scope>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.ops4j.pax.web</groupId>
  119. <artifactId>pax-web-api</artifactId>
  120. <scope>provided</scope>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.ops4j.pax.web</groupId>
  124. <artifactId>pax-web-runtime</artifactId>
  125. <scope>provided</scope>
  126. </dependency>
  127. <dependency>
  128. <groupId>org.ops4j.pax.web</groupId>
  129. <artifactId>pax-web-extender-whiteboard</artifactId>
  130. <scope>provided</scope>
  131. </dependency>
  132. <dependency>
  133. <groupId>javax.servlet</groupId>
  134. <artifactId>javax.servlet-api</artifactId>
  135. <scope>provided</scope>
  136. </dependency>
  137. <dependency>
  138. <groupId>no.priv.bang.oldalbum</groupId>
  139. <artifactId>oldalbum.backend</artifactId>
  140. <version>${project.version}</version>
  141. <scope>test</scope>
  142. </dependency>
  143. <dependency>
  144. <groupId>no.priv.bang.oldalbum</groupId>
  145. <artifactId>oldalbum.testutilities</artifactId>
  146. <version>${project.version}</version>
  147. <scope>test</scope>
  148. </dependency>
  149. <dependency>
  150. <groupId>org.apache.commons</groupId>
  151. <artifactId>commons-lang3</artifactId>
  152. <scope>test</scope>
  153. </dependency>
  154. <dependency>
  155. <groupId>org.junit.jupiter</groupId>
  156. <artifactId>junit-jupiter-api</artifactId>
  157. <scope>test</scope>
  158. </dependency>
  159. <dependency>
  160. <groupId>org.junit.jupiter</groupId>
  161. <artifactId>junit-jupiter-engine</artifactId>
  162. <scope>test</scope>
  163. </dependency>
  164. <dependency>
  165. <groupId>org.assertj</groupId>
  166. <artifactId>assertj-core</artifactId>
  167. <scope>test</scope>
  168. </dependency>
  169. <dependency>
  170. <groupId>org.mockito</groupId>
  171. <artifactId>mockito-core</artifactId>
  172. <scope>test</scope>
  173. </dependency>
  174. <dependency>
  175. <groupId>no.priv.bang.osgi.service.adapters</groupId>
  176. <artifactId>service-mocks</artifactId>
  177. <scope>test</scope>
  178. </dependency>
  179. <dependency>
  180. <groupId>com.mockrunner</groupId>
  181. <artifactId>mockrunner-servlet</artifactId>
  182. <scope>test</scope>
  183. </dependency>
  184. <dependency>
  185. <groupId>com.fasterxml.jackson.core</groupId>
  186. <artifactId>jackson-databind</artifactId>
  187. <scope>test</scope>
  188. </dependency>
  189. <dependency>
  190. <groupId>org.slf4j</groupId>
  191. <artifactId>slf4j-simple</artifactId>
  192. <scope>test</scope>
  193. </dependency>
  194. </dependencies>
  195. <build>
  196. <plugins>
  197. <plugin>
  198. <groupId>org.apache.felix</groupId>
  199. <artifactId>maven-bundle-plugin</artifactId>
  200. <configuration>
  201. <instructions>
  202. <Import-Package>*,org.apache.shiro.web.filter.authc</Import-Package> <!-- import of package containing PassThruAuthenticationFilter for the Shiro INI parser -->
  203. </instructions>
  204. </configuration>
  205. </plugin>
  206. <plugin>
  207. <groupId>org.apache.karaf.tooling</groupId>
  208. <artifactId>karaf-maven-plugin</artifactId>
  209. </plugin>
  210. </plugins>
  211. <pluginManagement>
  212. <plugins>
  213. <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
  214. <plugin>
  215. <groupId>org.eclipse.m2e</groupId>
  216. <artifactId>lifecycle-mapping</artifactId>
  217. <version>1.0.0</version>
  218. <configuration>
  219. <lifecycleMappingMetadata>
  220. <pluginExecutions>
  221. <pluginExecution>
  222. <pluginExecutionFilter>
  223. <groupId>org.apache.karaf.tooling</groupId>
  224. <artifactId>karaf-maven-plugin</artifactId>
  225. <versionRange>[4.4.3,)</versionRange>
  226. <goals>
  227. <goal>features-generate-descriptor</goal>
  228. </goals>
  229. </pluginExecutionFilter>
  230. <action>
  231. <ignore />
  232. </action>
  233. </pluginExecution>
  234. </pluginExecutions>
  235. </lifecycleMappingMetadata>
  236. </configuration>
  237. </plugin>
  238. </plugins>
  239. </pluginManagement>
  240. </build>
  241. </project>