pom.xml 9.4 KB

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