pom.xml 9.1 KB

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