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.

pom.xml 7.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  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. </properties>
  53. <build>
  54. <pluginManagement>
  55. <plugins>
  56. <plugin>
  57. <artifactId>maven-compiler-plugin</artifactId>
  58. <version>3.8.0</version>
  59. <configuration>
  60. <showWarnings>true</showWarnings>
  61. </configuration>
  62. </plugin>
  63. <plugin>
  64. <artifactId>maven-surefire-plugin</artifactId>
  65. <version>2.22.1</version>
  66. </plugin>
  67. <plugin>
  68. <artifactId>maven-jar-plugin</artifactId>
  69. <version>2.6</version>
  70. </plugin>
  71. </plugins>
  72. </pluginManagement>
  73. <plugins>
  74. <plugin>
  75. <groupId>org.apache.maven.plugins</groupId>
  76. <artifactId>maven-javadoc-plugin</artifactId>
  77. <version>3.0.1</version>
  78. <configuration>
  79. <skip>${javadoc.disabled}</skip>
  80. <doclint>none</doclint>
  81. <failOnWarnings>false</failOnWarnings>
  82. <!-- Needed when run inside Intellij IDEA -->
  83. <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
  84. </configuration>
  85. <executions>
  86. <execution>
  87. <goals>
  88. <goal>jar</goal>
  89. </goals>
  90. </execution>
  91. </executions>
  92. </plugin>
  93. <plugin>
  94. <groupId>org.apache.maven.plugins</groupId>
  95. <artifactId>maven-source-plugin</artifactId>
  96. <version>3.0.1</version>
  97. <configuration>
  98. <skipSource>${source.disabled}</skipSource>
  99. </configuration>
  100. <executions>
  101. <execution>
  102. <goals>
  103. <goal>jar</goal>
  104. </goals>
  105. </execution>
  106. </executions>
  107. </plugin>
  108. <plugin>
  109. <groupId>org.apache.maven.plugins</groupId>
  110. <artifactId>maven-deploy-plugin</artifactId>
  111. <version>2.8.1</version>
  112. <configuration>
  113. <skip>${deploy.disabled}</skip>
  114. </configuration>
  115. </plugin>
  116. <plugin>
  117. <groupId>org.apache.maven.plugins</groupId>
  118. <artifactId>maven-release-plugin</artifactId>
  119. <version>2.5.3</version>
  120. <configuration>
  121. <goals>deploy</goals>
  122. <autoVersionSubmodules>true</autoVersionSubmodules>
  123. <tagNameFormat>release-@{project.version}</tagNameFormat>
  124. </configuration>
  125. </plugin>
  126. <plugin>
  127. <groupId>org.apache.maven.plugins</groupId>
  128. <artifactId>maven-resources-plugin</artifactId>
  129. <version>3.1.0</version>
  130. </plugin>
  131. <plugin>
  132. <artifactId>maven-jar-plugin</artifactId>
  133. <configuration>
  134. <archive>
  135. <manifest>
  136. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  137. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  138. </manifest>
  139. </archive>
  140. </configuration>
  141. </plugin>
  142. </plugins>
  143. </build>
  144. <modules>
  145. <module>pf4j</module>
  146. <module>demo</module>
  147. <module>maven-archetypes/quickstart</module>
  148. </modules>
  149. <profiles>
  150. <profile>
  151. <id>travis</id>
  152. <activation>
  153. <property>
  154. <name>env.TRAVIS</name>
  155. <value>true</value>
  156. </property>
  157. </activation>
  158. <build>
  159. <plugins>
  160. <plugin>
  161. <groupId>org.codehaus.mojo</groupId>
  162. <artifactId>cobertura-maven-plugin</artifactId>
  163. <version>${cobertura.version}</version>
  164. <configuration>
  165. <formats>
  166. <format>xml</format>
  167. </formats>
  168. </configuration>
  169. </plugin>
  170. <plugin>
  171. <groupId>org.eluder.coveralls</groupId>
  172. <artifactId>coveralls-maven-plugin</artifactId>
  173. <version>${coveralls.version}</version>
  174. </plugin>
  175. </plugins>
  176. </build>
  177. </profile>
  178. <profile>
  179. <id>release-sign-artifacts</id>
  180. <activation>
  181. <property>
  182. <name>performRelease</name>
  183. <value>true</value>
  184. </property>
  185. </activation>
  186. <build>
  187. <plugins>
  188. <plugin>
  189. <groupId>org.apache.maven.plugins</groupId>
  190. <artifactId>maven-gpg-plugin</artifactId>
  191. <executions>
  192. <execution>
  193. <id>sign-artifacts</id>
  194. <phase>verify</phase>
  195. <goals>
  196. <goal>sign</goal>
  197. </goals>
  198. </execution>
  199. </executions>
  200. </plugin>
  201. </plugins>
  202. </build>
  203. </profile>
  204. </profiles>
  205. </project>