pom.xml 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  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.1.4</version>
  19. </parent>
  20. <groupId>no.priv.bang.servlet</groupId>
  21. <artifactId>servlet-parent</artifactId>
  22. <version>2.0.2-SNAPSHOT</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. <show>private</show>
  58. </configuration>
  59. <executions>
  60. <execution>
  61. <id>attach-javadocs</id>
  62. <goals>
  63. <goal>jar</goal>
  64. </goals>
  65. </execution>
  66. <execution>
  67. <id>aggregate-javadocs</id>
  68. <goals>
  69. <goal>aggregate-jar</goal>
  70. </goals>
  71. <phase>prepare-package</phase>
  72. <configuration>
  73. </configuration>
  74. </execution>
  75. </executions>
  76. </plugin>
  77. <plugin>
  78. <groupId>org.apache.maven.plugins</groupId>
  79. <artifactId>maven-release-plugin</artifactId>
  80. <configuration>
  81. <releaseProfiles>release-sign-artifact</releaseProfiles>
  82. <tagNameFormat>servlet-@{project.version}</tagNameFormat>
  83. </configuration>
  84. </plugin>
  85. <plugin>
  86. <groupId>org.sonatype.plugins</groupId>
  87. <artifactId>nexus-staging-maven-plugin</artifactId>
  88. </plugin>
  89. </plugins>
  90. <extensions>
  91. <extension>
  92. <groupId>org.apache.maven.wagon</groupId>
  93. <artifactId>wagon-ftp</artifactId>
  94. <version>1.0-beta-6</version>
  95. </extension>
  96. </extensions>
  97. </build>
  98. <distributionManagement>
  99. <snapshotRepository>
  100. <id>ossrh</id>
  101. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  102. </snapshotRepository>
  103. <repository>
  104. <id>ossrh</id>
  105. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  106. </repository>
  107. </distributionManagement>
  108. <licenses>
  109. <license>
  110. <name>Apache License version 2</name>
  111. <url>http://www.apache.org/licenses/LICENSE-2.0</url>
  112. </license>
  113. </licenses>
  114. <developers>
  115. <developer>
  116. <name>Steinar Bang</name>
  117. <email>sb@dod.no</email>
  118. <url>https://steinar.bang.priv.no/</url>
  119. <organization>steinarb-github</organization>
  120. <organizationUrl>https://github.com/steinarb</organizationUrl>
  121. </developer>
  122. </developers>
  123. <scm>
  124. <url>https://github.com/steinarb/servlet</url>
  125. <connection>scm:git:https://github.com/steinarb/servlet.git</connection>
  126. <tag>HEAD</tag>
  127. </scm>
  128. <issueManagement>
  129. <url>https://github.com/steinarb/servlet/issues</url>
  130. <system>Github issue tracker</system>
  131. </issueManagement>
  132. <ciManagement>
  133. <url>https://travis-ci.org/steinarb/servlet</url>
  134. <system>travis-ci</system>
  135. </ciManagement>
  136. <url>http://steinarb.github.io/servlet/</url>
  137. <profiles>
  138. <profile>
  139. <id>release-sign-artifact</id>
  140. <build>
  141. <plugins>
  142. <plugin>
  143. <groupId>org.apache.maven.plugins</groupId>
  144. <artifactId>maven-gpg-plugin</artifactId>
  145. <version>1.6</version>
  146. <executions>
  147. <execution>
  148. <id>sign-artifacts</id>
  149. <phase>verify</phase>
  150. <goals>
  151. <goal>sign</goal>
  152. </goals>
  153. <configuration>
  154. <gpgArguments>
  155. <arg>--pinentry-mode</arg>
  156. <arg>loopback</arg>
  157. </gpgArguments>
  158. </configuration>
  159. </execution>
  160. </executions>
  161. </plugin>
  162. </plugins>
  163. </build>
  164. </profile>
  165. </profiles>
  166. </project>