pom.xml 12 KB

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