pom.xml 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Copyright 2017-2025 Steinar Bang -->
  3. <!-- -->
  4. <!-- Licensed under the Apache License, Version 2.0 (the "License"); -->
  5. <!-- you may not use this file except in compliance with the License. -->
  6. <!-- You may obtain a copy of the License at -->
  7. <!-- http://www.apache.org/licenses/LICENSE-2.0 -->
  8. <!-- Unless required by applicable law or agreed to in writing, -->
  9. <!-- software distributed under the License is distributed on an "AS IS", -->
  10. <!-- BASIS WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express -->
  11. <!-- or implied. -->
  12. <!-- See the License for the specific language governing permissions and -->
  13. <!-- limitations under the License. -->
  14. <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" xml:space="preserve">
  15. <modelVersion>4.0.0</modelVersion>
  16. <groupId>no.priv.bang.karaf</groupId>
  17. <artifactId>liquibase-karaf-feature</artifactId>
  18. <version>4.31.1-SNAPSHOT</version>
  19. <packaging>pom</packaging>
  20. <name>liquibase-core karaf feature parent</name>
  21. <description>An apache karaf feature for the liquibase RDMBS schema management.</description>
  22. <url>https://github.com/steinarb/liquibase-karaf-feature</url>
  23. <properties>
  24. <liquibase.version>4.31.0</liquibase.version>
  25. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  26. <maven.bundle.plugin.version>5.1.9</maven.bundle.plugin.version>
  27. <karaf.version>4.4.7</karaf.version>
  28. <commons-beanutils.version>1.9.4</commons-beanutils.version>
  29. <!-- versions of dependencies used in integration and unit tests -->
  30. <junit.jupiter.version>5.11.4</junit.jupiter.version>
  31. <mockito.version>5.15.2</mockito.version>
  32. <assertj.version>3.27.3</assertj.version>
  33. <osgi-service-adapters.version>1.2.0</osgi-service-adapters.version>
  34. <pax.jdbc.version>1.5.7</pax.jdbc.version>
  35. <derby.version>10.14.2.0</derby.version>
  36. </properties>
  37. <modules>
  38. <module>liquibase-core-karaf</module>
  39. <module>liquibase-bom</module>
  40. <module>liquibase-libraries</module>
  41. <module>liquibase-integration-test</module>
  42. </modules>
  43. <licenses>
  44. <license>
  45. <name>Apache License - v 2.0</name>
  46. <url>http://www.apache.org/licenses/LICENSE-2.0</url>
  47. <comments>Applies to the files in this maven project</comments>
  48. </license>
  49. </licenses>
  50. <developers>
  51. <developer>
  52. <name>Steinar Bang</name>
  53. <email>sb@dod.no</email>
  54. </developer>
  55. </developers>
  56. <build>
  57. <pluginManagement>
  58. <plugins>
  59. <plugin>
  60. <groupId>org.apache.maven.plugins</groupId>
  61. <artifactId>maven-compiler-plugin</artifactId>
  62. <version>3.12.1</version>
  63. <configuration>
  64. <release>17</release>
  65. </configuration>
  66. </plugin>
  67. <plugin>
  68. <groupId>org.apache.felix</groupId>
  69. <artifactId>maven-bundle-plugin</artifactId>
  70. <version>${maven.bundle.plugin.version}</version>
  71. </plugin>
  72. <plugin>
  73. <groupId>org.apache.karaf.tooling</groupId>
  74. <artifactId>karaf-maven-plugin</artifactId>
  75. <version>${karaf.version}</version>
  76. <extensions>true</extensions>
  77. <configuration>
  78. <startLevel>80</startLevel>
  79. <includeTransitiveDependency>false</includeTransitiveDependency>
  80. <aggregateFeatures>false</aggregateFeatures>
  81. <includeProjectArtifact>true</includeProjectArtifact>
  82. <primaryFeatureName>${karaf-feature-name}</primaryFeatureName>
  83. </configuration>
  84. <executions>
  85. <execution>
  86. <id>generate-features-file</id>
  87. <goals>
  88. <goal>features-generate-descriptor</goal>
  89. </goals>
  90. </execution>
  91. </executions>
  92. </plugin>
  93. <plugin>
  94. <groupId>org.apache.maven.plugins</groupId>
  95. <artifactId>maven-source-plugin</artifactId>
  96. <version>2.4</version>
  97. </plugin>
  98. <plugin>
  99. <groupId>org.apache.maven.plugins</groupId>
  100. <artifactId>maven-javadoc-plugin</artifactId>
  101. <version>3.1.1</version>
  102. </plugin>
  103. <plugin>
  104. <groupId>org.apache.maven.plugins</groupId>
  105. <artifactId>maven-dependency-plugin</artifactId>
  106. <version>3.3.0</version>
  107. </plugin>
  108. <plugin>
  109. <artifactId>maven-clean-plugin</artifactId>
  110. <version>3.1.0</version>
  111. </plugin>
  112. <plugin>
  113. <groupId>org.apache.maven.plugins</groupId>
  114. <artifactId>maven-surefire-plugin</artifactId>
  115. <version>2.22.2</version>
  116. <configuration>
  117. <useSystemClassLoader>false</useSystemClassLoader>
  118. </configuration>
  119. </plugin>
  120. <plugin>
  121. <groupId>org.apache.maven.plugins</groupId>
  122. <artifactId>maven-release-plugin</artifactId>
  123. <version>3.0.0-M5</version>
  124. </plugin>
  125. <plugin>
  126. <groupId>org.sonatype.plugins</groupId>
  127. <artifactId>nexus-staging-maven-plugin</artifactId>
  128. <version>1.6.13</version>
  129. <extensions>true</extensions>
  130. <configuration>
  131. <serverId>ossrh</serverId>
  132. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  133. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  134. </configuration>
  135. </plugin>
  136. </plugins>
  137. </pluginManagement>
  138. <plugins>
  139. <plugin>
  140. <groupId>org.apache.maven.plugins</groupId>
  141. <artifactId>maven-release-plugin</artifactId>
  142. <configuration>
  143. <releaseProfiles>release-sign-artifact</releaseProfiles>
  144. <preparationGoals>clean versions:set-property verify</preparationGoals>
  145. <completionGoals>versions:set-property</completionGoals>
  146. <pushChanges>false</pushChanges>
  147. <localCheckout>true</localCheckout>
  148. </configuration>
  149. </plugin>
  150. <plugin>
  151. <groupId>org.sonatype.plugins</groupId>
  152. <artifactId>nexus-staging-maven-plugin</artifactId>
  153. </plugin>
  154. <plugin>
  155. <groupId>org.codehaus.mojo</groupId>
  156. <artifactId>versions-maven-plugin</artifactId>
  157. <version>2.8.1</version>
  158. <configuration>
  159. <property>bang-bom.version</property>
  160. <newVersion>${project.version}</newVersion>
  161. <generateBackupPoms>false</generateBackupPoms>
  162. </configuration>
  163. </plugin>
  164. </plugins>
  165. </build>
  166. <scm>
  167. <url>https://github.com/steinarb/liquibase-karaf-feature.git</url>
  168. <connection>scm:git:https://github.com/steinarb/liquibase-karaf-feature.git</connection>
  169. <tag>HEAD</tag>
  170. </scm>
  171. <distributionManagement>
  172. <snapshotRepository>
  173. <id>ossrh</id>
  174. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  175. </snapshotRepository>
  176. <repository>
  177. <id>ossrh</id>
  178. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  179. </repository>
  180. </distributionManagement>
  181. <profiles>
  182. <profile>
  183. <id>release-sign-artifact</id>
  184. <build>
  185. <plugins>
  186. <plugin>
  187. <groupId>org.apache.maven.plugins</groupId>
  188. <artifactId>maven-gpg-plugin</artifactId>
  189. <version>1.6</version>
  190. <executions>
  191. <execution>
  192. <id>sign-artifacts</id>
  193. <phase>verify</phase>
  194. <goals>
  195. <goal>sign</goal>
  196. </goals>
  197. <configuration>
  198. <gpgArguments>
  199. <arg>--pinentry-mode</arg>
  200. <arg>loopback</arg>
  201. </gpgArguments>
  202. </configuration>
  203. </execution>
  204. </executions>
  205. </plugin>
  206. </plugins>
  207. </build>
  208. </profile>
  209. </profiles>
  210. </project>