You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. <?xml version="1.0"?>
  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. <parent>
  4. <groupId>org.sonatype.oss</groupId>
  5. <artifactId>oss-parent</artifactId>
  6. <version>7</version>
  7. </parent>
  8. <modelVersion>4.0.0</modelVersion>
  9. <groupId>org.pf4j</groupId>
  10. <artifactId>pf4j-parent</artifactId>
  11. <version>3.7.0-SNAPSHOT</version>
  12. <packaging>pom</packaging>
  13. <name>PF4J Parent</name>
  14. <description>Plugin Framework for Java</description>
  15. <licenses>
  16. <license>
  17. <name>The Apache Software License, Version 2.0</name>
  18. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  19. <distribution>repo</distribution>
  20. </license>
  21. </licenses>
  22. <scm>
  23. <connection>scm:git:https://github.com/pf4j/pf4j.git</connection>
  24. <developerConnection>scm:git:git@github.com:pf4j/pf4j.git</developerConnection>
  25. <url>git@github.com/pf4j/pf4j.git</url>
  26. <tag>HEAD</tag>
  27. </scm>
  28. <distributionManagement>
  29. <snapshotRepository>
  30. <id>ossrh</id>
  31. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  32. </snapshotRepository>
  33. <repository>
  34. <id>ossrh</id>
  35. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
  36. </repository>
  37. </distributionManagement>
  38. <properties>
  39. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  40. <maven.compiler.release>8</maven.compiler.release>
  41. <slf4j.version>1.7.30</slf4j.version>
  42. <log4j.version>2.13.1</log4j.version>
  43. <asm.version>9.1</asm.version>
  44. <junit.version>5.4.0</junit.version>
  45. <hamcrest.version>2.1</hamcrest.version>
  46. <mockito.version>3.8.0</mockito.version>
  47. <cobertura.version>2.7</cobertura.version>
  48. <coveralls.version>3.1.0</coveralls.version>
  49. <javadoc.disabled>false</javadoc.disabled>
  50. <deploy.disabled>false</deploy.disabled>
  51. <source.disabled>false</source.disabled>
  52. <sonar.organization>pf4j</sonar.organization>
  53. <sonar.host.url>https://sonarcloud.io</sonar.host.url>
  54. </properties>
  55. <build>
  56. <pluginManagement>
  57. <plugins>
  58. <plugin>
  59. <artifactId>maven-compiler-plugin</artifactId>
  60. <version>3.8.0</version>
  61. <configuration>
  62. <showWarnings>true</showWarnings>
  63. </configuration>
  64. </plugin>
  65. <plugin>
  66. <artifactId>maven-surefire-plugin</artifactId>
  67. <version>2.22.1</version>
  68. </plugin>
  69. <plugin>
  70. <artifactId>maven-jar-plugin</artifactId>
  71. <version>2.6</version>
  72. </plugin>
  73. </plugins>
  74. </pluginManagement>
  75. <plugins>
  76. <plugin>
  77. <groupId>org.apache.maven.plugins</groupId>
  78. <artifactId>maven-javadoc-plugin</artifactId>
  79. <version>3.0.1</version>
  80. <configuration>
  81. <skip>${javadoc.disabled}</skip>
  82. <doclint>none</doclint>
  83. <failOnWarnings>false</failOnWarnings>
  84. <!-- Needed when run inside Intellij IDEA -->
  85. <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
  86. </configuration>
  87. <executions>
  88. <execution>
  89. <goals>
  90. <goal>jar</goal>
  91. </goals>
  92. </execution>
  93. </executions>
  94. </plugin>
  95. <plugin>
  96. <groupId>org.apache.maven.plugins</groupId>
  97. <artifactId>maven-source-plugin</artifactId>
  98. <version>3.0.1</version>
  99. <configuration>
  100. <skipSource>${source.disabled}</skipSource>
  101. </configuration>
  102. <executions>
  103. <execution>
  104. <goals>
  105. <goal>jar</goal>
  106. </goals>
  107. </execution>
  108. </executions>
  109. </plugin>
  110. <plugin>
  111. <groupId>org.apache.maven.plugins</groupId>
  112. <artifactId>maven-deploy-plugin</artifactId>
  113. <version>2.8.1</version>
  114. <configuration>
  115. <skip>${deploy.disabled}</skip>
  116. </configuration>
  117. </plugin>
  118. <plugin>
  119. <groupId>org.apache.maven.plugins</groupId>
  120. <artifactId>maven-release-plugin</artifactId>
  121. <version>2.5.3</version>
  122. <configuration>
  123. <goals>deploy</goals>
  124. <autoVersionSubmodules>true</autoVersionSubmodules>
  125. <tagNameFormat>release-@{project.version}</tagNameFormat>
  126. </configuration>
  127. </plugin>
  128. <plugin>
  129. <groupId>org.apache.maven.plugins</groupId>
  130. <artifactId>maven-resources-plugin</artifactId>
  131. <version>3.1.0</version>
  132. </plugin>
  133. <plugin>
  134. <artifactId>maven-jar-plugin</artifactId>
  135. <configuration>
  136. <archive>
  137. <manifest>
  138. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  139. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  140. </manifest>
  141. </archive>
  142. </configuration>
  143. </plugin>
  144. </plugins>
  145. </build>
  146. <modules>
  147. <module>pf4j</module>
  148. <module>demo</module>
  149. <module>maven-archetypes/quickstart</module>
  150. </modules>
  151. <profiles>
  152. <profile>
  153. <id>travis</id>
  154. <activation>
  155. <property>
  156. <name>env.TRAVIS</name>
  157. <value>true</value>
  158. </property>
  159. </activation>
  160. <build>
  161. <plugins>
  162. <plugin>
  163. <groupId>org.codehaus.mojo</groupId>
  164. <artifactId>cobertura-maven-plugin</artifactId>
  165. <version>${cobertura.version}</version>
  166. <configuration>
  167. <formats>
  168. <format>xml</format>
  169. </formats>
  170. </configuration>
  171. </plugin>
  172. <plugin>
  173. <groupId>org.eluder.coveralls</groupId>
  174. <artifactId>coveralls-maven-plugin</artifactId>
  175. <version>${coveralls.version}</version>
  176. </plugin>
  177. </plugins>
  178. </build>
  179. </profile>
  180. <profile>
  181. <id>release-sign-artifacts</id>
  182. <activation>
  183. <property>
  184. <name>performRelease</name>
  185. <value>true</value>
  186. </property>
  187. </activation>
  188. <build>
  189. <plugins>
  190. <plugin>
  191. <groupId>org.apache.maven.plugins</groupId>
  192. <artifactId>maven-gpg-plugin</artifactId>
  193. <executions>
  194. <execution>
  195. <id>sign-artifacts</id>
  196. <phase>verify</phase>
  197. <goals>
  198. <goal>sign</goal>
  199. </goals>
  200. </execution>
  201. </executions>
  202. </plugin>
  203. </plugins>
  204. </build>
  205. </profile>
  206. </profiles>
  207. </project>