pom.xml 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  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 2018-2021 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.osgiservice</groupId>
  17. <artifactId>osgiservice-parent</artifactId>
  18. <version>2.0.1-SNAPSHOT</version>
  19. </parent>
  20. <groupId>no.priv.bang.osgiservice</groupId>
  21. <artifactId>osgiservice</artifactId>
  22. <version>2.0.1-SNAPSHOT</version>
  23. <packaging>pom</packaging>
  24. <name>OSGi service definitions build</name>
  25. <modules>
  26. <module>osgiservice.users</module>
  27. <module>osgiservice.tests</module>
  28. </modules>
  29. <dependencyManagement>
  30. <dependencies>
  31. <dependency>
  32. <groupId>no.priv.bang.pom</groupId>
  33. <artifactId>bang-bom</artifactId>
  34. <version>${bang-bom.version}</version>
  35. <type>pom</type>
  36. <scope>import</scope>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.apache.karaf</groupId>
  40. <artifactId>karaf-bom</artifactId>
  41. <version>${karaf.version}</version>
  42. <type>pom</type>
  43. <scope>import</scope>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.junit</groupId>
  47. <artifactId>junit-bom</artifactId>
  48. <version>${junit.jupiter.version}</version>
  49. <type>pom</type>
  50. <scope>import</scope>
  51. </dependency>
  52. <dependency>
  53. <groupId>no.priv.bang.beans</groupId>
  54. <artifactId>beans-bom</artifactId>
  55. <version>${beans.version}</version>
  56. <type>pom</type>
  57. <scope>import</scope>
  58. </dependency>
  59. <dependency>
  60. <groupId>javax.xml.bind</groupId>
  61. <artifactId>jaxb-api</artifactId>
  62. <version>2.3.1</version>
  63. </dependency>
  64. </dependencies>
  65. </dependencyManagement>
  66. <build>
  67. <plugins>
  68. <plugin>
  69. <groupId>org.apache.maven.plugins</groupId>
  70. <artifactId>maven-source-plugin</artifactId>
  71. <executions>
  72. <execution>
  73. <id>attach-sources</id>
  74. <goals>
  75. <goal>jar</goal>
  76. </goals>
  77. </execution>
  78. </executions>
  79. </plugin>
  80. <plugin>
  81. <groupId>org.apache.maven.plugins</groupId>
  82. <artifactId>maven-javadoc-plugin</artifactId>
  83. <configuration>
  84. <show>private</show>
  85. </configuration>
  86. <executions>
  87. <execution>
  88. <id>attach-javadocs</id>
  89. <goals>
  90. <goal>jar</goal>
  91. </goals>
  92. </execution>
  93. <execution>
  94. <id>aggregate-javadocs</id>
  95. <goals>
  96. <goal>aggregate-no-fork</goal>
  97. </goals>
  98. <phase>prepare-package</phase>
  99. <inherited>false</inherited>
  100. </execution>
  101. </executions>
  102. </plugin>
  103. <plugin>
  104. <groupId>org.apache.maven.plugins</groupId>
  105. <artifactId>maven-jar-plugin</artifactId>
  106. <executions>
  107. <execution>
  108. <id>attach-aggregate-javadoc</id>
  109. <goals>
  110. <goal>jar</goal>
  111. </goals>
  112. <phase>package</phase>
  113. <inherited>false</inherited>
  114. <configuration>
  115. <classesDirectory>${project.build.directory}/site/apidocs</classesDirectory>
  116. <classifier>javadoc</classifier>
  117. </configuration>
  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. </plugin>
  142. <plugin>
  143. <groupId>org.sonatype.plugins</groupId>
  144. <artifactId>nexus-staging-maven-plugin</artifactId>
  145. </plugin>
  146. </plugins>
  147. <extensions>
  148. <extension>
  149. <groupId>org.apache.maven.wagon</groupId>
  150. <artifactId>wagon-ftp</artifactId>
  151. <version>1.0-beta-6</version>
  152. </extension>
  153. </extensions>
  154. </build>
  155. <distributionManagement>
  156. <snapshotRepository>
  157. <id>ossrh</id>
  158. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  159. </snapshotRepository>
  160. <repository>
  161. <id>ossrh</id>
  162. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  163. </repository>
  164. </distributionManagement>
  165. <licenses>
  166. <license>
  167. <name>Apache License version 2</name>
  168. <url>http://www.apache.org/licenses/LICENSE-2.0</url>
  169. </license>
  170. </licenses>
  171. <developers>
  172. <developer>
  173. <name>Steinar Bang</name>
  174. <email>sb@dod.no</email>
  175. <url>https://steinar.bang.priv.no/</url>
  176. <organization>steinarb-github</organization>
  177. <organizationUrl>https://github.com/steinarb</organizationUrl>
  178. </developer>
  179. </developers>
  180. <scm>
  181. <url>https://github.com/steinarb/osgi-service</url>
  182. <connection>scm:git:https://github.com/steinarb/osgi-service.git</connection>
  183. <tag>HEAD</tag>
  184. </scm>
  185. <issueManagement>
  186. <url>https://github.com/steinarb/osgi-service/issues</url>
  187. <system>Github issue tracker</system>
  188. </issueManagement>
  189. <ciManagement>
  190. <url>https://travis-ci.org/steinarb/osgi-service</url>
  191. <system>travis-ci</system>
  192. </ciManagement>
  193. <url>http://steinarb.github.io/osgi-service/</url>
  194. <profiles>
  195. <profile>
  196. <id>release-sign-artifact</id>
  197. <build>
  198. <plugins>
  199. <plugin>
  200. <groupId>org.apache.maven.plugins</groupId>
  201. <artifactId>maven-gpg-plugin</artifactId>
  202. <version>1.6</version>
  203. <executions>
  204. <execution>
  205. <id>sign-artifacts</id>
  206. <phase>verify</phase>
  207. <goals>
  208. <goal>sign</goal>
  209. </goals>
  210. <configuration>
  211. <gpgArguments>
  212. <arg>--pinentry-mode</arg>
  213. <arg>loopback</arg>
  214. </gpgArguments>
  215. </configuration>
  216. </execution>
  217. </executions>
  218. </plugin>
  219. </plugins>
  220. </build>
  221. </profile>
  222. </profiles>
  223. </project>