pom.xml 7.3 KB

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