pom.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325
  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. <!-- Copyright 2020-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.0</version>
  19. </parent>
  20. <groupId>no.priv.bang.oldalbum</groupId>
  21. <artifactId>oldalbum</artifactId>
  22. <version>2.2.0</version>
  23. <packaging>pom</packaging>
  24. <name>Oldalbum picture archive wrapper</name>
  25. <description>Displaying albums from the 90-ies in a modern way</description>
  26. <modules>
  27. <module>oldalbum.testutilities</module>
  28. <module>oldalbum.services</module>
  29. <module>oldalbum.roleadder.test</module>
  30. <module>oldalbum.db.liquibase</module>
  31. <module>oldalbum.db.liquibase.test</module>
  32. <module>oldalbum.backend</module>
  33. <module>oldalbum.backend.imageio</module>
  34. <module>oldalbum.web.security</module>
  35. <module>oldalbum.web.api</module>
  36. <module>oldalbum.web.frontend</module>
  37. <module>oldalbum.db.liquibase.urlinit</module>
  38. <module>oldalbum.db.liquibase.production</module>
  39. <module>karaf</module>
  40. <module>oldalbum.tests</module>
  41. <module>jacoco-coverage-report</module>
  42. <module>docker</module>
  43. </modules>
  44. <properties>
  45. <open-iconic.version>1.1.1</open-iconic.version>
  46. <twelvemonkeys.version>3.12.0</twelvemonkeys.version>
  47. <sonar.cpd.exclusions>
  48. **/OldAlbumDerbyTestDatabase.java,
  49. **/OldAlbumProductionDatabase.java,
  50. **/AlbumEntry.java,
  51. **/HtmlTemplateResource.java,
  52. **/SettingsPageResource.java,
  53. </sonar.cpd.exclusions>
  54. <sonar.coverage.exclusions>
  55. **/oldalbum.testutilities/src/**/*.java
  56. </sonar.coverage.exclusions>
  57. <sonar.issue.ignore.multicriteria>e1, e2, e3, e4, e5</sonar.issue.ignore.multicriteria>
  58. <sonar.issue.ignore.multicriteria.e1.ruleKey>java:S6813</sonar.issue.ignore.multicriteria.e1.ruleKey>
  59. <sonar.issue.ignore.multicriteria.e1.resourceKey>**/oldalbum.web.api/**/*.java</sonar.issue.ignore.multicriteria.e1.resourceKey>
  60. <sonar.issue.ignore.multicriteria.e2.ruleKey>java:S5976</sonar.issue.ignore.multicriteria.e2.ruleKey>
  61. <sonar.issue.ignore.multicriteria.e2.resourceKey>**/oldalbum.web.frontend/src/test/**/*.java</sonar.issue.ignore.multicriteria.e2.resourceKey>
  62. <sonar.issue.ignore.multicriteria.e3.ruleKey>java:S3011</sonar.issue.ignore.multicriteria.e3.ruleKey>
  63. <sonar.issue.ignore.multicriteria.e3.resourceKey>**/oldalbum.testutilities/**/*.java</sonar.issue.ignore.multicriteria.e3.resourceKey>
  64. <sonar.issue.ignore.multicriteria.e4.ruleKey>java:S112</sonar.issue.ignore.multicriteria.e4.ruleKey>
  65. <sonar.issue.ignore.multicriteria.e4.resourceKey>**/oldalbum.testutilities/**/*.java</sonar.issue.ignore.multicriteria.e4.resourceKey>
  66. <sonar.issue.ignore.multicriteria.e5.ruleKey>java:S5976</sonar.issue.ignore.multicriteria.e5.ruleKey>
  67. <sonar.issue.ignore.multicriteria.e5.resourceKey>**/oldalbum.backend/src/test/**/*.java</sonar.issue.ignore.multicriteria.e5.resourceKey>
  68. <sonar.coverage.jacoco.xmlReportPaths>${project.basedir}/../jacoco-coverage-report/target/site/jacoco-aggregate/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
  69. </properties>
  70. <dependencyManagement>
  71. <dependencies>
  72. <dependency>
  73. <groupId>no.priv.bang.pom</groupId>
  74. <artifactId>bang-bom</artifactId>
  75. <version>${bang-bom.version}</version>
  76. <type>pom</type>
  77. <scope>import</scope>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.apache.karaf</groupId>
  81. <artifactId>karaf-bom</artifactId>
  82. <version>${karaf.version}</version>
  83. <type>pom</type>
  84. <scope>import</scope>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.junit</groupId>
  88. <artifactId>junit-bom</artifactId>
  89. <version>${junit.jupiter.version}</version>
  90. <type>pom</type>
  91. <scope>import</scope>
  92. </dependency>
  93. <dependency>
  94. <groupId>no.priv.bang.beans</groupId>
  95. <artifactId>beans-bom</artifactId>
  96. <version>${beans.version}</version>
  97. <type>pom</type>
  98. <scope>import</scope>
  99. </dependency>
  100. <dependency>
  101. <groupId>no.priv.bang.osgiservice</groupId>
  102. <artifactId>osgiservice-bom</artifactId>
  103. <version>${bang-osgi-service.version}</version>
  104. <type>pom</type>
  105. <scope>import</scope>
  106. </dependency>
  107. <dependency>
  108. <groupId>no.priv.bang.osgi.service.adapters</groupId>
  109. <artifactId>adapters-bom</artifactId>
  110. <version>${osgi-service-adapters.version}</version>
  111. <type>pom</type>
  112. <scope>import</scope>
  113. </dependency>
  114. <dependency>
  115. <groupId>no.priv.bang.jdbc</groupId>
  116. <artifactId>jdbc-bom</artifactId>
  117. <version>${bang-jdbc-utils.version}</version>
  118. <type>pom</type>
  119. <scope>import</scope>
  120. </dependency>
  121. <dependency>
  122. <groupId>no.priv.bang.karaf</groupId>
  123. <artifactId>jersey-feature-bom</artifactId>
  124. <version>${jersey-feature.version}</version>
  125. <type>pom</type>
  126. <scope>import</scope>
  127. </dependency>
  128. <dependency>
  129. <groupId>no.priv.bang.servlet</groupId>
  130. <artifactId>servlet-bom</artifactId>
  131. <version>${bang-servlet.version}</version>
  132. <type>pom</type>
  133. <scope>import</scope>
  134. </dependency>
  135. <dependency>
  136. <groupId>no.priv.bang.authservice</groupId>
  137. <artifactId>authservice-bom</artifactId>
  138. <version>${authservice.version}</version>
  139. <type>pom</type>
  140. <scope>import</scope>
  141. </dependency>
  142. <dependency>
  143. <groupId>org.apache.shiro</groupId>
  144. <artifactId>shiro-bom</artifactId>
  145. <version>${shiro.version}</version>
  146. <type>pom</type>
  147. <scope>import</scope>
  148. </dependency>
  149. <dependency>
  150. <groupId>com.twelvemonkeys.bom</groupId>
  151. <artifactId>bom</artifactId>
  152. <version>${twelvemonkeys.version}</version>
  153. <type>pom</type>
  154. <scope>import</scope>
  155. </dependency>
  156. <dependency>
  157. <groupId>javax.xml.bind</groupId>
  158. <artifactId>jaxb-api</artifactId>
  159. <version>2.3.1</version>
  160. </dependency>
  161. <dependency>
  162. <groupId>org.webjars.bower</groupId>
  163. <artifactId>open-iconic</artifactId>
  164. <version>${open-iconic.version}</version>
  165. </dependency>
  166. </dependencies>
  167. </dependencyManagement>
  168. <build>
  169. <plugins>
  170. <plugin>
  171. <groupId>org.apache.maven.plugins</groupId>
  172. <artifactId>maven-release-plugin</artifactId>
  173. <configuration>
  174. <releaseProfiles>release-sign-artifact</releaseProfiles>
  175. </configuration>
  176. </plugin>
  177. <plugin>
  178. <groupId>org.apache.maven.plugins</groupId>
  179. <artifactId>maven-source-plugin</artifactId>
  180. <executions>
  181. <execution>
  182. <id>attach-sources</id>
  183. <goals>
  184. <goal>jar</goal>
  185. </goals>
  186. </execution>
  187. </executions>
  188. </plugin>
  189. <plugin>
  190. <groupId>org.apache.maven.plugins</groupId>
  191. <artifactId>maven-javadoc-plugin</artifactId>
  192. <configuration>
  193. <show>private</show>
  194. </configuration>
  195. <executions>
  196. <execution>
  197. <id>attach-javadocs</id>
  198. <goals>
  199. <goal>jar</goal>
  200. </goals>
  201. </execution>
  202. </executions>
  203. </plugin>
  204. <plugin>
  205. <groupId>org.eluder.coveralls</groupId>
  206. <artifactId>coveralls-maven-plugin</artifactId>
  207. <version>4.3.0</version>
  208. <configuration>
  209. <coberturaReports>
  210. <coberturaReport>${basedir}/target/coverage.xml</coberturaReport>
  211. </coberturaReports>
  212. </configuration>
  213. </plugin>
  214. </plugins>
  215. <extensions>
  216. <extension>
  217. <groupId>org.apache.maven.wagon</groupId>
  218. <artifactId>wagon-ssh</artifactId>
  219. <version>3.2.0</version>
  220. </extension>
  221. </extensions>
  222. </build>
  223. <distributionManagement>
  224. <snapshotRepository>
  225. <id>ossrh</id>
  226. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  227. </snapshotRepository>
  228. <repository>
  229. <id>ossrh</id>
  230. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  231. </repository>
  232. </distributionManagement>
  233. <licenses>
  234. <license>
  235. <name>Apache License version 2</name>
  236. <url>http://www.apache.org/licenses/LICENSE-2.0</url>
  237. </license>
  238. </licenses>
  239. <developers>
  240. <developer>
  241. <name>Steinar Bang</name>
  242. <email>sb@dod.no</email>
  243. <url>https://steinar.bang.priv.no/</url>
  244. <organization>steinarb-github</organization>
  245. <organizationUrl>https://github.com/steinarb</organizationUrl>
  246. </developer>
  247. </developers>
  248. <scm>
  249. <url>https://github.com/steinarb/oldalbum</url>
  250. <connection>scm:git:https://github.com/steinarb/oldalbum.git</connection>
  251. <tag>oldalbum-2.2.0</tag>
  252. </scm>
  253. <issueManagement>
  254. <url>https://github.com/steinarb/oldalbum/issues</url>
  255. <system>Github issue tracker</system>
  256. </issueManagement>
  257. <ciManagement>
  258. <url>https://travis-ci.org/steinarb/oldalbum</url>
  259. <system>travis-ci</system>
  260. </ciManagement>
  261. <url>http://steinarb.github.io/oldalbum/</url>
  262. <profiles>
  263. <profile>
  264. <id>release-sign-artifact</id>
  265. <build>
  266. <plugins>
  267. <plugin>
  268. <groupId>org.apache.maven.plugins</groupId>
  269. <artifactId>maven-gpg-plugin</artifactId>
  270. <version>1.6</version>
  271. <executions>
  272. <execution>
  273. <id>sign-artifacts</id>
  274. <phase>verify</phase>
  275. <goals>
  276. <goal>sign</goal>
  277. </goals>
  278. <configuration>
  279. <gpgArguments>
  280. <arg>--pinentry-mode</arg>
  281. <arg>loopback</arg>
  282. </gpgArguments>
  283. </configuration>
  284. </execution>
  285. </executions>
  286. </plugin>
  287. </plugins>
  288. </build>
  289. </profile>
  290. <profile>
  291. <id>nexusDeployRelease</id>
  292. <activation>
  293. <property>
  294. <name>!skipNexusDeployRelease</name>
  295. </property>
  296. </activation>
  297. <build>
  298. <plugins>
  299. <plugin>
  300. <groupId>org.sonatype.plugins</groupId>
  301. <artifactId>nexus-staging-maven-plugin</artifactId>
  302. </plugin>
  303. </plugins>
  304. </build>
  305. </profile>
  306. </profiles>
  307. </project>