pom.xml 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  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.db.liquibase.test</artifactId>
  21. <name>Oldalbum database with dummy data</name>
  22. <properties>
  23. <karaf-feature-name>oldalbum-db-liquibase-test</karaf-feature-name>
  24. </properties>
  25. <dependencies>
  26. <dependency>
  27. <groupId>no.priv.bang.oldalbum</groupId>
  28. <artifactId>oldalbum.db.liquibase</artifactId>
  29. <version>${project.version}</version>
  30. <scope>provided</scope>
  31. </dependency>
  32. <dependency>
  33. <groupId>no.priv.bang.oldalbum</groupId>
  34. <artifactId>oldalbum.db.liquibase</artifactId>
  35. <version>${project.version}</version>
  36. <type>xml</type>
  37. <classifier>features</classifier>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.junit.jupiter</groupId>
  41. <artifactId>junit-jupiter-api</artifactId>
  42. <scope>test</scope>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.junit.jupiter</groupId>
  46. <artifactId>junit-jupiter-engine</artifactId>
  47. <scope>test</scope>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.assertj</groupId>
  51. <artifactId>assertj-core</artifactId>
  52. <scope>test</scope>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.mockito</groupId>
  56. <artifactId>mockito-core</artifactId>
  57. <scope>test</scope>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.osgi</groupId>
  61. <artifactId>osgi.core</artifactId>
  62. <scope>provided</scope>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.osgi</groupId>
  66. <artifactId>org.osgi.service.component.annotations</artifactId>
  67. <scope>provided</scope>
  68. </dependency>
  69. <dependency>
  70. <groupId>no.priv.bang.osgi.service.adapters</groupId>
  71. <artifactId>adapters.logservice</artifactId>
  72. <scope>provided</scope>
  73. </dependency>
  74. <dependency>
  75. <groupId>no.priv.bang.osgi.service.adapters</groupId>
  76. <artifactId>adapters.logservice</artifactId>
  77. <type>xml</type>
  78. <classifier>features</classifier>
  79. </dependency>
  80. <dependency>
  81. <groupId>no.priv.bang.osgi.service.adapters</groupId>
  82. <artifactId>service-mocks</artifactId>
  83. <scope>test</scope>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.osgi</groupId>
  87. <artifactId>org.osgi.service.jdbc</artifactId>
  88. <scope>test</scope>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.ops4j.pax.jdbc</groupId>
  92. <artifactId>pax-jdbc</artifactId>
  93. <scope>test</scope>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.ops4j.pax.jdbc</groupId>
  97. <artifactId>pax-jdbc-config</artifactId>
  98. <scope>provided</scope>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.ops4j.pax.jdbc</groupId>
  102. <artifactId>pax-jdbc-derby</artifactId>
  103. <scope>test</scope>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.apache.derby</groupId>
  107. <artifactId>derby</artifactId>
  108. <scope>test</scope>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.liquibase</groupId>
  112. <artifactId>liquibase-core</artifactId>
  113. <scope>provided</scope>
  114. </dependency>
  115. <dependency>
  116. <groupId>no.priv.bang.karaf</groupId>
  117. <artifactId>karaf.liquibase.runner</artifactId>
  118. <scope>provided</scope>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.apache.shiro</groupId>
  122. <artifactId>shiro-core</artifactId>
  123. <scope>test</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. <configuration>
  148. <filesets>
  149. <fileset>
  150. <directory>.</directory>
  151. <includes>
  152. <include>**/*.log</include>
  153. </includes>
  154. </fileset>
  155. </filesets>
  156. </configuration>
  157. </plugin>
  158. <plugin>
  159. <groupId>org.apache.maven.plugins</groupId>
  160. <artifactId>maven-dependency-plugin</artifactId>
  161. <executions>
  162. <execution>
  163. <id>copy-liquibase-xsd</id>
  164. <phase>validate</phase>
  165. <goals>
  166. <goal>unpack</goal>
  167. </goals>
  168. <configuration>
  169. <artifactItems>
  170. <artifactItem>
  171. <groupId>org.liquibase</groupId>
  172. <artifactId>liquibase-core</artifactId>
  173. </artifactItem>
  174. </artifactItems>
  175. <includes>**/dbchangelog-3.5.xsd</includes>
  176. </configuration>
  177. </execution>
  178. </executions>
  179. </plugin>
  180. </plugins>
  181. <pluginManagement>
  182. <plugins>
  183. <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
  184. <plugin>
  185. <groupId>org.eclipse.m2e</groupId>
  186. <artifactId>lifecycle-mapping</artifactId>
  187. <version>1.0.0</version>
  188. <configuration>
  189. <lifecycleMappingMetadata>
  190. <pluginExecutions>
  191. <pluginExecution>
  192. <pluginExecutionFilter>
  193. <groupId>org.apache.karaf.tooling</groupId>
  194. <artifactId>karaf-maven-plugin</artifactId>
  195. <versionRange>[4.4.3,)</versionRange>
  196. <goals>
  197. <goal>features-generate-descriptor</goal>
  198. </goals>
  199. </pluginExecutionFilter>
  200. <action>
  201. <ignore />
  202. </action>
  203. </pluginExecution>
  204. <pluginExecution>
  205. <pluginExecutionFilter>
  206. <groupId>org.apache.maven.plugins</groupId>
  207. <artifactId>maven-dependency-plugin</artifactId>
  208. <versionRange>[2.8,)</versionRange>
  209. <goals>
  210. <goal>unpack</goal>
  211. </goals>
  212. </pluginExecutionFilter>
  213. <action>
  214. <ignore />
  215. </action>
  216. </pluginExecution>
  217. </pluginExecutions>
  218. </lifecycleMappingMetadata>
  219. </configuration>
  220. </plugin>
  221. </plugins>
  222. </pluginManagement>
  223. </build>
  224. </project>