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.

358 lines
12KB

  1. <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">
  2. <modelVersion>4.0.0</modelVersion>
  3. <parent>
  4. <groupId>org.jboss</groupId>
  5. <artifactId>jboss-parent</artifactId>
  6. <version>39</version>
  7. </parent>
  8. <groupId>tmp.io.quarkiverse</groupId>
  9. <artifactId>placeholder.quarkiverse-parent</artifactId>
  10. <version>9</version>
  11. <name>Quarkiverse: Parent POM</name>
  12. <description>Parent POM for Quarkiverse projects that includes the default release and artifact publishing related
  13. configuration
  14. </description>
  15. <url>https://quarkiverse.io</url>
  16. <inceptionYear>2020</inceptionYear>
  17. <packaging>pom</packaging>
  18. <properties>
  19. <version.formatter.plugin>2.17.1</version.formatter.plugin>
  20. <version.impsort.plugin>1.6.2</version.impsort.plugin>
  21. <version.quarkus.ide-config>2.5.1.Final</version.quarkus.ide-config>
  22. <format.skip>false</format.skip>
  23. <maven.compiler.parameters>true</maven.compiler.parameters>
  24. <maven.compiler.source>11</maven.compiler.source>
  25. <maven.compiler.target>11</maven.compiler.target>
  26. <maven.compiler.release>11</maven.compiler.release>
  27. <maven.javadoc.failOnError>false</maven.javadoc.failOnError>
  28. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  29. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  30. <asciidoctorj.version>2.5.2</asciidoctorj.version>
  31. <asciidoctor-maven-plugin.version>2.2.1</asciidoctor-maven-plugin.version>
  32. <yaml-properties-maven-plugin.version>1.1.3</yaml-properties-maven-plugin.version>
  33. </properties>
  34. <licenses>
  35. <license>
  36. <name>Apache License, Version 2.0</name>
  37. <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
  38. <distribution>repo</distribution>
  39. </license>
  40. </licenses>
  41. <issueManagement>
  42. <system>GitHub</system>
  43. <url>https://github.com/quarkusio/quarkus/issues</url>
  44. </issueManagement>
  45. <developers>
  46. <developer>
  47. <id>aloubyansky</id>
  48. <name>Alexey Loubyansky</name>
  49. <email>alexey.loubyansky@redhat.com</email>
  50. <organization>Red Hat</organization>
  51. <organizationUrl>https://www.redhat.com/</organizationUrl>
  52. </developer>
  53. <developer>
  54. <id>gastaldi</id>
  55. <name>George Gastaldi</name>
  56. <email>ggastald@redhat.com</email>
  57. <organization>Red Hat</organization>
  58. <organizationUrl>https://www.redhat.com/</organizationUrl>
  59. </developer>
  60. <developer>
  61. <id>maxandersen</id>
  62. <name>Max Rydahl Andersen</name>
  63. <email>max@xam.dk</email>
  64. <organization>Red Hat</organization>
  65. <organizationUrl>https://www.redhat.com/</organizationUrl>
  66. </developer>
  67. </developers>
  68. <scm>
  69. <connection>scm:git:git@github.com:quarkiverse/quarkiverse-parent.git</connection>
  70. <developerConnection>scm:git:git@github.com:quarkiverse/quarkiverse-parent.git</developerConnection>
  71. <url>https://github.com/quarkiverse/quarkiverse-parent</url>
  72. <tag>9</tag>
  73. </scm>
  74. <distributionManagement>
  75. <snapshotRepository>
  76. <id>ossrh</id>
  77. <url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
  78. </snapshotRepository>
  79. <repository>
  80. <id>oss.sonatype</id>
  81. <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  82. </repository>
  83. </distributionManagement>
  84. <build>
  85. <plugins>
  86. <plugin>
  87. <groupId>org.apache.maven.plugins</groupId>
  88. <artifactId>maven-release-plugin</artifactId>
  89. <configuration>
  90. <autoVersionSubmodules>true</autoVersionSubmodules>
  91. <tagNameFormat>@{project.version}</tagNameFormat>
  92. <pushChanges>false</pushChanges>
  93. <localCheckout>true</localCheckout>
  94. <remoteTagging>false</remoteTagging>
  95. </configuration>
  96. </plugin>
  97. </plugins>
  98. <pluginManagement>
  99. <plugins>
  100. <plugin>
  101. <groupId>net.revelc.code.formatter</groupId>
  102. <artifactId>formatter-maven-plugin</artifactId>
  103. <version>${version.formatter.plugin}</version>
  104. <dependencies>
  105. <dependency>
  106. <groupId>io.quarkus</groupId>
  107. <artifactId>quarkus-ide-config</artifactId>
  108. <version>${version.quarkus.ide-config}</version>
  109. </dependency>
  110. </dependencies>
  111. <configuration>
  112. <configFile>eclipse-format.xml</configFile>
  113. <lineEnding>LF</lineEnding>
  114. <skip>${format.skip}</skip>
  115. </configuration>
  116. <executions>
  117. <execution>
  118. <phase>process-sources</phase>
  119. <goals>
  120. <goal>format</goal>
  121. </goals>
  122. </execution>
  123. </executions>
  124. </plugin>
  125. <plugin>
  126. <groupId>net.revelc.code</groupId>
  127. <artifactId>impsort-maven-plugin</artifactId>
  128. <version>${version.impsort.plugin}</version>
  129. <configuration>
  130. <groups>java.,javax.,org.,com.</groups>
  131. <staticGroups>*</staticGroups>
  132. <skip>${format.skip}</skip>
  133. <removeUnused>true</removeUnused>
  134. </configuration>
  135. <executions>
  136. <execution>
  137. <id>sort-imports</id>
  138. <goals>
  139. <goal>sort</goal>
  140. </goals>
  141. </execution>
  142. </executions>
  143. </plugin>
  144. <plugin>
  145. <artifactId>maven-surefire-plugin</artifactId>
  146. <configuration>
  147. <systemPropertyVariables>
  148. <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
  149. <maven.home>${maven.home}</maven.home>
  150. <maven.repo>${settings.localRepository}</maven.repo>
  151. </systemPropertyVariables>
  152. </configuration>
  153. </plugin>
  154. <plugin>
  155. <artifactId>maven-failsafe-plugin</artifactId>
  156. <configuration>
  157. <systemPropertyVariables>
  158. <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
  159. <maven.home>${maven.home}</maven.home>
  160. <maven.repo>${settings.localRepository}</maven.repo>
  161. </systemPropertyVariables>
  162. </configuration>
  163. </plugin>
  164. <plugin>
  165. <groupId>it.ozimov</groupId>
  166. <artifactId>yaml-properties-maven-plugin</artifactId>
  167. <version>${yaml-properties-maven-plugin.version}</version>
  168. </plugin>
  169. <plugin>
  170. <groupId>org.asciidoctor</groupId>
  171. <artifactId>asciidoctor-maven-plugin</artifactId>
  172. <version>${asciidoctor-maven-plugin.version}</version>
  173. <configuration>
  174. <enableVerbose>true</enableVerbose>
  175. <logHandler>
  176. <failIf>
  177. <severity>WARN</severity>
  178. </failIf>
  179. </logHandler>
  180. <sourceDirectory>${project.basedir}/modules/ROOT/pages/</sourceDirectory>
  181. <preserveDirectories>true</preserveDirectories>
  182. <attributes>
  183. <icons>font</icons>
  184. <imagesdir>./_images/</imagesdir>
  185. <sectanchors>true</sectanchors>
  186. <idprefix />
  187. <idseparator>-</idseparator>
  188. <docinfo1>true</docinfo1>
  189. <skip-front-matter>true</skip-front-matter>
  190. </attributes>
  191. </configuration>
  192. <executions>
  193. <execution>
  194. <id>output-html</id>
  195. <phase>prepare-package</phase>
  196. <goals>
  197. <goal>process-asciidoc</goal>
  198. </goals>
  199. <configuration>
  200. <backend>html5</backend>
  201. <attributes>
  202. <source-highlighter>coderay</source-highlighter>
  203. <linkcss>true</linkcss>
  204. <copycss>true</copycss>
  205. </attributes>
  206. </configuration>
  207. </execution>
  208. </executions>
  209. <dependencies>
  210. <dependency>
  211. <groupId>org.asciidoctor</groupId>
  212. <artifactId>asciidoctorj</artifactId>
  213. <version>${asciidoctorj.version}</version>
  214. </dependency>
  215. </dependencies>
  216. </plugin>
  217. </plugins>
  218. </pluginManagement>
  219. </build>
  220. <profiles>
  221. <profile>
  222. <id>format</id>
  223. <activation>
  224. <activeByDefault>true</activeByDefault>
  225. <property>
  226. <name>!no-format</name>
  227. </property>
  228. </activation>
  229. <build>
  230. <plugins>
  231. <plugin>
  232. <groupId>net.revelc.code.formatter</groupId>
  233. <artifactId>formatter-maven-plugin</artifactId>
  234. <executions>
  235. <execution>
  236. <phase>process-sources</phase>
  237. <goals>
  238. <goal>format</goal>
  239. </goals>
  240. </execution>
  241. </executions>
  242. </plugin>
  243. <plugin>
  244. <groupId>net.revelc.code</groupId>
  245. <artifactId>impsort-maven-plugin</artifactId>
  246. <configuration>
  247. <removeUnused>true</removeUnused>
  248. </configuration>
  249. <executions>
  250. <execution>
  251. <id>sort-imports</id>
  252. <goals>
  253. <goal>sort</goal>
  254. </goals>
  255. </execution>
  256. </executions>
  257. </plugin>
  258. </plugins>
  259. </build>
  260. </profile>
  261. <profile>
  262. <id>validate</id>
  263. <activation>
  264. <activeByDefault>true</activeByDefault>
  265. <property>
  266. <name>no-format</name>
  267. </property>
  268. </activation>
  269. <build>
  270. <plugins>
  271. <plugin>
  272. <groupId>net.revelc.code.formatter</groupId>
  273. <artifactId>formatter-maven-plugin</artifactId>
  274. <executions>
  275. <execution>
  276. <phase>process-sources</phase>
  277. <goals>
  278. <goal>validate</goal>
  279. </goals>
  280. </execution>
  281. </executions>
  282. </plugin>
  283. <plugin>
  284. <groupId>net.revelc.code</groupId>
  285. <artifactId>impsort-maven-plugin</artifactId>
  286. <configuration>
  287. <removeUnused>true</removeUnused>
  288. </configuration>
  289. <executions>
  290. <execution>
  291. <id>check-imports</id>
  292. <goals>
  293. <goal>check</goal>
  294. </goals>
  295. </execution>
  296. </executions>
  297. </plugin>
  298. </plugins>
  299. </build>
  300. </profile>
  301. <profile>
  302. <id>release</id>
  303. <build>
  304. <plugins>
  305. <plugin>
  306. <groupId>org.apache.maven.plugins</groupId>
  307. <artifactId>maven-gpg-plugin</artifactId>
  308. <configuration>
  309. <gpgArguments>
  310. <arg>--pinentry-mode</arg>
  311. <arg>loopback</arg>
  312. </gpgArguments>
  313. </configuration>
  314. <executions>
  315. <execution>
  316. <id>sign-artifacts</id>
  317. <phase>verify</phase>
  318. <goals>
  319. <goal>sign</goal>
  320. </goals>
  321. </execution>
  322. </executions>
  323. </plugin>
  324. <plugin>
  325. <artifactId>maven-javadoc-plugin</artifactId>
  326. <executions>
  327. <execution>
  328. <phase>package</phase>
  329. <goals>
  330. <goal>jar</goal>
  331. </goals>
  332. </execution>
  333. </executions>
  334. </plugin>
  335. <plugin>
  336. <groupId>org.sonatype.plugins</groupId>
  337. <artifactId>nexus-staging-maven-plugin</artifactId>
  338. <version>1.6.8</version>
  339. <extensions>true</extensions>
  340. <configuration>
  341. <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
  342. <serverId>ossrh</serverId>
  343. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  344. <stagingProgressTimeoutMinutes>60</stagingProgressTimeoutMinutes>
  345. </configuration>
  346. </plugin>
  347. </plugins>
  348. </build>
  349. </profile>
  350. </profiles>
  351. <dependencies>
  352. <dependency>
  353. <groupId>io.quarkiverse</groupId>
  354. <artifactId>quarkiverse-parent</artifactId>
  355. <version>9</version>
  356. </dependency>
  357. </dependencies>
  358. </project>