pom.xml 8.5 KB

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