pom.xml 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  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>1.1.50</version>
  8. </parent>
  9. <groupId>no.priv.bang.authservice</groupId>
  10. <artifactId>authservice-parent</artifactId>
  11. <version>1.15.21-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.coverage.jacoco.xmlReportPaths>${project.basedir}/../../jacoco-coverage-report/target/site/jacoco-aggregate/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
  31. </properties>
  32. <build>
  33. <plugins>
  34. <plugin>
  35. <groupId>org.apache.maven.plugins</groupId>
  36. <artifactId>maven-source-plugin</artifactId>
  37. <executions>
  38. <execution>
  39. <id>attach-sources</id>
  40. <goals>
  41. <goal>jar</goal>
  42. </goals>
  43. </execution>
  44. </executions>
  45. </plugin>
  46. <plugin>
  47. <groupId>org.apache.maven.plugins</groupId>
  48. <artifactId>maven-javadoc-plugin</artifactId>
  49. <configuration>
  50. <show>private</show>
  51. <source>8</source>
  52. </configuration>
  53. <executions>
  54. <execution>
  55. <id>attach-javadocs</id>
  56. <goals>
  57. <goal>jar</goal>
  58. </goals>
  59. </execution>
  60. <execution>
  61. <id>aggregate-javadocs</id>
  62. <goals>
  63. <goal>aggregate-no-fork</goal>
  64. </goals>
  65. <phase>prepare-package</phase>
  66. <inherited>false</inherited>
  67. <configuration>
  68. </configuration>
  69. </execution>
  70. </executions>
  71. </plugin>
  72. <plugin>
  73. <groupId>org.apache.maven.plugins</groupId>
  74. <artifactId>maven-jar-plugin</artifactId>
  75. <executions>
  76. <execution>
  77. <id>attach-aggregate-javadoc</id>
  78. <goals>
  79. <goal>jar</goal>
  80. </goals>
  81. <phase>package</phase>
  82. <inherited>false</inherited>
  83. <configuration>
  84. <classesDirectory>${project.build.directory}/site/apidocs</classesDirectory>
  85. <classifier>javadoc</classifier>
  86. </configuration>
  87. </execution>
  88. </executions>
  89. </plugin>
  90. <plugin>
  91. <groupId>org.eluder.coveralls</groupId>
  92. <artifactId>coveralls-maven-plugin</artifactId>
  93. <dependencies>
  94. <dependency>
  95. <groupId>jakarta.xml.bind</groupId>
  96. <artifactId>jakarta.xml.bind-api</artifactId>
  97. <version>2.3.3</version>
  98. </dependency>
  99. </dependencies>
  100. <configuration>
  101. <jacocoReports>
  102. <jacocoReport>${project.basedir}/jacoco-coverage-report/target/site/jacoco-aggregate/jacoco.xml</jacocoReport>
  103. </jacocoReports>
  104. </configuration>
  105. </plugin>
  106. <plugin>
  107. <groupId>org.apache.maven.plugins</groupId>
  108. <artifactId>maven-release-plugin</artifactId>
  109. <configuration>
  110. <releaseProfiles>release-sign-artifact</releaseProfiles>
  111. <tagNameFormat>authservice-@{project.version}</tagNameFormat>
  112. </configuration>
  113. </plugin>
  114. </plugins>
  115. </build>
  116. <distributionManagement>
  117. <snapshotRepository>
  118. <id>ossrh</id>
  119. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  120. </snapshotRepository>
  121. <repository>
  122. <id>ossrh</id>
  123. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  124. </repository>
  125. </distributionManagement>
  126. <licenses>
  127. <license>
  128. <name>Apache License version 2</name>
  129. <url>http://www.apache.org/licenses/LICENSE-2.0</url>
  130. </license>
  131. </licenses>
  132. <developers>
  133. <developer>
  134. <name>Steinar Bang</name>
  135. <email>sb@dod.no</email>
  136. <url>https://steinar.bang.priv.no/</url>
  137. <organization>steinarb-github</organization>
  138. <organizationUrl>https://github.com/steinarb</organizationUrl>
  139. </developer>
  140. </developers>
  141. <scm>
  142. <url>https://github.com/steinarb/authservice</url>
  143. <connection>scm:git:https://github.com/steinarb/authservice.git</connection>
  144. <tag>HEAD</tag>
  145. </scm>
  146. <issueManagement>
  147. <url>https://github.com/steinarb/authservice/issues</url>
  148. <system>Github issue tracker</system>
  149. </issueManagement>
  150. <ciManagement>
  151. <url>https://travis-ci.org/steinarb/authservice</url>
  152. <system>travis-ci</system>
  153. </ciManagement>
  154. <url>http://steinarb.github.io/authservice/</url>
  155. <profiles>
  156. <profile>
  157. <id>release-sign-artifact</id>
  158. <build>
  159. <plugins>
  160. <plugin>
  161. <groupId>org.apache.maven.plugins</groupId>
  162. <artifactId>maven-gpg-plugin</artifactId>
  163. <version>1.6</version>
  164. <executions>
  165. <execution>
  166. <id>sign-artifacts</id>
  167. <phase>verify</phase>
  168. <goals>
  169. <goal>sign</goal>
  170. </goals>
  171. <configuration>
  172. <gpgArguments>
  173. <arg>--pinentry-mode</arg>
  174. <arg>loopback</arg>
  175. </gpgArguments>
  176. </configuration>
  177. </execution>
  178. </executions>
  179. </plugin>
  180. </plugins>
  181. </build>
  182. </profile>
  183. <profile>
  184. <id>nexusDeployRelease</id>
  185. <activation>
  186. <property>
  187. <name>!skipNexusDeployRelease</name>
  188. </property>
  189. </activation>
  190. <build>
  191. <plugins>
  192. <plugin>
  193. <groupId>org.sonatype.plugins</groupId>
  194. <artifactId>nexus-staging-maven-plugin</artifactId>
  195. </plugin>
  196. </plugins>
  197. </build>
  198. </profile>
  199. </profiles>
  200. </project>