Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  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>2.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: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. <java.version>1.7</java.version>
  41. <slf4j.version>1.7.25</slf4j.version>
  42. <asm.version>7.0</asm.version>
  43. <junit.version>4.12</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. <source>${java.version}</source>
  61. <target>${java.version}</target>
  62. </configuration>
  63. </plugin>
  64. <plugin>
  65. <artifactId>maven-surefire-plugin</artifactId>
  66. <version>2.22.1</version>
  67. </plugin>
  68. <plugin>
  69. <artifactId>maven-jar-plugin</artifactId>
  70. <version>2.6</version>
  71. </plugin>
  72. </plugins>
  73. </pluginManagement>
  74. <plugins>
  75. <plugin>
  76. <groupId>org.apache.maven.plugins</groupId>
  77. <artifactId>maven-javadoc-plugin</artifactId>
  78. <version>3.0.1</version>
  79. <configuration>
  80. <skip>${javadoc.disabled}</skip>
  81. <doclint>none</doclint>
  82. <failOnWarnings>false</failOnWarnings>
  83. </configuration>
  84. <executions>
  85. <execution>
  86. <goals>
  87. <goal>jar</goal>
  88. </goals>
  89. </execution>
  90. </executions>
  91. </plugin>
  92. <plugin>
  93. <groupId>org.apache.maven.plugins</groupId>
  94. <artifactId>maven-source-plugin</artifactId>
  95. <version>3.0.1</version>
  96. <configuration>
  97. <skipSource>${source.disabled}</skipSource>
  98. </configuration>
  99. <executions>
  100. <execution>
  101. <goals>
  102. <goal>jar</goal>
  103. </goals>
  104. </execution>
  105. </executions>
  106. </plugin>
  107. <plugin>
  108. <groupId>org.apache.maven.plugins</groupId>
  109. <artifactId>maven-deploy-plugin</artifactId>
  110. <version>2.8.1</version>
  111. <configuration>
  112. <skip>${deploy.disabled}</skip>
  113. </configuration>
  114. </plugin>
  115. <plugin>
  116. <groupId>org.apache.maven.plugins</groupId>
  117. <artifactId>maven-release-plugin</artifactId>
  118. <version>2.5.3</version>
  119. <configuration>
  120. <goals>deploy</goals>
  121. <autoVersionSubmodules>true</autoVersionSubmodules>
  122. <tagNameFormat>release-@{project.version}</tagNameFormat>
  123. </configuration>
  124. </plugin>
  125. <plugin>
  126. <groupId>org.apache.maven.plugins</groupId>
  127. <artifactId>maven-resources-plugin</artifactId>
  128. <version>3.1.0</version>
  129. </plugin>
  130. <plugin>
  131. <artifactId>maven-jar-plugin</artifactId>
  132. <configuration>
  133. <archive>
  134. <manifest>
  135. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  136. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  137. </manifest>
  138. </archive>
  139. </configuration>
  140. </plugin>
  141. </plugins>
  142. </build>
  143. <modules>
  144. <module>pf4j</module>
  145. <module>demo</module>
  146. </modules>
  147. <profiles>
  148. <profile>
  149. <!-- Disable Javadoc generation on Java 11, as it fails with message on 11.0.2:
  150. "error - The code being documented uses modules but the packages defined in https://docs.oracle.com/javase/7/docs/api/ are in the unnamed module."
  151. -->
  152. <id>jdk11-build</id>
  153. <activation>
  154. <jdk>[11, 12)</jdk>
  155. </activation>
  156. <properties>
  157. <javadoc.disabled>true</javadoc.disabled>
  158. </properties>
  159. </profile>
  160. <profile>
  161. <id>travis</id>
  162. <activation>
  163. <property>
  164. <name>env.TRAVIS</name>
  165. <value>true</value>
  166. </property>
  167. </activation>
  168. <build>
  169. <plugins>
  170. <plugin>
  171. <groupId>org.codehaus.mojo</groupId>
  172. <artifactId>cobertura-maven-plugin</artifactId>
  173. <version>${cobertura.version}</version>
  174. <configuration>
  175. <formats>
  176. <format>xml</format>
  177. </formats>
  178. </configuration>
  179. </plugin>
  180. <plugin>
  181. <groupId>org.eluder.coveralls</groupId>
  182. <artifactId>coveralls-maven-plugin</artifactId>
  183. <version>${coveralls.version}</version>
  184. </plugin>
  185. </plugins>
  186. </build>
  187. </profile>
  188. <profile>
  189. <id>release-sign-artifacts</id>
  190. <activation>
  191. <property>
  192. <name>performRelease</name>
  193. <value>true</value>
  194. </property>
  195. </activation>
  196. <build>
  197. <plugins>
  198. <plugin>
  199. <groupId>org.apache.maven.plugins</groupId>
  200. <artifactId>maven-gpg-plugin</artifactId>
  201. <executions>
  202. <execution>
  203. <id>sign-artifacts</id>
  204. <phase>verify</phase>
  205. <goals>
  206. <goal>sign</goal>
  207. </goals>
  208. </execution>
  209. </executions>
  210. </plugin>
  211. </plugins>
  212. </build>
  213. </profile>
  214. </profiles>
  215. </project>