vertx-core-4.3.7.pom 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907
  1. <?xml version="1.0"?>
  2. <!--
  3. ~ Copyright (c) 2011-2019 Contributors to the Eclipse Foundation
  4. ~
  5. ~ This program and the accompanying materials are made available under the
  6. ~ terms of the Eclipse Public License 2.0 which is available at
  7. ~
  8. ~ http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
  9. ~ which is available at https://www.apache.org/licenses/LICENSE-2.0.
  10. ~
  11. ~ SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
  12. ~
  13. --><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">
  14. <modelVersion>4.0.0</modelVersion>
  15. <parent>
  16. <groupId>io.vertx</groupId>
  17. <artifactId>vertx-parent</artifactId>
  18. <version>19</version>
  19. </parent>
  20. <artifactId>vertx-core</artifactId>
  21. <version>4.3.7</version>
  22. <name>Vert.x Core</name>
  23. <licenses>
  24. <license>
  25. <name>The Apache Software License, Version 2.0</name>
  26. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  27. <distribution>repo</distribution>
  28. </license>
  29. <license>
  30. <name>Eclipse Public License - v 2.0</name>
  31. <url>http://www.eclipse.org/legal/epl-v20.html</url>
  32. <distribution>repo</distribution>
  33. </license>
  34. </licenses>
  35. <scm>
  36. <connection>scm:git:git@github.com:eclipse/vert.x.git</connection>
  37. <developerConnection>scm:git:git@github.com:eclipse/vert.x.git</developerConnection>
  38. <url>git@github.com:eclipse/vert.x.git</url>
  39. </scm>
  40. <properties>
  41. <slf4j.version>1.7.21</slf4j.version>
  42. <log4j2.version>2.17.1</log4j2.version>
  43. <junit.version>4.13.1</junit.version>
  44. <assertj.version>3.4.1</assertj.version>
  45. <apacheds-protocol-dns.version>1.5.7</apacheds-protocol-dns.version>
  46. <generated.dir>${project.basedir}/src/main/generated</generated.dir>
  47. <stack.version>4.3.7</stack.version>
  48. <jmh.version>1.19</jmh.version>
  49. <vertx.testNativeTransport>false</vertx.testNativeTransport>
  50. <vertx.testDomainSockets>false</vertx.testDomainSockets>
  51. <jar.manifest>${project.basedir}/src/main/resources/META-INF/MANIFEST.MF</jar.manifest>
  52. </properties>
  53. <dependencyManagement>
  54. <dependencies>
  55. <dependency>
  56. <groupId>io.vertx</groupId>
  57. <artifactId>vertx-dependencies</artifactId>
  58. <version>${stack.version}</version>
  59. <type>pom</type>
  60. <scope>import</scope>
  61. </dependency>
  62. </dependencies>
  63. </dependencyManagement>
  64. <dependencies>
  65. <!-- We depend on the specific Netty dependencies not netty-all to reduce the size of fatjars -->
  66. <dependency>
  67. <groupId>io.netty</groupId>
  68. <artifactId>netty-common</artifactId>
  69. </dependency>
  70. <dependency>
  71. <groupId>io.netty</groupId>
  72. <artifactId>netty-buffer</artifactId>
  73. </dependency>
  74. <dependency>
  75. <groupId>io.netty</groupId>
  76. <artifactId>netty-transport</artifactId>
  77. </dependency>
  78. <dependency>
  79. <groupId>io.netty</groupId>
  80. <artifactId>netty-handler</artifactId>
  81. </dependency>
  82. <dependency>
  83. <groupId>io.netty</groupId>
  84. <artifactId>netty-handler-proxy</artifactId>
  85. </dependency>
  86. <dependency>
  87. <groupId>io.netty</groupId>
  88. <artifactId>netty-codec-http</artifactId>
  89. </dependency>
  90. <dependency>
  91. <groupId>io.netty</groupId>
  92. <artifactId>netty-codec-http2</artifactId>
  93. </dependency>
  94. <dependency>
  95. <groupId>io.netty</groupId>
  96. <artifactId>netty-resolver</artifactId>
  97. </dependency>
  98. <dependency>
  99. <groupId>io.netty</groupId>
  100. <artifactId>netty-resolver-dns</artifactId>
  101. </dependency>
  102. <dependency>
  103. <groupId>io.netty</groupId>
  104. <artifactId>netty-codec-haproxy</artifactId>
  105. <optional>true</optional>
  106. </dependency>
  107. <dependency>
  108. <groupId>io.netty</groupId>
  109. <artifactId>netty-transport-native-epoll</artifactId>
  110. <optional>true</optional>
  111. </dependency>
  112. <dependency>
  113. <groupId>io.netty</groupId>
  114. <artifactId>netty-transport-native-kqueue</artifactId>
  115. <optional>true</optional>
  116. </dependency>
  117. <!-- Jackson -->
  118. <dependency>
  119. <groupId>com.fasterxml.jackson.core</groupId>
  120. <artifactId>jackson-core</artifactId>
  121. </dependency>
  122. <dependency>
  123. <groupId>com.fasterxml.jackson.core</groupId>
  124. <artifactId>jackson-databind</artifactId>
  125. <optional>true</optional>
  126. </dependency>
  127. <!-- Loggers -->
  128. <dependency>
  129. <groupId>org.apache.logging.log4j</groupId>
  130. <artifactId>log4j-api</artifactId>
  131. <version>${log4j2.version}</version>
  132. <scope>provided</scope>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.apache.logging.log4j</groupId>
  136. <artifactId>log4j-core</artifactId>
  137. <version>${log4j2.version}</version>
  138. <scope>provided</scope>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.slf4j</groupId>
  142. <artifactId>slf4j-api</artifactId>
  143. <version>${slf4j.version}</version>
  144. <scope>provided</scope>
  145. </dependency>
  146. <!-- Generators -->
  147. <dependency>
  148. <groupId>io.vertx</groupId>
  149. <artifactId>vertx-codegen</artifactId>
  150. <optional>true</optional>
  151. </dependency>
  152. <dependency>
  153. <groupId>io.vertx</groupId>
  154. <artifactId>vertx-docgen</artifactId>
  155. <optional>true</optional>
  156. </dependency>
  157. <!-- Testing -->
  158. <dependency>
  159. <groupId>junit</groupId>
  160. <artifactId>junit</artifactId>
  161. <version>${junit.version}</version>
  162. <scope>test</scope>
  163. </dependency>
  164. <dependency>
  165. <groupId>org.apache.directory.server</groupId>
  166. <artifactId>apacheds-protocol-dns</artifactId>
  167. <version>${apacheds-protocol-dns.version}</version>
  168. <scope>test</scope>
  169. </dependency>
  170. <dependency>
  171. <groupId>org.assertj</groupId>
  172. <artifactId>assertj-core</artifactId>
  173. <version>${assertj.version}</version>
  174. <scope>test</scope>
  175. </dependency>
  176. <dependency>
  177. <groupId>org.slf4j</groupId>
  178. <artifactId>slf4j-simple</artifactId>
  179. <version>${slf4j.version}</version>
  180. <scope>test</scope>
  181. </dependency>
  182. <dependency>
  183. <groupId>io.netty</groupId>
  184. <artifactId>netty-tcnative-boringssl-static</artifactId>
  185. <scope>test</scope>
  186. </dependency>
  187. <dependency>
  188. <groupId>com.aayushatharva.brotli4j</groupId>
  189. <artifactId>brotli4j</artifactId>
  190. <version>1.7.1</version>
  191. <scope>test</scope>
  192. </dependency>
  193. <!-- JMH -->
  194. <dependency>
  195. <groupId>org.openjdk.jmh</groupId>
  196. <artifactId>jmh-core</artifactId>
  197. <version>${jmh.version}</version>
  198. <scope>test</scope>
  199. </dependency>
  200. </dependencies>
  201. <build>
  202. <pluginManagement>
  203. <plugins>
  204. <plugin>
  205. <groupId>org.apache.maven.plugins</groupId>
  206. <artifactId>maven-surefire-plugin</artifactId>
  207. <version>${maven.surefire.plugin.version}</version>
  208. <configuration>
  209. <failIfNoSpecifiedTests>false</failIfNoSpecifiedTests>
  210. <additionalClasspathElements>
  211. <additionalClasspathElement>${project.build.testSourceDirectory}</additionalClasspathElement>
  212. <additionalClasspathElement>${project.basedir}/src/test/classpath/jul</additionalClasspathElement>
  213. </additionalClasspathElements>
  214. <systemPropertyVariables>
  215. <!-- Uncomment to debug SSL -->
  216. <!--
  217. <javax.net.debug>ssl</javax.net.debug>
  218. -->
  219. <!-- Uncomment to run with leak detection -->
  220. <!--
  221. <io.netty.leakDetection.level>PARANOID</io.netty.leakDetection.level>
  222. -->
  223. <buildDirectory>${project.build.directory}</buildDirectory>
  224. <vertx.version>${project.version}</vertx.version>
  225. <vertx.handle100Continue>true</vertx.handle100Continue>
  226. <vertx.useNativeTransport>${vertx.testNativeTransport}</vertx.useNativeTransport>
  227. <vertx.useDomainSockets>${vertx.testDomainSockets}</vertx.useDomainSockets>
  228. <vertx.threadChecks>true</vertx.threadChecks>
  229. </systemPropertyVariables>
  230. <!-- Needs to be small enough to run in a EC2 1.7GB small instance -->
  231. <!-- IMPORTANT: when modifying this line, don't forge to modify the same line in the`coverage` profile -->
  232. <argLine>-Xmx1200M</argLine>
  233. <forkCount>1</forkCount>
  234. <reuseForks>true</reuseForks>
  235. <excludes>
  236. <exclude>io/vertx/it/**</exclude>
  237. </excludes>
  238. </configuration>
  239. </plugin>
  240. <plugin>
  241. <artifactId>maven-javadoc-plugin</artifactId>
  242. <configuration>
  243. <reportOutputDirectory>${project.build.directory}/docs</reportOutputDirectory>
  244. </configuration>
  245. </plugin>
  246. <plugin>
  247. <artifactId>maven-clean-plugin</artifactId>
  248. <executions>
  249. <execution>
  250. <id>default-clean</id>
  251. <configuration>
  252. <filesets>
  253. <fileset>
  254. <directory>${generated.dir}</directory>
  255. </fileset>
  256. </filesets>
  257. </configuration>
  258. </execution>
  259. </executions>
  260. </plugin>
  261. <plugin>
  262. <groupId>org.apache.maven.plugins</groupId>
  263. <artifactId>maven-source-plugin</artifactId>
  264. <configuration>
  265. <excludes>
  266. <exclude>docoverride/**</exclude>
  267. </excludes>
  268. </configuration>
  269. </plugin>
  270. <plugin>
  271. <groupId>org.apache.maven.plugins</groupId>
  272. <artifactId>maven-jar-plugin</artifactId>
  273. <executions>
  274. <execution>
  275. <id>default-jar</id>
  276. <configuration>
  277. <archive>
  278. <manifestEntries>
  279. <Multi-Release>true</Multi-Release>
  280. </manifestEntries>
  281. </archive>
  282. </configuration>
  283. </execution>
  284. </executions>
  285. </plugin>
  286. </plugins>
  287. </pluginManagement>
  288. <plugins>
  289. <plugin>
  290. <artifactId>maven-compiler-plugin</artifactId>
  291. <executions>
  292. <execution>
  293. <id>jdk11</id>
  294. <phase>compile</phase>
  295. <goals>
  296. <goal>compile</goal>
  297. </goals>
  298. <configuration>
  299. <compileSourceRoots>
  300. <compileSourceRoot>${project.basedir}/src/main/java11</compileSourceRoot>
  301. </compileSourceRoots>
  302. <outputDirectory>${project.build.outputDirectory}/META-INF/versions/11/</outputDirectory>
  303. </configuration>
  304. </execution>
  305. <execution>
  306. <id>test-service-helper</id>
  307. <phase>test-compile</phase>
  308. <goals>
  309. <goal>testCompile</goal>
  310. </goals>
  311. <configuration>
  312. <compileSourceRoots>
  313. <compileSourceRoot>${project.basedir}/src/test/classpath/servicehelper</compileSourceRoot>
  314. </compileSourceRoots>
  315. <outputDirectory>${project.build.directory}/classpath/servicehelper</outputDirectory>
  316. </configuration>
  317. </execution>
  318. </executions>
  319. </plugin>
  320. <plugin>
  321. <artifactId>maven-resources-plugin</artifactId>
  322. <executions>
  323. <execution>
  324. <id>copy-service-helper</id>
  325. <phase>generate-test-resources</phase>
  326. <goals>
  327. <goal>copy-resources</goal>
  328. </goals>
  329. <configuration>
  330. <outputDirectory>${project.build.directory}/classpath</outputDirectory>
  331. <resources>
  332. <resource>
  333. <directory>src/test/classpath</directory>
  334. </resource>
  335. </resources>
  336. </configuration>
  337. </execution>
  338. </executions>
  339. </plugin>
  340. <plugin>
  341. <groupId>org.bsc.maven</groupId>
  342. <artifactId>maven-processor-plugin</artifactId>
  343. <version>3.1.0</version>
  344. <configuration>
  345. <systemProperties>
  346. <java.util.logging.SimpleFormatter.format>%4$s: %3$s - %5$s %6$s%n</java.util.logging.SimpleFormatter.format>
  347. </systemProperties>
  348. </configuration>
  349. <executions>
  350. <execution>
  351. <id>generate-sources</id>
  352. <goals>
  353. <goal>process</goal>
  354. </goals>
  355. <phase>generate-sources</phase>
  356. <configuration>
  357. <processors>
  358. <processor>io.vertx.codegen.CodeGenProcessor</processor>
  359. <processor>io.vertx.docgen.JavaDocGenProcessor</processor>
  360. </processors>
  361. <optionMap>
  362. <codegen.output>${project.basedir}/src/main</codegen.output>
  363. <codegen.output.data_object_converters>generated</codegen.output.data_object_converters>
  364. <docgen.source>${asciidoc.dir}</docgen.source>
  365. <docgen.output>${project.build.directory}/asciidoc/java</docgen.output>
  366. <maven.groupId>${project.groupId}</maven.groupId>
  367. <maven.artifactId>${project.artifactId}</maven.artifactId>
  368. <maven.version>${project.version}</maven.version>
  369. </optionMap>
  370. </configuration>
  371. </execution>
  372. </executions>
  373. </plugin>
  374. <plugin>
  375. <groupId>org.codehaus.mojo</groupId>
  376. <artifactId>build-helper-maven-plugin</artifactId>
  377. <version>3.0.0</version>
  378. <executions>
  379. <execution>
  380. <id>add-source</id>
  381. <phase>generate-sources</phase>
  382. <goals>
  383. <goal>add-source</goal>
  384. </goals>
  385. <configuration>
  386. <sources>
  387. <source>${generated.dir}</source>
  388. <source>${asciidoc.dir}</source>
  389. </sources>
  390. </configuration>
  391. </execution>
  392. <execution>
  393. <id>add-test-source</id>
  394. <phase>generate-test-sources</phase>
  395. <goals>
  396. <goal>add-test-source</goal>
  397. </goals>
  398. <configuration>
  399. <sources>
  400. <source>${project.basedir}/src/test/benchmarks</source>
  401. </sources>
  402. </configuration>
  403. </execution>
  404. </executions>
  405. </plugin>
  406. <!-- Tests that require to run with different JVM settings -->
  407. <plugin>
  408. <groupId>org.apache.maven.plugins</groupId>
  409. <artifactId>maven-failsafe-plugin</artifactId>
  410. <version>2.19.1</version>
  411. <executions>
  412. <execution>
  413. <id>ssl-engine:default</id>
  414. <goals>
  415. <goal>integration-test</goal>
  416. <goal>verify</goal>
  417. </goals>
  418. <configuration>
  419. <includes>
  420. <include>io/vertx/it/SSLEngineTest.java</include>
  421. </includes>
  422. <systemProperties>
  423. <vertx-test-alpn-openssl>false</vertx-test-alpn-openssl>
  424. </systemProperties>
  425. <classpathDependencyExcludes>
  426. <classpathDependencyExclude>io.netty:netty-tcnative-boringssl-static</classpathDependencyExclude>
  427. </classpathDependencyExcludes>
  428. </configuration>
  429. </execution>
  430. <execution>
  431. <id>ssl-engine:openssl</id>
  432. <goals>
  433. <goal>integration-test</goal>
  434. <goal>verify</goal>
  435. </goals>
  436. <configuration>
  437. <includes>
  438. <include>io/vertx/it/SSLEngineTest.java</include>
  439. </includes>
  440. <systemProperties>
  441. <vertx-test-alpn-openssl>true</vertx-test-alpn-openssl>
  442. </systemProperties>
  443. </configuration>
  444. </execution>
  445. <execution>
  446. <id>no-native</id>
  447. <goals>
  448. <goal>integration-test</goal>
  449. <goal>verify</goal>
  450. </goals>
  451. <configuration>
  452. <includes>
  453. <include>io/vertx/it/TransportTest.java</include>
  454. </includes>
  455. <classpathDependencyExcludes>
  456. <classpathDependencyExclude>io.netty:netty-transport-native-epoll</classpathDependencyExclude>
  457. <classpathDependencyExclude>io.netty:netty-transport-classes-epoll</classpathDependencyExclude>
  458. <classpathDependencyExclude>io.netty:netty-transport-native-kqueue</classpathDependencyExclude>
  459. <classpathDependencyExclude>io.netty:netty-transport-classes-kqueue</classpathDependencyExclude>
  460. </classpathDependencyExcludes>
  461. </configuration>
  462. </execution>
  463. <execution>
  464. <id>slf4j</id>
  465. <goals>
  466. <goal>integration-test</goal>
  467. <goal>verify</goal>
  468. </goals>
  469. <configuration>
  470. <includes>
  471. <include>io/vertx/it/SLF4JLogDelegateTest.java</include>
  472. </includes>
  473. </configuration>
  474. </execution>
  475. <execution>
  476. <id>slf4j-no-impl</id>
  477. <goals>
  478. <goal>integration-test</goal>
  479. <goal>verify</goal>
  480. </goals>
  481. <configuration>
  482. <includes>
  483. <include>io/vertx/it/SLF4JNoImplTest.java</include>
  484. </includes>
  485. <classpathDependencyExcludes>
  486. <classpathDependencyExclude>org.slf4j:slf4j-simple</classpathDependencyExclude>
  487. <classpathDependencyExclude>org.apache.logging.log4j:log4j-api</classpathDependencyExclude>
  488. <classpathDependencyExclude>org.apache.logging.log4j:log4j-core</classpathDependencyExclude>
  489. </classpathDependencyExcludes>
  490. </configuration>
  491. </execution>
  492. <execution>
  493. <id>jul</id>
  494. <goals>
  495. <goal>integration-test</goal>
  496. <goal>verify</goal>
  497. </goals>
  498. <configuration>
  499. <includes>
  500. <include>io/vertx/it/JULLogDelegateTest.java</include>
  501. </includes>
  502. <additionalClasspathElements>
  503. <additionalClasspathElement>${project.basedir}/src/test/classpath/jul</additionalClasspathElement>
  504. </additionalClasspathElements>
  505. </configuration>
  506. </execution>
  507. <execution>
  508. <id>log4j2</id>
  509. <goals>
  510. <goal>integration-test</goal>
  511. <goal>verify</goal>
  512. </goals>
  513. <configuration>
  514. <includes>
  515. <include>io/vertx/it/Log4J2LogDelegateTest.java</include>
  516. </includes>
  517. <classpathDependencyExcludes>
  518. <classpathDependencyExclude>org.slf4j:slf4j-simple</classpathDependencyExclude>
  519. </classpathDependencyExcludes>
  520. </configuration>
  521. </execution>
  522. <execution>
  523. <id>no-jackson</id>
  524. <goals>
  525. <goal>integration-test</goal>
  526. <goal>verify</goal>
  527. </goals>
  528. <configuration>
  529. <includes>
  530. <include>io/vertx/it/JsonTest.java</include>
  531. </includes>
  532. <systemProperties>
  533. <vertx-test-alpn-jdk>false</vertx-test-alpn-jdk>
  534. <vertx-test-alpn-openssl>false</vertx-test-alpn-openssl>
  535. </systemProperties>
  536. <classpathDependencyExcludes>
  537. <classpathDependencyExclude>com.fasterxml.jackson.core:jackson-core</classpathDependencyExclude>
  538. <classpathDependencyExclude>com.fasterxml.jackson.core:jackson-databind</classpathDependencyExclude>
  539. </classpathDependencyExcludes>
  540. </configuration>
  541. </execution>
  542. <execution>
  543. <id>no-haproxy-codec</id>
  544. <goals>
  545. <goal>integration-test</goal>
  546. <goal>verify</goal>
  547. </goals>
  548. <configuration>
  549. <includes>
  550. <include>io/vertx/it/HAProxyTest.java</include>
  551. </includes>
  552. <systemProperties>
  553. <vertx-test-alpn-jdk>false</vertx-test-alpn-jdk>
  554. <vertx-test-alpn-openssl>false</vertx-test-alpn-openssl>
  555. </systemProperties>
  556. <classpathDependencyExcludes>
  557. <classpathDependencyExclude>io.netty:netty-codec-haproxy</classpathDependencyExclude>
  558. </classpathDependencyExcludes>
  559. </configuration>
  560. </execution>
  561. <execution>
  562. <id>no-jackson-databind</id>
  563. <goals>
  564. <goal>integration-test</goal>
  565. <goal>verify</goal>
  566. </goals>
  567. <configuration>
  568. <includes>
  569. <include>io/vertx/it/JsonCodecTest.java</include>
  570. </includes>
  571. <systemProperties>
  572. <vertx-test-alpn-jdk>false</vertx-test-alpn-jdk>
  573. <vertx-test-alpn-openssl>false</vertx-test-alpn-openssl>
  574. </systemProperties>
  575. <classpathDependencyExcludes>
  576. <classpathDependencyExclude>com.fasterxml.jackson.core:jackson-databind</classpathDependencyExclude>
  577. </classpathDependencyExcludes>
  578. </configuration>
  579. </execution>
  580. <execution>
  581. <id>custom-json-codec</id>
  582. <goals>
  583. <goal>integration-test</goal>
  584. <goal>verify</goal>
  585. </goals>
  586. <configuration>
  587. <includes>
  588. <include>io/vertx/it/CustomJsonCodecTest.java</include>
  589. </includes>
  590. <systemProperties>
  591. <vertx-test-alpn-jdk>false</vertx-test-alpn-jdk>
  592. <vertx-test-alpn-openssl>false</vertx-test-alpn-openssl>
  593. </systemProperties>
  594. <additionalClasspathElements>
  595. <additionalClasspathElement>${project.basedir}/src/test/classpath/customjsoncodec</additionalClasspathElement>
  596. </additionalClasspathElements>
  597. <classpathDependencyExcludes>
  598. <classpathDependencyExclude>com.fasterxml.jackson.core:jackson-core</classpathDependencyExclude>
  599. <classpathDependencyExclude>com.fasterxml.jackson.core:jackson-databind</classpathDependencyExclude>
  600. </classpathDependencyExcludes>
  601. </configuration>
  602. </execution>
  603. <execution>
  604. <id>custom-vertx-thread-factory</id>
  605. <goals>
  606. <goal>integration-test</goal>
  607. <goal>verify</goal>
  608. </goals>
  609. <configuration>
  610. <includes>
  611. <include>io/vertx/it/VertxThreadFactoryTest.java</include>
  612. </includes>
  613. <systemProperties>
  614. <vertx-test-alpn-jdk>false</vertx-test-alpn-jdk>
  615. <vertx-test-alpn-openssl>false</vertx-test-alpn-openssl>
  616. </systemProperties>
  617. <additionalClasspathElements>
  618. <additionalClasspathElement>${project.basedir}/src/test/classpath/customthreadfactory</additionalClasspathElement>
  619. </additionalClasspathElements>
  620. </configuration>
  621. </execution>
  622. <execution>
  623. <id>custom-executor-service-factory</id>
  624. <goals>
  625. <goal>integration-test</goal>
  626. <goal>verify</goal>
  627. </goals>
  628. <configuration>
  629. <includes>
  630. <include>io/vertx/it/ExecutorServiceFactoryTest.java</include>
  631. </includes>
  632. <systemProperties>
  633. <vertx-test-alpn-jdk>false</vertx-test-alpn-jdk>
  634. <vertx-test-alpn-openssl>false</vertx-test-alpn-openssl>
  635. </systemProperties>
  636. <additionalClasspathElements>
  637. <additionalClasspathElement>${project.basedir}/src/test/classpath/customexecutorservicefactory</additionalClasspathElement>
  638. </additionalClasspathElements>
  639. </configuration>
  640. </execution>
  641. <execution>
  642. <id>custom-vertx-tracer-factory</id>
  643. <goals>
  644. <goal>integration-test</goal>
  645. <goal>verify</goal>
  646. </goals>
  647. <configuration>
  648. <includes>
  649. <include>io/vertx/it/VertxTracerFactoryTest.java</include>
  650. </includes>
  651. <systemProperties>
  652. <vertx-test-alpn-jdk>false</vertx-test-alpn-jdk>
  653. <vertx-test-alpn-openssl>false</vertx-test-alpn-openssl>
  654. </systemProperties>
  655. <additionalClasspathElements>
  656. <additionalClasspathElement>${project.basedir}/src/test/classpath/tracerfactory</additionalClasspathElement>
  657. </additionalClasspathElements>
  658. </configuration>
  659. </execution>
  660. <execution>
  661. <id>custom-file-resolver-factory</id>
  662. <goals>
  663. <goal>integration-test</goal>
  664. <goal>verify</goal>
  665. </goals>
  666. <configuration>
  667. <includes>
  668. <include>io/vertx/it/FileResolverFactoryTest.java</include>
  669. </includes>
  670. <additionalClasspathElements>
  671. <additionalClasspathElement>${project.basedir}/src/test/classpath/customfileresolver</additionalClasspathElement>
  672. </additionalClasspathElements>
  673. </configuration>
  674. </execution>
  675. </executions>
  676. <dependencies>
  677. <dependency>
  678. <groupId>org.slf4j</groupId>
  679. <artifactId>slf4j-api</artifactId>
  680. <version>${slf4j.version}</version>
  681. </dependency>
  682. </dependencies>
  683. </plugin>
  684. <plugin>
  685. <artifactId>maven-assembly-plugin</artifactId>
  686. <executions>
  687. <execution>
  688. <id>assemble-docs</id>
  689. <phase>package</phase>
  690. <goals>
  691. <goal>single</goal>
  692. </goals>
  693. <configuration>
  694. <attach>true</attach>
  695. <descriptors>
  696. <descriptor>src/main/assembly/docs.xml</descriptor>
  697. </descriptors>
  698. </configuration>
  699. </execution>
  700. </executions>
  701. </plugin>
  702. </plugins>
  703. <resources>
  704. <resource>
  705. <directory>src/main/resources</directory>
  706. <filtering>true</filtering>
  707. <includes>
  708. <include>**/vertx-version.txt</include>
  709. </includes>
  710. </resource>
  711. <resource>
  712. <directory>src/main/resources</directory>
  713. <filtering>false</filtering>
  714. <excludes>
  715. <exclude>**/vertx-version.txt</exclude>
  716. </excludes>
  717. </resource>
  718. </resources>
  719. </build>
  720. <profiles>
  721. <profile>
  722. <id>coverage</id>
  723. <build>
  724. <pluginManagement>
  725. <plugins>
  726. <plugin>
  727. <groupId>org.apache.maven.plugins</groupId>
  728. <artifactId>maven-surefire-plugin</artifactId>
  729. <configuration>
  730. <argLine>-Xmx1200M</argLine>
  731. </configuration>
  732. </plugin>
  733. </plugins>
  734. </pluginManagement>
  735. </build>
  736. </profile>
  737. <!-- Run tests with native transport -->
  738. <profile>
  739. <id>testNativeTransport</id>
  740. <properties>
  741. <vertx.testNativeTransport>true</vertx.testNativeTransport>
  742. <vertx.testDomainSockets>false</vertx.testDomainSockets>
  743. </properties>
  744. <dependencies>
  745. <dependency>
  746. <groupId>io.netty</groupId>
  747. <artifactId>netty-transport-native-epoll</artifactId>
  748. <optional>true</optional>
  749. <classifier>linux-x86_64</classifier>
  750. </dependency>
  751. <dependency>
  752. <groupId>io.netty</groupId>
  753. <artifactId>netty-transport-native-kqueue</artifactId>
  754. <optional>true</optional>
  755. <classifier>osx-x86_64</classifier>
  756. </dependency>
  757. </dependencies>
  758. </profile>
  759. <!-- Run tests with native transport and domain sockets -->
  760. <profile>
  761. <id>testDomainSockets</id>
  762. <properties>
  763. <vertx.testNativeTransport>true</vertx.testNativeTransport>
  764. <vertx.testDomainSockets>true</vertx.testDomainSockets>
  765. </properties>
  766. <dependencies>
  767. <dependency>
  768. <groupId>io.netty</groupId>
  769. <artifactId>netty-transport-native-epoll</artifactId>
  770. <optional>true</optional>
  771. <classifier>linux-x86_64</classifier>
  772. </dependency>
  773. <dependency>
  774. <groupId>io.netty</groupId>
  775. <artifactId>netty-transport-native-kqueue</artifactId>
  776. <optional>true</optional>
  777. <classifier>osx-x86_64</classifier>
  778. </dependency>
  779. </dependencies>
  780. </profile>
  781. <!-- Documentation generation : activate with -Pdocs -->
  782. <profile>
  783. <id>docs</id>
  784. <build>
  785. <plugins>
  786. <!-- Transform the Asciidoctor to html -->
  787. <plugin>
  788. <groupId>org.asciidoctor</groupId>
  789. <artifactId>asciidoctor-maven-plugin</artifactId>
  790. <executions>
  791. <execution>
  792. <goals>
  793. <goal>process-asciidoc</goal>
  794. </goals>
  795. <configuration>
  796. <sourceDirectory>${project.build.directory}/asciidoc</sourceDirectory>
  797. </configuration>
  798. <phase>package</phase>
  799. </execution>
  800. </executions>
  801. </plugin>
  802. <plugin>
  803. <artifactId>maven-javadoc-plugin</artifactId>
  804. <executions>
  805. <execution>
  806. <phase>package</phase>
  807. <goals>
  808. <goal>javadoc</goal>
  809. </goals>
  810. </execution>
  811. </executions>
  812. </plugin>
  813. </plugins>
  814. </build>
  815. </profile>
  816. <profile>
  817. <id>benchmarks</id>
  818. <build>
  819. <plugins>
  820. <plugin>
  821. <artifactId>maven-assembly-plugin</artifactId>
  822. <executions>
  823. <execution>
  824. <id>assemble-benchmarks</id>
  825. <phase>package</phase>
  826. <goals>
  827. <goal>single</goal>
  828. </goals>
  829. <configuration>
  830. <archive>
  831. <manifest>
  832. <mainClass>org.openjdk.jmh.Main</mainClass>
  833. </manifest>
  834. </archive>
  835. <descriptors>
  836. <descriptor>src/test/assembly/benchmarks.xml</descriptor>
  837. </descriptors>
  838. </configuration>
  839. </execution>
  840. </executions>
  841. </plugin>
  842. </plugins>
  843. </build>
  844. <dependencies>
  845. <dependency>
  846. <groupId>org.openjdk.jmh</groupId>
  847. <artifactId>jmh-generator-annprocess</artifactId>
  848. <version>${jmh.version}</version>
  849. <scope>test</scope>
  850. </dependency>
  851. </dependencies>
  852. </profile>
  853. <profile>
  854. <id>mac</id>
  855. <activation>
  856. <os>
  857. <family>mac</family>
  858. </os>
  859. </activation>
  860. <dependencies>
  861. <dependency>
  862. <groupId>io.netty</groupId>
  863. <artifactId>netty-resolver-dns-native-macos</artifactId>
  864. <classifier>osx-x86_64</classifier>
  865. <scope>test</scope>
  866. </dependency>
  867. </dependencies>
  868. </profile>
  869. </profiles>
  870. </project>