pom.xml 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  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" xml:space="preserve">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>no.priv.bang.karaf</groupId>
  5. <artifactId>postgresql-jdbc-karaf</artifactId>
  6. <version>1.0.1</version>
  7. <packaging>pom</packaging>
  8. <name>PostgreSQL JDBC driver karaf feature</name>
  9. <description>An apache karaf feature repository containing a feature that will load and start the PostgreSQL JDBC driver as well as its runtime dependencies</description>
  10. <properties>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <postgresql.version>42.2.5</postgresql.version>
  13. <javax.transaction.version>1.2</javax.transaction.version>
  14. <cdi.api.version>2.0.SP1</cdi.api.version>
  15. <el.api.version>3.0.0</el.api.version>
  16. <javax.inject.version>1_3</javax.inject.version>
  17. <interceptor.api.version>1.2.2</interceptor.api.version>
  18. </properties>
  19. <build>
  20. <plugins>
  21. <plugin>
  22. <artifactId>maven-resources-plugin</artifactId>
  23. <version>3.1.0</version>
  24. <executions>
  25. <execution>
  26. <id>filter-resources</id>
  27. <phase>validate</phase>
  28. <goals>
  29. <goal>resources</goal>
  30. </goals>
  31. <configuration>
  32. <resources>
  33. <resource>
  34. <directory>src/main/filtered-resources</directory>
  35. <filtering>true</filtering>
  36. </resource>
  37. </resources>
  38. </configuration>
  39. </execution>
  40. </executions>
  41. </plugin>
  42. <plugin>
  43. <groupId>org.codehaus.mojo</groupId>
  44. <artifactId>build-helper-maven-plugin</artifactId>
  45. <version>3.0.0</version>
  46. <inherited>false</inherited>
  47. <executions>
  48. <execution>
  49. <id>attach-karaf-feature</id>
  50. <phase>package</phase>
  51. <goals>
  52. <goal>attach-artifact</goal>
  53. </goals>
  54. <configuration>
  55. <artifacts>
  56. <artifact>
  57. <file>target/classes/feature.xml</file>
  58. <type>xml</type>
  59. <classifier>features</classifier>
  60. </artifact>
  61. </artifacts>
  62. </configuration>
  63. </execution>
  64. </executions>
  65. </plugin>
  66. <plugin>
  67. <groupId>org.apache.maven.plugins</groupId>
  68. <artifactId>maven-release-plugin</artifactId>
  69. <version>2.5.3</version>
  70. <configuration>
  71. <releaseProfiles>release-sign-artifact</releaseProfiles>
  72. </configuration>
  73. </plugin>
  74. <plugin>
  75. <groupId>org.sonatype.plugins</groupId>
  76. <artifactId>nexus-staging-maven-plugin</artifactId>
  77. <version>1.6.8</version>
  78. <extensions>true</extensions>
  79. <configuration>
  80. <serverId>ossrh</serverId>
  81. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  82. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  83. </configuration>
  84. </plugin>
  85. </plugins>
  86. </build>
  87. <distributionManagement>
  88. <snapshotRepository>
  89. <id>ossrh</id>
  90. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  91. </snapshotRepository>
  92. <repository>
  93. <id>ossrh</id>
  94. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  95. </repository>
  96. </distributionManagement>
  97. <licenses>
  98. <license>
  99. <name>Simplified BSD-2</name>
  100. <url>https://jdbc.postgresql.org/about/license.html</url>
  101. </license>
  102. </licenses>
  103. <developers>
  104. <developer>
  105. <name>Steinar Bang</name>
  106. <email>sb@dod.no</email>
  107. <url>https://steinar.bang.priv.no/</url>
  108. <organization>steinarb-github</organization>
  109. <organizationUrl>https://github.com/steinarb</organizationUrl>
  110. </developer>
  111. </developers>
  112. <scm>
  113. <url>https://github.com/steinarb/postgresql-jdbc-karaf-feature</url>
  114. <connection>scm:git:https://github.com/steinarb/postgresql-jdbc-karaf-feature.git</connection>
  115. <tag>postgresql-jdbc-karaf-1.0.1</tag>
  116. </scm>
  117. <issueManagement>
  118. <url>https://github.com/steinarb/postgresql-jdbc-karaf-feature/issues</url>
  119. <system>Github issue tracker</system>
  120. </issueManagement>
  121. <ciManagement>
  122. <url>https://travis-ci.org/steinarb/postgresql-jdbc-karaf-feature</url>
  123. <system>travis-ci</system>
  124. </ciManagement>
  125. <url>http://steinarb.github.io/postgresql-jdbc-karaf-feature/</url>
  126. <profiles>
  127. <profile>
  128. <id>release-sign-artifact</id>
  129. <build>
  130. <plugins>
  131. <plugin>
  132. <groupId>org.apache.maven.plugins</groupId>
  133. <artifactId>maven-gpg-plugin</artifactId>
  134. <version>1.6</version>
  135. <executions>
  136. <execution>
  137. <id>sign-artifacts</id>
  138. <phase>verify</phase>
  139. <goals>
  140. <goal>sign</goal>
  141. </goals>
  142. <configuration>
  143. <gpgArguments>
  144. <arg>--pinentry-mode</arg>
  145. <arg>loopback</arg>
  146. </gpgArguments>
  147. </configuration>
  148. </execution>
  149. </executions>
  150. </plugin>
  151. </plugins>
  152. </build>
  153. </profile>
  154. </profiles>
  155. </project>