pom.xml 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Copyright 2019-2022 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>1.1.16</version>
  19. </parent>
  20. <groupId>no.priv.bang.servlet</groupId>
  21. <artifactId>servlet-parent</artifactId>
  22. <version>1.6.3</version>
  23. <packaging>pom</packaging>
  24. <name>Servlet common code</name>
  25. <description>Various servets and filters</description>
  26. <modules>
  27. <module>servlet</module>
  28. <module>jacoco-coverage-report</module>
  29. <module>servlet-bom</module>
  30. </modules>
  31. <properties>
  32. <!-- Note: remember to manually update this property when upgrading adapters, because this project doesn't inherit bang-app-pom -->
  33. <service-adapters.version>1.2.0</service-adapters.version>
  34. <sonar.coverage.jacoco.xmlReportPaths>${project.basedir}/../../jacoco-coverage-report/target/site/jacoco-aggregate/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
  35. </properties>
  36. <build>
  37. <plugins>
  38. <plugin>
  39. <groupId>org.apache.maven.plugins</groupId>
  40. <artifactId>maven-source-plugin</artifactId>
  41. <executions>
  42. <execution>
  43. <id>attach-sources</id>
  44. <goals>
  45. <goal>jar</goal>
  46. </goals>
  47. </execution>
  48. </executions>
  49. </plugin>
  50. <plugin>
  51. <groupId>org.apache.maven.plugins</groupId>
  52. <artifactId>maven-javadoc-plugin</artifactId>
  53. <configuration>
  54. <source>8</source>
  55. <show>private</show>
  56. </configuration>
  57. <executions>
  58. <execution>
  59. <id>attach-javadocs</id>
  60. <goals>
  61. <goal>jar</goal>
  62. </goals>
  63. </execution>
  64. <execution>
  65. <id>aggregate-javadocs</id>
  66. <goals>
  67. <goal>aggregate-jar</goal>
  68. </goals>
  69. <phase>prepare-package</phase>
  70. <configuration>
  71. </configuration>
  72. </execution>
  73. </executions>
  74. </plugin>
  75. <plugin>
  76. <groupId>org.apache.maven.plugins</groupId>
  77. <artifactId>maven-release-plugin</artifactId>
  78. <configuration>
  79. <releaseProfiles>release-sign-artifact</releaseProfiles>
  80. <tagNameFormat>servlet-@{project.version}</tagNameFormat>
  81. </configuration>
  82. </plugin>
  83. <plugin>
  84. <groupId>org.sonatype.plugins</groupId>
  85. <artifactId>nexus-staging-maven-plugin</artifactId>
  86. </plugin>
  87. </plugins>
  88. <extensions>
  89. <extension>
  90. <groupId>org.apache.maven.wagon</groupId>
  91. <artifactId>wagon-ftp</artifactId>
  92. <version>1.0-beta-6</version>
  93. </extension>
  94. </extensions>
  95. </build>
  96. <distributionManagement>
  97. <snapshotRepository>
  98. <id>ossrh</id>
  99. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  100. </snapshotRepository>
  101. <repository>
  102. <id>ossrh</id>
  103. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  104. </repository>
  105. </distributionManagement>
  106. <licenses>
  107. <license>
  108. <name>Apache License version 2</name>
  109. <url>http://www.apache.org/licenses/LICENSE-2.0</url>
  110. </license>
  111. </licenses>
  112. <developers>
  113. <developer>
  114. <name>Steinar Bang</name>
  115. <email>sb@dod.no</email>
  116. <url>https://steinar.bang.priv.no/</url>
  117. <organization>steinarb-github</organization>
  118. <organizationUrl>https://github.com/steinarb</organizationUrl>
  119. </developer>
  120. </developers>
  121. <scm>
  122. <url>https://github.com/steinarb/servlet</url>
  123. <connection>scm:git:https://github.com/steinarb/servlet.git</connection>
  124. <tag>servlet-1.6.3</tag>
  125. </scm>
  126. <issueManagement>
  127. <url>https://github.com/steinarb/servlet/issues</url>
  128. <system>Github issue tracker</system>
  129. </issueManagement>
  130. <ciManagement>
  131. <url>https://travis-ci.org/steinarb/servlet</url>
  132. <system>travis-ci</system>
  133. </ciManagement>
  134. <url>http://steinarb.github.io/servlet/</url>
  135. <profiles>
  136. <profile>
  137. <id>release-sign-artifact</id>
  138. <build>
  139. <plugins>
  140. <plugin>
  141. <groupId>org.apache.maven.plugins</groupId>
  142. <artifactId>maven-gpg-plugin</artifactId>
  143. <version>1.6</version>
  144. <executions>
  145. <execution>
  146. <id>sign-artifacts</id>
  147. <phase>verify</phase>
  148. <goals>
  149. <goal>sign</goal>
  150. </goals>
  151. <configuration>
  152. <gpgArguments>
  153. <arg>--pinentry-mode</arg>
  154. <arg>loopback</arg>
  155. </gpgArguments>
  156. </configuration>
  157. </execution>
  158. </executions>
  159. </plugin>
  160. </plugins>
  161. </build>
  162. </profile>
  163. </profiles>
  164. </project>