pom.xml 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  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. <parent>
  5. <groupId>no.priv.bang.pom</groupId>
  6. <artifactId>bang-app-pom</artifactId>
  7. <version>2.0.8</version>
  8. </parent>
  9. <groupId>no.priv.bang.authservice</groupId>
  10. <artifactId>authservice-parent</artifactId>
  11. <version>2.0.5-SNAPSHOT</version>
  12. <packaging>pom</packaging>
  13. <name>Authentication webapp</name>
  14. <description>A drop-in shiro user database for apache karaf web whiteboard, with user administration UI and user self-service password and user info change. In addition can serve as forms based authentication for nginx</description>
  15. <modules>
  16. <module>authservice</module>
  17. <module>jacoco-coverage-report</module>
  18. <module>authservice-bom</module>
  19. </modules>
  20. <properties>
  21. <snakeyaml.version>1.17</snakeyaml.version>
  22. <open-iconic.version>1.1.1</open-iconic.version>
  23. <sonar.cpd.exclusions>
  24. **/TestLiquibaseRunner.java,
  25. **/ProductionLiquibaseRunner.java,
  26. **/AuthserviceServlet.java,
  27. **/UserAdminWebApiServlet.java,
  28. **/UsersResource.java
  29. </sonar.cpd.exclusions>
  30. <sonar.issue.ignore.multicriteria>e1</sonar.issue.ignore.multicriteria>
  31. <sonar.issue.ignore.multicriteria.e1.ruleKey>java:S6813</sonar.issue.ignore.multicriteria.e1.ruleKey>
  32. <sonar.issue.ignore.multicriteria.e1.resourceKey>**/authservice.web.*/src/main/java/**/resources/*.java</sonar.issue.ignore.multicriteria.e1.resourceKey>
  33. <sonar.coverage.jacoco.xmlReportPaths>${project.basedir}/../../jacoco-coverage-report/target/site/jacoco-aggregate/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
  34. </properties>
  35. <build>
  36. <plugins>
  37. <plugin>
  38. <groupId>org.apache.maven.plugins</groupId>
  39. <artifactId>maven-source-plugin</artifactId>
  40. <executions>
  41. <execution>
  42. <id>attach-sources</id>
  43. <goals>
  44. <goal>jar</goal>
  45. </goals>
  46. </execution>
  47. </executions>
  48. </plugin>
  49. <plugin>
  50. <groupId>org.apache.maven.plugins</groupId>
  51. <artifactId>maven-javadoc-plugin</artifactId>
  52. <configuration>
  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. <configuration>
  70. </configuration>
  71. </execution>
  72. </executions>
  73. </plugin>
  74. <plugin>
  75. <groupId>org.apache.maven.plugins</groupId>
  76. <artifactId>maven-jar-plugin</artifactId>
  77. <executions>
  78. <execution>
  79. <id>attach-aggregate-javadoc</id>
  80. <goals>
  81. <goal>jar</goal>
  82. </goals>
  83. <phase>package</phase>
  84. <inherited>false</inherited>
  85. <configuration>
  86. <classesDirectory>${project.build.directory}/site/apidocs</classesDirectory>
  87. <classifier>javadoc</classifier>
  88. </configuration>
  89. </execution>
  90. </executions>
  91. </plugin>
  92. <plugin>
  93. <groupId>org.eluder.coveralls</groupId>
  94. <artifactId>coveralls-maven-plugin</artifactId>
  95. <dependencies>
  96. <dependency>
  97. <groupId>jakarta.xml.bind</groupId>
  98. <artifactId>jakarta.xml.bind-api</artifactId>
  99. <version>2.3.3</version>
  100. </dependency>
  101. </dependencies>
  102. <configuration>
  103. <jacocoReports>
  104. <jacocoReport>${project.basedir}/jacoco-coverage-report/target/site/jacoco-aggregate/jacoco.xml</jacocoReport>
  105. </jacocoReports>
  106. </configuration>
  107. </plugin>
  108. <plugin>
  109. <groupId>org.apache.maven.plugins</groupId>
  110. <artifactId>maven-release-plugin</artifactId>
  111. <configuration>
  112. <releaseProfiles>release-sign-artifact</releaseProfiles>
  113. <tagNameFormat>authservice-@{project.version}</tagNameFormat>
  114. </configuration>
  115. </plugin>
  116. </plugins>
  117. </build>
  118. <distributionManagement>
  119. <snapshotRepository>
  120. <id>ossrh</id>
  121. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  122. </snapshotRepository>
  123. <repository>
  124. <id>ossrh</id>
  125. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  126. </repository>
  127. </distributionManagement>
  128. <licenses>
  129. <license>
  130. <name>Apache License version 2</name>
  131. <url>http://www.apache.org/licenses/LICENSE-2.0</url>
  132. </license>
  133. </licenses>
  134. <developers>
  135. <developer>
  136. <name>Steinar Bang</name>
  137. <email>sb@dod.no</email>
  138. <url>https://steinar.bang.priv.no/</url>
  139. <organization>steinarb-github</organization>
  140. <organizationUrl>https://github.com/steinarb</organizationUrl>
  141. </developer>
  142. </developers>
  143. <scm>
  144. <url>https://github.com/steinarb/authservice</url>
  145. <connection>scm:git:https://github.com/steinarb/authservice.git</connection>
  146. <tag>HEAD</tag>
  147. </scm>
  148. <issueManagement>
  149. <url>https://github.com/steinarb/authservice/issues</url>
  150. <system>Github issue tracker</system>
  151. </issueManagement>
  152. <ciManagement>
  153. <url>https://travis-ci.org/steinarb/authservice</url>
  154. <system>travis-ci</system>
  155. </ciManagement>
  156. <url>http://steinarb.github.io/authservice/</url>
  157. <profiles>
  158. <profile>
  159. <id>release-sign-artifact</id>
  160. <build>
  161. <plugins>
  162. <plugin>
  163. <groupId>org.apache.maven.plugins</groupId>
  164. <artifactId>maven-gpg-plugin</artifactId>
  165. <version>1.6</version>
  166. <executions>
  167. <execution>
  168. <id>sign-artifacts</id>
  169. <phase>verify</phase>
  170. <goals>
  171. <goal>sign</goal>
  172. </goals>
  173. <configuration>
  174. <gpgArguments>
  175. <arg>--pinentry-mode</arg>
  176. <arg>loopback</arg>
  177. </gpgArguments>
  178. </configuration>
  179. </execution>
  180. </executions>
  181. </plugin>
  182. </plugins>
  183. </build>
  184. </profile>
  185. <profile>
  186. <id>nexusDeployRelease</id>
  187. <activation>
  188. <property>
  189. <name>!skipNexusDeployRelease</name>
  190. </property>
  191. </activation>
  192. <build>
  193. <plugins>
  194. <plugin>
  195. <groupId>org.sonatype.plugins</groupId>
  196. <artifactId>nexus-staging-maven-plugin</artifactId>
  197. </plugin>
  198. </plugins>
  199. </build>
  200. </profile>
  201. </profiles>
  202. </project>