pom.xml 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xml:space="preserve">
  3. <!-- Copyright 2018-2024 Steinar Bang -->
  4. <!-- -->
  5. <!-- Licensed under the Apache License, Version 2.0 (the "License"); -->
  6. <!-- you may not use this file except in compliance with the License. -->
  7. <!-- You may obtain a copy of the License at -->
  8. <!-- http://www.apache.org/licenses/LICENSE-2.0 -->
  9. <!-- Unless required by applicable law or agreed to in writing, -->
  10. <!-- software distributed under the License is distributed on an "AS IS" BASIS, -->
  11. <!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -->
  12. <!-- See the License for the specific language governing permissions and limitations -->
  13. <!-- under the License. -->
  14. <modelVersion>4.0.0</modelVersion>
  15. <parent>
  16. <groupId>no.priv.bang.pom</groupId>
  17. <artifactId>bang-authservice-client-pom</artifactId>
  18. <version>2.0.6</version>
  19. </parent>
  20. <groupId>no.priv.bang.handlereg</groupId>
  21. <artifactId>handlereg</artifactId>
  22. <version>1.0.0-SNAPSHOT</version>
  23. <packaging>pom</packaging>
  24. <name>Handleregistrering</name>
  25. <modules>
  26. <module>handlereg.db.liquibase</module>
  27. <module>handlereg.db.liquibase.test</module>
  28. <module>handlereg.db.liquibase.production</module>
  29. <module>handlereg.services</module>
  30. <module>handlereg.backend</module>
  31. <module>handlereg.backend.testdata</module>
  32. <module>handlereg.web.security</module>
  33. <module>handlereg.web.api</module>
  34. <module>handlereg.web.frontend</module>
  35. <module>karaf</module>
  36. <module>handlereg.tests</module>
  37. <module>jacoco-coverage-report</module>
  38. </modules>
  39. <properties>
  40. <snakeyaml.version>1.17</snakeyaml.version>
  41. <open-iconic.version>1.1.1</open-iconic.version>
  42. <sonar.cpd.exclusions>
  43. **/HandleregServiceProvider.java,
  44. **/HandleregTestDbLiquibaseRunner.java,
  45. **/HandleregProductionDbLiquibaseRunner.java,
  46. </sonar.cpd.exclusions>
  47. <sonar.issue.ignore.multicriteria>e1,e2</sonar.issue.ignore.multicriteria>
  48. <sonar.issue.ignore.multicriteria.e1.ruleKey>java:S6813</sonar.issue.ignore.multicriteria.e1.ruleKey>
  49. <sonar.issue.ignore.multicriteria.e1.resourceKey>**/handlereg.web.api/src/main/java/**/resources/*.java</sonar.issue.ignore.multicriteria.e1.resourceKey>
  50. <sonar.issue.ignore.multicriteria.e2.ruleKey>java:S5976</sonar.issue.ignore.multicriteria.e2.ruleKey>
  51. <sonar.issue.ignore.multicriteria.e2.resourceKey>**/handlereg.web.api/src/test/java/**/resources/*.java</sonar.issue.ignore.multicriteria.e2.resourceKey>
  52. <sonar.coverage.jacoco.xmlReportPaths>${project.basedir}/../jacoco-coverage-report/target/site/jacoco-aggregate/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
  53. </properties>
  54. <dependencyManagement>
  55. <dependencies>
  56. <dependency>
  57. <groupId>no.priv.bang.pom</groupId>
  58. <artifactId>bang-bom</artifactId>
  59. <version>${bang-bom.version}</version>
  60. <type>pom</type>
  61. <scope>import</scope>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.apache.karaf</groupId>
  65. <artifactId>karaf-bom</artifactId>
  66. <version>${karaf.version}</version>
  67. <type>pom</type>
  68. <scope>import</scope>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.junit</groupId>
  72. <artifactId>junit-bom</artifactId>
  73. <version>${junit.jupiter.version}</version>
  74. <type>pom</type>
  75. <scope>import</scope>
  76. </dependency>
  77. <dependency>
  78. <groupId>no.priv.bang.beans</groupId>
  79. <artifactId>beans-bom</artifactId>
  80. <version>${beans.version}</version>
  81. <type>pom</type>
  82. <scope>import</scope>
  83. </dependency>
  84. <dependency>
  85. <groupId>no.priv.bang.osgiservice</groupId>
  86. <artifactId>osgiservice-bom</artifactId>
  87. <version>${bang-osgi-service.version}</version>
  88. <type>pom</type>
  89. <scope>import</scope>
  90. </dependency>
  91. <dependency>
  92. <groupId>no.priv.bang.osgi.service.adapters</groupId>
  93. <artifactId>adapters-bom</artifactId>
  94. <version>${osgi-service-adapters.version}</version>
  95. <type>pom</type>
  96. <scope>import</scope>
  97. </dependency>
  98. <dependency>
  99. <groupId>no.priv.bang.karaf</groupId>
  100. <artifactId>jersey-feature-bom</artifactId>
  101. <version>${jersey-feature.version}</version>
  102. <type>pom</type>
  103. <scope>import</scope>
  104. </dependency>
  105. <dependency>
  106. <groupId>no.priv.bang.servlet</groupId>
  107. <artifactId>servlet-bom</artifactId>
  108. <version>${bang-servlet.version}</version>
  109. <type>pom</type>
  110. <scope>import</scope>
  111. </dependency>
  112. <dependency>
  113. <groupId>no.priv.bang.authservice</groupId>
  114. <artifactId>authservice-bom</artifactId>
  115. <version>${authservice.version}</version>
  116. <type>pom</type>
  117. <scope>import</scope>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.apache.shiro</groupId>
  121. <artifactId>shiro-bom</artifactId>
  122. <version>${shiro.version}</version>
  123. <type>pom</type>
  124. <scope>import</scope>
  125. </dependency>
  126. <dependency>
  127. <groupId>javax.xml.bind</groupId>
  128. <artifactId>jaxb-api</artifactId>
  129. <version>2.3.1</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>org.webjars.bower</groupId>
  133. <artifactId>open-iconic</artifactId>
  134. <version>${open-iconic.version}</version>
  135. </dependency>
  136. </dependencies>
  137. </dependencyManagement>
  138. <build>
  139. <plugins>
  140. <plugin>
  141. <groupId>org.apache.maven.plugins</groupId>
  142. <artifactId>maven-source-plugin</artifactId>
  143. <executions>
  144. <execution>
  145. <id>attach-sources</id>
  146. <goals>
  147. <goal>jar</goal>
  148. </goals>
  149. </execution>
  150. </executions>
  151. </plugin>
  152. <plugin>
  153. <groupId>org.apache.maven.plugins</groupId>
  154. <artifactId>maven-javadoc-plugin</artifactId>
  155. <configuration>
  156. <show>private</show>
  157. </configuration>
  158. <executions>
  159. <execution>
  160. <id>attach-javadocs</id>
  161. <goals>
  162. <goal>jar</goal>
  163. </goals>
  164. </execution>
  165. </executions>
  166. </plugin>
  167. </plugins>
  168. <extensions>
  169. <extension>
  170. <groupId>org.apache.maven.wagon</groupId>
  171. <artifactId>wagon-ssh</artifactId>
  172. <version>3.2.0</version>
  173. </extension>
  174. </extensions>
  175. </build>
  176. <distributionManagement>
  177. <repository>
  178. <id>ssh-maven-travis</id>
  179. <url>sftp://maven.bang.priv.no/repository</url>
  180. </repository>
  181. <snapshotRepository>
  182. <id>ssh-maven-travis</id>
  183. <url>sftp://maven.bang.priv.no/repository</url>
  184. </snapshotRepository>
  185. </distributionManagement>
  186. <profiles>
  187. <profile>
  188. <id>release-sign-artifact</id>
  189. <build>
  190. <plugins>
  191. <plugin>
  192. <groupId>org.apache.maven.plugins</groupId>
  193. <artifactId>maven-gpg-plugin</artifactId>
  194. <version>1.6</version>
  195. <executions>
  196. <execution>
  197. <id>sign-artifacts</id>
  198. <phase>verify</phase>
  199. <goals>
  200. <goal>sign</goal>
  201. </goals>
  202. <configuration>
  203. <gpgArguments>
  204. <arg>--pinentry-mode</arg>
  205. <arg>loopback</arg>
  206. </gpgArguments>
  207. </configuration>
  208. </execution>
  209. </executions>
  210. </plugin>
  211. </plugins>
  212. </build>
  213. </profile>
  214. </profiles>
  215. </project>