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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  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.10.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>https://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. <javadoc.disabled>false</javadoc.disabled>
  49. <deploy.disabled>false</deploy.disabled>
  50. <source.disabled>false</source.disabled>
  51. <sonar.organization>pf4j</sonar.organization>
  52. <sonar.host.url>https://sonarcloud.io</sonar.host.url>
  53. </properties>
  54. <build>
  55. <pluginManagement>
  56. <plugins>
  57. <plugin>
  58. <groupId>org.apache.maven.plugins</groupId>
  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. <groupId>org.apache.maven.plugins</groupId>
  67. <artifactId>maven-surefire-plugin</artifactId>
  68. <version>2.22.1</version>
  69. </plugin>
  70. <plugin>
  71. <groupId>org.apache.maven.plugins</groupId>
  72. <artifactId>maven-jar-plugin</artifactId>
  73. <version>2.6</version>
  74. </plugin>
  75. </plugins>
  76. </pluginManagement>
  77. <plugins>
  78. <plugin>
  79. <groupId>org.apache.maven.plugins</groupId>
  80. <artifactId>maven-javadoc-plugin</artifactId>
  81. <version>3.0.1</version>
  82. <configuration>
  83. <skip>${javadoc.disabled}</skip>
  84. <doclint>none</doclint>
  85. <failOnWarnings>false</failOnWarnings>
  86. <!-- Needed when run inside Intellij IDEA -->
  87. <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
  88. </configuration>
  89. <executions>
  90. <execution>
  91. <goals>
  92. <goal>jar</goal>
  93. </goals>
  94. </execution>
  95. </executions>
  96. </plugin>
  97. <plugin>
  98. <groupId>org.apache.maven.plugins</groupId>
  99. <artifactId>maven-source-plugin</artifactId>
  100. <version>3.0.1</version>
  101. <configuration>
  102. <skipSource>${source.disabled}</skipSource>
  103. </configuration>
  104. <executions>
  105. <execution>
  106. <goals>
  107. <goal>jar</goal>
  108. </goals>
  109. </execution>
  110. </executions>
  111. </plugin>
  112. <plugin>
  113. <groupId>org.apache.maven.plugins</groupId>
  114. <artifactId>maven-deploy-plugin</artifactId>
  115. <version>2.8.1</version>
  116. <configuration>
  117. <skip>${deploy.disabled}</skip>
  118. </configuration>
  119. </plugin>
  120. <plugin>
  121. <groupId>org.apache.maven.plugins</groupId>
  122. <artifactId>maven-release-plugin</artifactId>
  123. <version>2.5.3</version>
  124. <configuration>
  125. <goals>deploy</goals>
  126. <autoVersionSubmodules>true</autoVersionSubmodules>
  127. <tagNameFormat>release-@{project.version}</tagNameFormat>
  128. </configuration>
  129. </plugin>
  130. <plugin>
  131. <groupId>org.apache.maven.plugins</groupId>
  132. <artifactId>maven-resources-plugin</artifactId>
  133. <version>3.1.0</version>
  134. </plugin>
  135. <plugin>
  136. <groupId>org.apache.maven.plugins</groupId>
  137. <artifactId>maven-jar-plugin</artifactId>
  138. <configuration>
  139. <archive>
  140. <manifest>
  141. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  142. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  143. </manifest>
  144. </archive>
  145. </configuration>
  146. </plugin>
  147. </plugins>
  148. </build>
  149. <modules>
  150. <module>pf4j</module>
  151. <module>demo</module>
  152. <module>maven-archetypes/quickstart</module>
  153. </modules>
  154. <profiles>
  155. <profile>
  156. <id>release-sign-artifacts</id>
  157. <activation>
  158. <property>
  159. <name>performRelease</name>
  160. <value>true</value>
  161. </property>
  162. </activation>
  163. <build>
  164. <plugins>
  165. <plugin>
  166. <groupId>org.apache.maven.plugins</groupId>
  167. <artifactId>maven-gpg-plugin</artifactId>
  168. <executions>
  169. <execution>
  170. <id>sign-artifacts</id>
  171. <phase>verify</phase>
  172. <goals>
  173. <goal>sign</goal>
  174. </goals>
  175. </execution>
  176. </executions>
  177. </plugin>
  178. </plugins>
  179. </build>
  180. </profile>
  181. </profiles>
  182. </project>