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.7KB

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