pom.xml 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Copyright 2019-2024 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" BASIS, -->
  10. <!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -->
  11. <!-- See the License for the specific language governing permissions and limitations -->
  12. <!-- under the License. -->
  13. <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">
  14. <modelVersion>4.0.0</modelVersion>
  15. <parent>
  16. <groupId>no.priv.bang.pom</groupId>
  17. <artifactId>bang-pom</artifactId>
  18. <version>2.0.9</version>
  19. </parent>
  20. <groupId>no.priv.bang.jdbc</groupId>
  21. <artifactId>jdbc-parent</artifactId>
  22. <version>1.2.1-SNAPSHOT</version>
  23. <packaging>pom</packaging>
  24. <name>JDBC utilities</name>
  25. <description>Common code for JDBC</description>
  26. <modules>
  27. <module>jdbc</module>
  28. <module>jacoco-coverage-report</module>
  29. <module>jdbc-bom</module>
  30. </modules>
  31. <properties>
  32. <sonar.coverage.jacoco.xmlReportPaths>${project.basedir}/../../jacoco-coverage-report/target/site/jacoco-aggregate/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
  33. </properties>
  34. <build>
  35. <plugins>
  36. <plugin>
  37. <groupId>org.apache.maven.plugins</groupId>
  38. <artifactId>maven-source-plugin</artifactId>
  39. <executions>
  40. <execution>
  41. <id>attach-sources</id>
  42. <goals>
  43. <goal>jar</goal>
  44. </goals>
  45. </execution>
  46. </executions>
  47. </plugin>
  48. <plugin>
  49. <groupId>org.apache.maven.plugins</groupId>
  50. <artifactId>maven-javadoc-plugin</artifactId>
  51. <configuration>
  52. <source>17</source>
  53. <show>private</show>
  54. </configuration>
  55. <executions>
  56. <execution>
  57. <id>attach-javadocs</id>
  58. <goals>
  59. <goal>jar</goal>
  60. </goals>
  61. </execution>
  62. <execution>
  63. <id>aggregate-javadocs</id>
  64. <goals>
  65. <goal>aggregate-no-fork</goal>
  66. </goals>
  67. <phase>prepare-package</phase>
  68. <inherited>false</inherited>
  69. </execution>
  70. </executions>
  71. </plugin>
  72. <plugin>
  73. <groupId>org.apache.maven.plugins</groupId>
  74. <artifactId>maven-jar-plugin</artifactId>
  75. <version>3.2.0</version>
  76. <executions>
  77. <execution>
  78. <id>attach-aggregate-javadoc</id>
  79. <goals>
  80. <goal>jar</goal>
  81. </goals>
  82. <phase>package</phase>
  83. <inherited>false</inherited>
  84. <configuration>
  85. <classesDirectory>${project.build.directory}/site/apidocs</classesDirectory>
  86. <classifier>javadoc</classifier>
  87. </configuration>
  88. </execution>
  89. </executions>
  90. </plugin>
  91. <plugin>
  92. <groupId>org.apache.maven.plugins</groupId>
  93. <artifactId>maven-release-plugin</artifactId>
  94. <configuration>
  95. <releaseProfiles>release-sign-artifact</releaseProfiles>
  96. <tagNameFormat>jdbc-@{project.version}</tagNameFormat>
  97. </configuration>
  98. </plugin>
  99. <plugin>
  100. <groupId>org.sonatype.plugins</groupId>
  101. <artifactId>nexus-staging-maven-plugin</artifactId>
  102. </plugin>
  103. </plugins>
  104. <extensions>
  105. <extension>
  106. <groupId>org.apache.maven.wagon</groupId>
  107. <artifactId>wagon-ftp</artifactId>
  108. <version>1.0-beta-6</version>
  109. </extension>
  110. </extensions>
  111. </build>
  112. <distributionManagement>
  113. <snapshotRepository>
  114. <id>ossrh</id>
  115. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  116. </snapshotRepository>
  117. <repository>
  118. <id>ossrh</id>
  119. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  120. </repository>
  121. </distributionManagement>
  122. <licenses>
  123. <license>
  124. <name>Apache License version 2</name>
  125. <url>http://www.apache.org/licenses/LICENSE-2.0</url>
  126. </license>
  127. </licenses>
  128. <developers>
  129. <developer>
  130. <name>Steinar Bang</name>
  131. <email>sb@dod.no</email>
  132. <url>https://steinar.bang.priv.no/</url>
  133. <organization>steinarb-github</organization>
  134. <organizationUrl>https://github.com/steinarb</organizationUrl>
  135. </developer>
  136. </developers>
  137. <scm>
  138. <url>https://github.com/steinarb/jdbc</url>
  139. <connection>scm:git:https://github.com/steinarb/jdbc.git</connection>
  140. <tag>HEAD</tag>
  141. </scm>
  142. <issueManagement>
  143. <url>https://github.com/steinarb/jdbc/issues</url>
  144. <system>Github issue tracker</system>
  145. </issueManagement>
  146. <ciManagement>
  147. <url>https://travis-ci.org/steinarb/jdbc</url>
  148. <system>travis-ci</system>
  149. </ciManagement>
  150. <url>http://steinarb.github.io/jdbc/</url>
  151. <profiles>
  152. <profile>
  153. <id>release-sign-artifact</id>
  154. <build>
  155. <plugins>
  156. <plugin>
  157. <groupId>org.apache.maven.plugins</groupId>
  158. <artifactId>maven-gpg-plugin</artifactId>
  159. <version>1.6</version>
  160. <executions>
  161. <execution>
  162. <id>sign-artifacts</id>
  163. <phase>verify</phase>
  164. <goals>
  165. <goal>sign</goal>
  166. </goals>
  167. <configuration>
  168. <gpgArguments>
  169. <arg>--pinentry-mode</arg>
  170. <arg>loopback</arg>
  171. </gpgArguments>
  172. </configuration>
  173. </execution>
  174. </executions>
  175. </plugin>
  176. </plugins>
  177. </build>
  178. </profile>
  179. </profiles>
  180. </project>