pom.xml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  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">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>no.steria.osgi.jsr330activator</groupId>
  5. <artifactId>jsr330activator</artifactId>
  6. <version>1.1.1-SNAPSHOT</version>
  7. <packaging>pom</packaging>
  8. <name>jsr330activator</name>
  9. <description>An OSGi bundle activator implementation that will scan the bundle for JSR330 Provider interface implementations instantiate the providers, and register the provided services with OSGi.</description>
  10. <licenses>
  11. <license>
  12. <name>Eclipse Public License - v 1.0</name>
  13. <url>LICENSE</url>
  14. </license>
  15. </licenses>
  16. <developers>
  17. <developer>
  18. <name>Steinar Bang</name>
  19. <email>steb@soprasteria.com</email>
  20. <organization>steria</organization>
  21. <organizationUrl>https://github.com/sbang</organizationUrl>
  22. </developer>
  23. </developers>
  24. <properties>
  25. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  26. <maven.bundle.plugin.version>2.5.3</maven.bundle.plugin.version>
  27. </properties>
  28. <dependencies>
  29. <dependency>
  30. <groupId>junit</groupId>
  31. <artifactId>junit</artifactId>
  32. <version>4.13.1</version>
  33. </dependency>
  34. </dependencies>
  35. <modules>
  36. <module>jsr330activator.gogoshell</module>
  37. <module>jsr330activator.implementation</module>
  38. <module>jsr330activator.mocks</module>
  39. <module>jsr330activator.testbundles</module>
  40. <module>jsr330activator.tests</module>
  41. </modules>
  42. <build>
  43. <plugins>
  44. <plugin>
  45. <groupId>org.apache.maven.plugins</groupId>
  46. <artifactId>maven-compiler-plugin</artifactId>
  47. <version>3.5.1</version>
  48. <configuration>
  49. <source>1.8</source>
  50. <target>1.8</target>
  51. </configuration>
  52. </plugin>
  53. <plugin>
  54. <groupId>org.apache.maven.plugins</groupId>
  55. <artifactId>maven-source-plugin</artifactId>
  56. <version>2.4</version>
  57. <executions>
  58. <execution>
  59. <id>attach-sources</id>
  60. <goals>
  61. <goal>jar</goal>
  62. </goals>
  63. </execution>
  64. </executions>
  65. </plugin>
  66. <plugin>
  67. <groupId>org.apache.maven.plugins</groupId>
  68. <artifactId>maven-javadoc-plugin</artifactId>
  69. <version>2.10.2</version>
  70. <configuration>
  71. <show>private</show>
  72. </configuration>
  73. <executions>
  74. <execution>
  75. <id>attach-javadocs</id>
  76. <goals>
  77. <goal>jar</goal>
  78. </goals>
  79. <configuration>
  80. <failOnError>false</failOnError>
  81. </configuration>
  82. </execution>
  83. </executions>
  84. </plugin>
  85. <plugin>
  86. <groupId>org.codehaus.mojo</groupId>
  87. <artifactId>cobertura-maven-plugin</artifactId>
  88. <version>2.7</version>
  89. <configuration>
  90. <outputDirectory>${basedir}/target</outputDirectory>
  91. <formats>
  92. <format>html</format>
  93. <format>xml</format>
  94. </formats>
  95. <instrumentation>
  96. <excludes>
  97. <exclude>no/steria/osgi/mocks/**/*.class</exclude>
  98. <exclude>no/steria/osgi/jsr330activator/testbundle1/**/*.class</exclude>
  99. <exclude>no/steria/osgi/jsr330activator/testbundle2/**/*.class</exclude>
  100. <exclude>no/steria/osgi/jsr330activator/testbundle3/**/*.class</exclude>
  101. <exclude>no/steria/osgi/jsr330activator/testbundle4/**/*.class</exclude>
  102. <exclude>no/steria/osgi/jsr330activator/testbundle5/**/*.class</exclude>
  103. <exclude>no/steria/osgi/jsr330activator/testbundle6/**/*.class</exclude>
  104. <exclude>no/steria/osgi/jsr330activator/testbundle7/**/*.class</exclude>
  105. <exclude>no/steria/osgi/jsr330activator/testbundle8/**/*.class</exclude>
  106. <exclude>no/steria/osgi/jsr330activator/testbundle9/**/*.class</exclude>
  107. </excludes>
  108. </instrumentation>
  109. <aggregate>true</aggregate>
  110. </configuration>
  111. </plugin>
  112. <plugin>
  113. <groupId>org.eluder.coveralls</groupId>
  114. <artifactId>coveralls-maven-plugin</artifactId>
  115. <version>3.1.0</version>
  116. <configuration>
  117. <coberturaReports>
  118. <coberturaReport>${basedir}/target/coverage.xml</coberturaReport>
  119. </coberturaReports>
  120. </configuration>
  121. </plugin>
  122. <plugin>
  123. <groupId>org.apache.maven.plugins</groupId>
  124. <artifactId>maven-release-plugin</artifactId>
  125. <version>2.5.3</version>
  126. <configuration>
  127. <releaseProfiles>release-sign-artifact</releaseProfiles>
  128. <preparationGoals>clean install</preparationGoals>
  129. </configuration>
  130. </plugin>
  131. <plugin>
  132. <groupId>org.sonatype.plugins</groupId>
  133. <artifactId>nexus-staging-maven-plugin</artifactId>
  134. <version>1.6.8</version>
  135. <extensions>true</extensions>
  136. <configuration>
  137. <serverId>ossrh</serverId>
  138. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  139. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  140. </configuration>
  141. </plugin>
  142. </plugins>
  143. <pluginManagement>
  144. <plugins>
  145. <plugin>
  146. <groupId>org.apache.felix</groupId>
  147. <artifactId>maven-bundle-plugin</artifactId>
  148. <version>${maven.bundle.plugin.version}</version>
  149. </plugin>
  150. </plugins>
  151. </pluginManagement>
  152. </build>
  153. <scm>
  154. <url>https://github.com/sbang/jsr330activator</url>
  155. <connection>scm:git:https://github.com/sbang/jsr330activator.git</connection>
  156. <tag>HEAD</tag>
  157. </scm>
  158. <issueManagement>
  159. <url>https://github.com/sbang/jsr330activator/issues</url>
  160. <system>Github issue tracker</system>
  161. </issueManagement>
  162. <ciManagement>
  163. <url>https://travis-ci.org/sbang/jsr330activator</url>
  164. <system>travis-ci</system>
  165. </ciManagement>
  166. <distributionManagement>
  167. <snapshotRepository>
  168. <id>ossrh</id>
  169. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  170. </snapshotRepository>
  171. <repository>
  172. <id>ossrh</id>
  173. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  174. </repository>
  175. </distributionManagement>
  176. <url>http://sbang.github.io/jsr330activator/</url>
  177. <profiles>
  178. <profile>
  179. <id>release-sign-artifact</id>
  180. <build>
  181. <plugins>
  182. <plugin>
  183. <groupId>org.apache.maven.plugins</groupId>
  184. <artifactId>maven-gpg-plugin</artifactId>
  185. <version>1.6</version>
  186. <executions>
  187. <execution>
  188. <id>sign-artifacts</id>
  189. <phase>verify</phase>
  190. <goals>
  191. <goal>sign</goal>
  192. </goals>
  193. <configuration>
  194. <gpgArguments>
  195. <arg>--pinentry-mode</arg>
  196. <arg>loopback</arg>
  197. </gpgArguments>
  198. </configuration>
  199. </execution>
  200. </executions>
  201. </plugin>
  202. </plugins>
  203. </build>
  204. </profile>
  205. </profiles>
  206. </project>