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

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