pom.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  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 2016-2025 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.1.4</version>
  19. </parent>
  20. <groupId>no.priv.bang.ukelonn</groupId>
  21. <artifactId>ukelonn</artifactId>
  22. <version>1.0.0-SNAPSHOT</version>
  23. <packaging>pom</packaging>
  24. <name>ukelonn webapp</name>
  25. <modules>
  26. <module>ukelonn.services</module>
  27. <module>ukelonn.backend</module>
  28. <module>ukelonn.web.security</module>
  29. <module>ukelonn.web.services</module>
  30. <module>ukelonn.web.frontend</module>
  31. <module>ukelonn.testutils</module>
  32. <module>ukelonn.db.liquibase</module>
  33. <module>ukelonn.db.liquibase.test</module>
  34. <module>ukelonn.db.liquibase.production</module>
  35. <module>karaf</module>
  36. <module>ukelonn.tests</module>
  37. <module>jacoco-coverage-report</module>
  38. <module>docker</module>
  39. </modules>
  40. <properties>
  41. <open-iconic.version>1.1.1</open-iconic.version>
  42. <sonar.cpd.exclusions>
  43. **/ProductionLiquibaseRunner.java,
  44. **/TestLiquibaseRunner.java
  45. </sonar.cpd.exclusions>
  46. <sonar.issue.ignore.multicriteria>e1</sonar.issue.ignore.multicriteria>
  47. <sonar.issue.ignore.multicriteria.e1.ruleKey>java:S6813</sonar.issue.ignore.multicriteria.e1.ruleKey>
  48. <sonar.issue.ignore.multicriteria.e1.resourceKey>**/ukelonn.web.services/src/main/java/**/resources/*.java</sonar.issue.ignore.multicriteria.e1.resourceKey>
  49. <sonar.coverage.jacoco.xmlReportPaths>${project.basedir}/../jacoco-coverage-report/target/site/jacoco-aggregate/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
  50. </properties>
  51. <dependencyManagement>
  52. <dependencies>
  53. <dependency>
  54. <groupId>no.priv.bang.pom</groupId>
  55. <artifactId>bang-bom</artifactId>
  56. <version>${bang-bom.version}</version>
  57. <type>pom</type>
  58. <scope>import</scope>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.apache.karaf</groupId>
  62. <artifactId>karaf-bom</artifactId>
  63. <version>${karaf.version}</version>
  64. <type>pom</type>
  65. <scope>import</scope>
  66. </dependency>
  67. <dependency>
  68. <groupId>no.priv.bang.beans</groupId>
  69. <artifactId>beans-bom</artifactId>
  70. <version>${beans.version}</version>
  71. <type>pom</type>
  72. <scope>import</scope>
  73. </dependency>
  74. <dependency>
  75. <groupId>no.priv.bang.servlet</groupId>
  76. <artifactId>servlet-bom</artifactId>
  77. <version>${bang-servlet.version}</version>
  78. <type>pom</type>
  79. <scope>import</scope>
  80. </dependency>
  81. <dependency>
  82. <groupId>no.priv.bang.karaf</groupId>
  83. <artifactId>jersey-feature-bom</artifactId>
  84. <version>${jersey-feature.version}</version>
  85. <type>pom</type>
  86. <scope>import</scope>
  87. </dependency>
  88. <dependency>
  89. <groupId>no.priv.bang.authservice</groupId>
  90. <artifactId>authservice-bom</artifactId>
  91. <version>${authservice.version}</version>
  92. <type>pom</type>
  93. <scope>import</scope>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.apache.shiro</groupId>
  97. <artifactId>shiro-bom</artifactId>
  98. <version>${shiro.version}</version>
  99. <type>pom</type>
  100. <scope>import</scope>
  101. </dependency>
  102. <dependency>
  103. <groupId>no.priv.bang.osgiservice</groupId>
  104. <artifactId>osgiservice-bom</artifactId>
  105. <version>${bang-osgi-service.version}</version>
  106. <type>pom</type>
  107. <scope>import</scope>
  108. </dependency>
  109. <dependency>
  110. <groupId>no.priv.bang.osgi.service.adapters</groupId>
  111. <artifactId>adapters-bom</artifactId>
  112. <version>${osgi-service-adapters.version}</version>
  113. <type>pom</type>
  114. <scope>import</scope>
  115. </dependency>
  116. <dependency>
  117. <groupId>no.priv.bang.jdbc</groupId>
  118. <artifactId>jdbc-bom</artifactId>
  119. <version>${datasourceproxy.version}</version>
  120. <type>pom</type>
  121. <scope>import</scope>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.junit</groupId>
  125. <artifactId>junit-bom</artifactId>
  126. <version>${junit.jupiter.version}</version>
  127. <type>pom</type>
  128. <scope>import</scope>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.webjars.bower</groupId>
  132. <artifactId>open-iconic</artifactId>
  133. <version>${open-iconic.version}</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>no.priv.bang.ukelonn</groupId>
  137. <artifactId>ukelonn.testutils</artifactId>
  138. <version>${project.version}</version>
  139. </dependency>
  140. <dependency>
  141. <groupId>no.priv.bang.ukelonn</groupId>
  142. <artifactId>ukelonn.services</artifactId>
  143. <version>${project.version}</version>
  144. </dependency>
  145. <dependency>
  146. <groupId>no.priv.bang.ukelonn</groupId>
  147. <artifactId>ukelonn.services</artifactId>
  148. <version>${project.version}</version>
  149. <type>xml</type>
  150. <classifier>features</classifier>
  151. </dependency>
  152. <dependency>
  153. <groupId>no.priv.bang.ukelonn</groupId>
  154. <artifactId>ukelonn.db.liquibase</artifactId>
  155. <version>${project.version}</version>
  156. </dependency>
  157. <dependency>
  158. <groupId>no.priv.bang.ukelonn</groupId>
  159. <artifactId>ukelonn.db.liquibase</artifactId>
  160. <version>${project.version}</version>
  161. <type>xml</type>
  162. <classifier>features</classifier>
  163. </dependency>
  164. <dependency>
  165. <groupId>no.priv.bang.ukelonn</groupId>
  166. <artifactId>ukelonn.db.liquibase.test</artifactId>
  167. <version>${project.version}</version>
  168. </dependency>
  169. <dependency>
  170. <groupId>no.priv.bang.ukelonn</groupId>
  171. <artifactId>ukelonn.db.liquibase.production</artifactId>
  172. <version>${project.version}</version>
  173. </dependency>
  174. <dependency>
  175. <groupId>no.priv.bang.ukelonn</groupId>
  176. <artifactId>ukelonn.backend</artifactId>
  177. <version>${project.version}</version>
  178. </dependency>
  179. <dependency>
  180. <groupId>no.priv.bang.ukelonn</groupId>
  181. <artifactId>ukelonn.web.security</artifactId>
  182. <version>${project.version}</version>
  183. </dependency>
  184. <dependency>
  185. <groupId>no.priv.bang.ukelonn</groupId>
  186. <artifactId>ukelonn.web.security</artifactId>
  187. <version>${project.version}</version>
  188. <type>xml</type>
  189. <classifier>features</classifier>
  190. </dependency>
  191. <dependency>
  192. <groupId>no.priv.bang.ukelonn</groupId>
  193. <artifactId>ukelonn.web.services</artifactId>
  194. <version>${project.version}</version>
  195. </dependency>
  196. <dependency>
  197. <groupId>no.priv.bang.ukelonn</groupId>
  198. <artifactId>ukelonn.web.services</artifactId>
  199. <version>${project.version}</version>
  200. <type>xml</type>
  201. <classifier>features</classifier>
  202. </dependency>
  203. <dependency>
  204. <groupId>no.priv.bang.ukelonn</groupId>
  205. <artifactId>ukelonn.web.frontend</artifactId>
  206. <version>${project.version}</version>
  207. </dependency>
  208. </dependencies>
  209. </dependencyManagement>
  210. <build>
  211. <plugins>
  212. <plugin>
  213. <groupId>org.apache.maven.plugins</groupId>
  214. <artifactId>maven-source-plugin</artifactId>
  215. <executions>
  216. <execution>
  217. <id>attach-sources</id>
  218. <goals>
  219. <goal>jar</goal>
  220. </goals>
  221. </execution>
  222. </executions>
  223. </plugin>
  224. <plugin>
  225. <groupId>org.apache.maven.plugins</groupId>
  226. <artifactId>maven-javadoc-plugin</artifactId>
  227. <configuration>
  228. <show>private</show>
  229. </configuration>
  230. <executions>
  231. <execution>
  232. <id>attach-javadocs</id>
  233. <goals>
  234. <goal>jar</goal>
  235. </goals>
  236. </execution>
  237. </executions>
  238. </plugin>
  239. <plugin>
  240. <groupId>org.eluder.coveralls</groupId>
  241. <artifactId>coveralls-maven-plugin</artifactId>
  242. <version>4.3.0</version>
  243. <dependencies>
  244. <dependency>
  245. <groupId>jakarta.xml.bind</groupId>
  246. <artifactId>jakarta.xml.bind-api</artifactId>
  247. <version>2.3.3</version>
  248. </dependency>
  249. </dependencies>
  250. <configuration>
  251. <jacocoReports>
  252. <jacocoReport>${project.basedir}/jacoco-coverage-report/target/site/jacoco-aggregate/jacoco.xml</jacocoReport>
  253. </jacocoReports>
  254. </configuration>
  255. </plugin>
  256. <plugin>
  257. <groupId>org.apache.maven.plugins</groupId>
  258. <artifactId>maven-enforcer-plugin</artifactId>
  259. <version>3.0.0-M3</version>
  260. <executions>
  261. <execution>
  262. <id>enforce-no-duplicate-versions</id>
  263. <goals>
  264. <goal>enforce</goal>
  265. </goals>
  266. <configuration>
  267. <rules>
  268. <banDuplicatePomDependencyVersions/>
  269. </rules>
  270. </configuration>
  271. </execution>
  272. </executions>
  273. </plugin>
  274. </plugins>
  275. <extensions>
  276. <extension>
  277. <groupId>org.apache.maven.wagon</groupId>
  278. <artifactId>wagon-ssh</artifactId>
  279. <version>3.2.0</version>
  280. </extension>
  281. </extensions>
  282. </build>
  283. <distributionManagement>
  284. <repository>
  285. <id>ssh-maven-travis</id>
  286. <url>sftp://maven.bang.priv.no/repository</url>
  287. </repository>
  288. <snapshotRepository>
  289. <id>ssh-maven-travis</id>
  290. <url>sftp://maven.bang.priv.no/repository</url>
  291. </snapshotRepository>
  292. </distributionManagement>
  293. </project>