pom.xml 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Copyright 2017-2023 Steinar Bang -->
  3. <!-- -->
  4. <!-- Licensed under the Apache License, Version 2.0 (the "License"); -->
  5. <!-- you may not use this file except in compliance with the License. -->
  6. <!-- You may obtain a copy of the License at -->
  7. <!-- http://www.apache.org/licenses/LICENSE-2.0 -->
  8. <!-- Unless required by applicable law or agreed to in writing, -->
  9. <!-- software distributed under the License is distributed on an "AS IS" BASIS, -->
  10. <!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -->
  11. <!-- See the License for the specific language governing permissions and limitations -->
  12. <!-- under the License. -->
  13. <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">
  14. <modelVersion>4.0.0</modelVersion>
  15. <parent>
  16. <groupId>no.priv.bang.pom</groupId>
  17. <artifactId>bang-app-pom</artifactId>
  18. <version>1.1.42</version>
  19. </parent>
  20. <groupId>no.priv.bang.sonar.sonar-collector</groupId>
  21. <artifactId>sonar-collector</artifactId>
  22. <version>1.5.23-SNAPSHOT</version>
  23. <packaging>pom</packaging>
  24. <name>SonarQube data collector</name>
  25. <description>Apache karaf microservices to capture statistics over SonarQube/SonarCloud key measures.</description>
  26. <properties>
  27. <sonar.coverage.jacoco.xmlReportPaths>${project.basedir}/../jacoco-coverage-report/target/site/jacoco-aggregate/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
  28. </properties>
  29. <modules>
  30. <module>sonar-collector-webhook</module>
  31. <module>jacoco-coverage-report</module>
  32. </modules>
  33. <dependencyManagement>
  34. <dependencies>
  35. <dependency>
  36. <groupId>no.priv.bang.pom</groupId>
  37. <artifactId>bang-bom</artifactId>
  38. <version>${bang-bom.version}</version>
  39. <type>pom</type>
  40. <scope>import</scope>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.apache.karaf</groupId>
  44. <artifactId>karaf-bom</artifactId>
  45. <version>${karaf.version}</version>
  46. <type>pom</type>
  47. <scope>import</scope>
  48. </dependency>
  49. <dependency>
  50. <groupId>no.priv.bang.karaf</groupId>
  51. <artifactId>jersey-feature-bom</artifactId>
  52. <version>${jersey-feature.version}</version>
  53. <type>pom</type>
  54. <scope>import</scope>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.junit</groupId>
  58. <artifactId>junit-bom</artifactId>
  59. <version>${junit.jupiter.version}</version>
  60. <type>pom</type>
  61. <scope>import</scope>
  62. </dependency>
  63. <dependency>
  64. <groupId>no.priv.bang.osgi.service.adapters</groupId>
  65. <artifactId>adapters-bom</artifactId>
  66. <version>${osgi-service-adapters.version}</version>
  67. <type>pom</type>
  68. <scope>import</scope>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.hamcrest</groupId>
  72. <artifactId>hamcrest</artifactId>
  73. <version>2.2</version>
  74. <scope>test</scope>
  75. </dependency>
  76. </dependencies>
  77. </dependencyManagement>
  78. <build>
  79. <plugins>
  80. <plugin>
  81. <groupId>org.apache.maven.plugins</groupId>
  82. <artifactId>maven-dependency-plugin</artifactId>
  83. <dependencies>
  84. <dependency>
  85. <groupId>org.apache.felix</groupId>
  86. <artifactId>maven-bundle-plugin</artifactId>
  87. <version>${maven.bundle.plugin.version}</version>
  88. <type>maven-plugin</type>
  89. </dependency>
  90. </dependencies>
  91. <extensions>true</extensions>
  92. </plugin>
  93. <plugin>
  94. <groupId>org.apache.maven.plugins</groupId>
  95. <artifactId>maven-source-plugin</artifactId>
  96. <executions>
  97. <execution>
  98. <id>attach-sources</id>
  99. <goals>
  100. <goal>jar</goal>
  101. </goals>
  102. </execution>
  103. </executions>
  104. </plugin>
  105. <plugin>
  106. <groupId>org.apache.maven.plugins</groupId>
  107. <artifactId>maven-javadoc-plugin</artifactId>
  108. <configuration>
  109. <show>private</show>
  110. <source>8</source>
  111. </configuration>
  112. <executions>
  113. <execution>
  114. <id>attach-javadocs</id>
  115. <goals>
  116. <goal>jar</goal>
  117. </goals>
  118. </execution>
  119. </executions>
  120. </plugin>
  121. <plugin>
  122. <groupId>org.eluder.coveralls</groupId>
  123. <artifactId>coveralls-maven-plugin</artifactId>
  124. <version>4.3.0</version>
  125. <dependencies>
  126. <dependency>
  127. <groupId>jakarta.xml.bind</groupId>
  128. <artifactId>jakarta.xml.bind-api</artifactId>
  129. <version>2.3.3</version>
  130. </dependency>
  131. </dependencies>
  132. <configuration>
  133. <jacocoReports>
  134. <jacocoReport>${project.basedir}/jacoco-coverage-report/target/site/jacoco-aggregate/jacoco.xml</jacocoReport>
  135. </jacocoReports>
  136. </configuration>
  137. </plugin>
  138. <plugin>
  139. <groupId>org.apache.maven.plugins</groupId>
  140. <artifactId>maven-release-plugin</artifactId>
  141. <configuration>
  142. <releaseProfiles>release-sign-artifact</releaseProfiles>
  143. </configuration>
  144. </plugin>
  145. <plugin>
  146. <groupId>org.sonatype.plugins</groupId>
  147. <artifactId>nexus-staging-maven-plugin</artifactId>
  148. </plugin>
  149. </plugins>
  150. <extensions>
  151. <extension>
  152. <groupId>org.apache.maven.wagon</groupId>
  153. <artifactId>wagon-ftp</artifactId>
  154. <version>1.0-beta-6</version>
  155. </extension>
  156. </extensions>
  157. </build>
  158. <distributionManagement>
  159. <snapshotRepository>
  160. <id>ossrh</id>
  161. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  162. </snapshotRepository>
  163. <repository>
  164. <id>ossrh</id>
  165. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  166. </repository>
  167. </distributionManagement>
  168. <licenses>
  169. <license>
  170. <name>Apache License version 2</name>
  171. <url>http://www.apache.org/licenses/LICENSE-2.0</url>
  172. </license>
  173. </licenses>
  174. <developers>
  175. <developer>
  176. <name>Steinar Bang</name>
  177. <email>sb@dod.no</email>
  178. <url>https://steinar.bang.priv.no/</url>
  179. <organization>steinarb-github</organization>
  180. <organizationUrl>https://github.com/steinarb</organizationUrl>
  181. </developer>
  182. </developers>
  183. <scm>
  184. <url>https://github.com/steinarb/sonar-collector</url>
  185. <connection>scm:git:https://github.com/steinarb/sonar-collector.git</connection>
  186. <tag>HEAD</tag>
  187. </scm>
  188. <issueManagement>
  189. <url>https://github.com/steinarb/sonar-collector/issues</url>
  190. <system>Github issue tracker</system>
  191. </issueManagement>
  192. <ciManagement>
  193. <url>https://travis-ci.org/steinarb/sonar-collector</url>
  194. <system>travis-ci</system>
  195. </ciManagement>
  196. <url>http://steinarb.github.io/sonar-collector/</url>
  197. <profiles>
  198. <profile>
  199. <id>release-sign-artifact</id>
  200. <build>
  201. <plugins>
  202. <plugin>
  203. <groupId>org.apache.maven.plugins</groupId>
  204. <artifactId>maven-gpg-plugin</artifactId>
  205. <version>1.6</version>
  206. <executions>
  207. <execution>
  208. <id>sign-artifacts</id>
  209. <phase>verify</phase>
  210. <goals>
  211. <goal>sign</goal>
  212. </goals>
  213. <configuration>
  214. <gpgArguments>
  215. <arg>--pinentry-mode</arg>
  216. <arg>loopback</arg>
  217. </gpgArguments>
  218. </configuration>
  219. </execution>
  220. </executions>
  221. </plugin>
  222. </plugins>
  223. </build>
  224. </profile>
  225. </profiles>
  226. </project>