pom.xml 9.0 KB

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