pom.xml 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  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>1.1.49</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</sonar.issue.ignore.multicriteria>
  48. <sonar.issue.ignore.multicriteria.e1.ruleKey>squid:S2160</sonar.issue.ignore.multicriteria.e1.ruleKey>
  49. <sonar.issue.ignore.multicriteria.e1.resourceKey>**/handlereg.services/**/*.java</sonar.issue.ignore.multicriteria.e1.resourceKey>
  50. <sonar.coverage.jacoco.xmlReportPaths>${project.basedir}/../jacoco-coverage-report/target/site/jacoco-aggregate/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
  51. </properties>
  52. <dependencyManagement>
  53. <dependencies>
  54. <dependency>
  55. <groupId>no.priv.bang.pom</groupId>
  56. <artifactId>bang-bom</artifactId>
  57. <version>${bang-bom.version}</version>
  58. <type>pom</type>
  59. <scope>import</scope>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.apache.karaf</groupId>
  63. <artifactId>karaf-bom</artifactId>
  64. <version>${karaf.version}</version>
  65. <type>pom</type>
  66. <scope>import</scope>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.junit</groupId>
  70. <artifactId>junit-bom</artifactId>
  71. <version>${junit.jupiter.version}</version>
  72. <type>pom</type>
  73. <scope>import</scope>
  74. </dependency>
  75. <dependency>
  76. <groupId>no.priv.bang.beans</groupId>
  77. <artifactId>beans-bom</artifactId>
  78. <version>${beans.version}</version>
  79. <type>pom</type>
  80. <scope>import</scope>
  81. </dependency>
  82. <dependency>
  83. <groupId>no.priv.bang.osgiservice</groupId>
  84. <artifactId>osgiservice-bom</artifactId>
  85. <version>${bang-osgi-service.version}</version>
  86. <type>pom</type>
  87. <scope>import</scope>
  88. </dependency>
  89. <dependency>
  90. <groupId>no.priv.bang.osgi.service.adapters</groupId>
  91. <artifactId>adapters-bom</artifactId>
  92. <version>${osgi-service-adapters.version}</version>
  93. <type>pom</type>
  94. <scope>import</scope>
  95. </dependency>
  96. <dependency>
  97. <groupId>no.priv.bang.karaf</groupId>
  98. <artifactId>jersey-feature-bom</artifactId>
  99. <version>${jersey-feature.version}</version>
  100. <type>pom</type>
  101. <scope>import</scope>
  102. </dependency>
  103. <dependency>
  104. <groupId>no.priv.bang.servlet</groupId>
  105. <artifactId>servlet-bom</artifactId>
  106. <version>${bang-servlet.version}</version>
  107. <type>pom</type>
  108. <scope>import</scope>
  109. </dependency>
  110. <dependency>
  111. <groupId>no.priv.bang.authservice</groupId>
  112. <artifactId>authservice-bom</artifactId>
  113. <version>${authservice.version}</version>
  114. <type>pom</type>
  115. <scope>import</scope>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.apache.shiro</groupId>
  119. <artifactId>shiro-bom</artifactId>
  120. <version>${shiro.version}</version>
  121. <type>pom</type>
  122. <scope>import</scope>
  123. </dependency>
  124. <dependency>
  125. <groupId>javax.xml.bind</groupId>
  126. <artifactId>jaxb-api</artifactId>
  127. <version>2.3.1</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>org.webjars.bower</groupId>
  131. <artifactId>open-iconic</artifactId>
  132. <version>${open-iconic.version}</version>
  133. </dependency>
  134. </dependencies>
  135. </dependencyManagement>
  136. <build>
  137. <plugins>
  138. <plugin>
  139. <groupId>org.apache.maven.plugins</groupId>
  140. <artifactId>maven-source-plugin</artifactId>
  141. <executions>
  142. <execution>
  143. <id>attach-sources</id>
  144. <goals>
  145. <goal>jar</goal>
  146. </goals>
  147. </execution>
  148. </executions>
  149. </plugin>
  150. <plugin>
  151. <groupId>org.apache.maven.plugins</groupId>
  152. <artifactId>maven-javadoc-plugin</artifactId>
  153. <configuration>
  154. <source>8</source>
  155. <show>private</show>
  156. </configuration>
  157. <executions>
  158. <execution>
  159. <id>attach-javadocs</id>
  160. <goals>
  161. <goal>jar</goal>
  162. </goals>
  163. </execution>
  164. </executions>
  165. </plugin>
  166. </plugins>
  167. <extensions>
  168. <extension>
  169. <groupId>org.apache.maven.wagon</groupId>
  170. <artifactId>wagon-ssh</artifactId>
  171. <version>3.2.0</version>
  172. </extension>
  173. </extensions>
  174. </build>
  175. <distributionManagement>
  176. <repository>
  177. <id>ssh-maven-travis</id>
  178. <url>sftp://maven.bang.priv.no/repository</url>
  179. </repository>
  180. <snapshotRepository>
  181. <id>ssh-maven-travis</id>
  182. <url>sftp://maven.bang.priv.no/repository</url>
  183. </snapshotRepository>
  184. </distributionManagement>
  185. <profiles>
  186. <profile>
  187. <id>release-sign-artifact</id>
  188. <build>
  189. <plugins>
  190. <plugin>
  191. <groupId>org.apache.maven.plugins</groupId>
  192. <artifactId>maven-gpg-plugin</artifactId>
  193. <version>1.6</version>
  194. <executions>
  195. <execution>
  196. <id>sign-artifacts</id>
  197. <phase>verify</phase>
  198. <goals>
  199. <goal>sign</goal>
  200. </goals>
  201. <configuration>
  202. <gpgArguments>
  203. <arg>--pinentry-mode</arg>
  204. <arg>loopback</arg>
  205. </gpgArguments>
  206. </configuration>
  207. </execution>
  208. </executions>
  209. </plugin>
  210. </plugins>
  211. </build>
  212. </profile>
  213. </profiles>
  214. </project>