pom.xml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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-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-pom</artifactId>
  18. <version>2.0.5</version>
  19. </parent>
  20. <groupId>no.priv.bang.osgiservice</groupId>
  21. <artifactId>osgiservice-parent</artifactId>
  22. <version>2.0.1-SNAPSHOT</version>
  23. <packaging>pom</packaging>
  24. <name>OSGi service definitions</name>
  25. <description>Defines OSGi services exposed by DS components.</description>
  26. <modules>
  27. <module>osgiservice</module>
  28. <module>jacoco-coverage-report</module>
  29. <module>osgiservice-bom</module>
  30. </modules>
  31. <properties>
  32. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  33. <beans.version>1.2.0</beans.version>
  34. <sonar.coverage.jacoco.xmlReportPaths>${project.basedir}/../../jacoco-coverage-report/target/site/jacoco-aggregate/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
  35. </properties>
  36. <build>
  37. <plugins>
  38. <plugin>
  39. <groupId>org.eluder.coveralls</groupId>
  40. <artifactId>coveralls-maven-plugin</artifactId>
  41. <configuration>
  42. <jacocoReports>
  43. <jacocoReport>${project.basedir}/jacoco-coverage-report/target/site/jacoco-aggregate/jacoco.xml</jacocoReport>
  44. </jacocoReports>
  45. </configuration>
  46. </plugin>
  47. <plugin>
  48. <groupId>org.apache.maven.plugins</groupId>
  49. <artifactId>maven-release-plugin</artifactId>
  50. <configuration>
  51. <releaseProfiles>release-sign-artifact</releaseProfiles>
  52. <tagNameFormat>osgiservice-@{project.version}</tagNameFormat>
  53. </configuration>
  54. </plugin>
  55. <plugin>
  56. <groupId>org.sonatype.plugins</groupId>
  57. <artifactId>nexus-staging-maven-plugin</artifactId>
  58. </plugin>
  59. </plugins>
  60. <extensions>
  61. <extension>
  62. <groupId>org.apache.maven.wagon</groupId>
  63. <artifactId>wagon-ftp</artifactId>
  64. <version>1.0-beta-6</version>
  65. </extension>
  66. </extensions>
  67. </build>
  68. <distributionManagement>
  69. <snapshotRepository>
  70. <id>ossrh</id>
  71. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  72. </snapshotRepository>
  73. <repository>
  74. <id>ossrh</id>
  75. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  76. </repository>
  77. </distributionManagement>
  78. <licenses>
  79. <license>
  80. <name>Apache License version 2</name>
  81. <url>http://www.apache.org/licenses/LICENSE-2.0</url>
  82. </license>
  83. </licenses>
  84. <developers>
  85. <developer>
  86. <name>Steinar Bang</name>
  87. <email>sb@dod.no</email>
  88. <url>https://steinar.bang.priv.no/</url>
  89. <organization>steinarb-github</organization>
  90. <organizationUrl>https://github.com/steinarb</organizationUrl>
  91. </developer>
  92. </developers>
  93. <scm>
  94. <url>https://github.com/steinarb/osgi-service</url>
  95. <connection>scm:git:https://github.com/steinarb/osgi-service.git</connection>
  96. <tag>HEAD</tag>
  97. </scm>
  98. <issueManagement>
  99. <url>https://github.com/steinarb/osgi-service/issues</url>
  100. <system>Github issue tracker</system>
  101. </issueManagement>
  102. <ciManagement>
  103. <url>https://travis-ci.org/steinarb/osgi-service</url>
  104. <system>travis-ci</system>
  105. </ciManagement>
  106. <url>http://steinarb.github.io/osgi-service/</url>
  107. <profiles>
  108. <profile>
  109. <id>release-sign-artifact</id>
  110. <build>
  111. <plugins>
  112. <plugin>
  113. <groupId>org.apache.maven.plugins</groupId>
  114. <artifactId>maven-gpg-plugin</artifactId>
  115. <version>1.6</version>
  116. <executions>
  117. <execution>
  118. <id>sign-artifacts</id>
  119. <phase>verify</phase>
  120. <goals>
  121. <goal>sign</goal>
  122. </goals>
  123. <configuration>
  124. <gpgArguments>
  125. <arg>--pinentry-mode</arg>
  126. <arg>loopback</arg>
  127. </gpgArguments>
  128. </configuration>
  129. </execution>
  130. </executions>
  131. </plugin>
  132. </plugins>
  133. </build>
  134. </profile>
  135. </profiles>
  136. </project>