undertow-parent-2.2.12.Final.pom 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ JBoss, Home of Professional Open Source.
  4. ~ Copyright 2012 Red Hat, Inc., and individual contributors
  5. ~ as indicated by the @author tags.
  6. ~
  7. ~ Licensed under the Apache License, Version 2.0 (the "License");
  8. ~ you may not use this file except in compliance with the License.
  9. ~ You may obtain a copy of the License at
  10. ~
  11. ~ http://www.apache.org/licenses/LICENSE-2.0
  12. ~
  13. ~ Unless required by applicable law or agreed to in writing, software
  14. ~ distributed under the License is distributed on an "AS IS" BASIS,
  15. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  16. ~ See the License for the specific language governing permissions and
  17. ~ limitations under the License.
  18. -->
  19. <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">
  20. <modelVersion>4.0.0</modelVersion>
  21. <parent>
  22. <groupId>org.jboss</groupId>
  23. <artifactId>jboss-parent</artifactId>
  24. <version>35</version>
  25. </parent>
  26. <groupId>io.undertow</groupId>
  27. <artifactId>undertow-parent</artifactId>
  28. <version>2.2.12.Final</version>
  29. <name>Undertow</name>
  30. <description>Undertow</description>
  31. <packaging>pom</packaging>
  32. <licenses>
  33. <license>
  34. <name>Apache License Version 2.0</name>
  35. <url>http://repository.jboss.org/licenses/apache-2.0.txt</url>
  36. <distribution>repo</distribution>
  37. </license>
  38. </licenses>
  39. <scm>
  40. <connection>scm:git://github.com/undertow-io/undertow.git</connection>
  41. <developerConnection>scm:git://github.com/undertow-io/undertow.git</developerConnection>
  42. <url>https://github.com/undertow-io/undertow</url>
  43. </scm>
  44. <properties>
  45. <!--
  46. Dependency versions. Please keep alphabetical.
  47. Each version property should be of the form "version.<groupId>".
  48. For example: <version.org.jboss.as>
  49. In cases where multiple artifacts use the same groupId but have different
  50. versions, add the artifactId or other qualifier to the property name.
  51. For example: <version.org.jboss.as.console>
  52. -->
  53. <version.com.h2database>1.4.200</version.com.h2database>
  54. <version.easymock>4.2</version.easymock>
  55. <version.junit>4.13</version.junit>
  56. <version.netty>4.1.50.Final</version.netty>
  57. <version.org.apache.directory.server>2.0.0-M15</version.org.apache.directory.server>
  58. <version.org.apache.httpcomponents>4.5.12</version.org.apache.httpcomponents>
  59. <version.org.jboss.classfilewriter>1.2.4.Final</version.org.jboss.classfilewriter>
  60. <version.org.jboss.logging>3.4.1.Final</version.org.jboss.logging>
  61. <version.org.jboss.logging.processor>2.2.1.Final</version.org.jboss.logging.processor>
  62. <version.org.jboss.logmanager>2.1.14.Final</version.org.jboss.logmanager>
  63. <version.org.jboss.spec.javax.annotation.jboss-annotations-api_1.3_spec>2.0.1.Final</version.org.jboss.spec.javax.annotation.jboss-annotations-api_1.3_spec>
  64. <version.org.jboss.spec.javax.servlet.jboss-servlet-api_4.0_spec>2.0.0.Final</version.org.jboss.spec.javax.servlet.jboss-servlet-api_4.0_spec>
  65. <version.org.jboss.spec.javax.websockets>2.0.0.Final</version.org.jboss.spec.javax.websockets>
  66. <version.xnio>3.8.4.Final</version.xnio>
  67. <!-- TODO remove this dependency once xnio upgrades to latest jboss threads -->
  68. <version.org.jboss.threads>3.1.0.Final</version.org.jboss.threads>
  69. <version.org.wildfly.common>1.5.4.Final</version.org.wildfly.common>
  70. <version.org.wildfly.client-config>1.0.1.Final</version.org.wildfly.client-config>
  71. <!-- jacoco -->
  72. <version.org.jacoco>0.7.9</version.org.jacoco>
  73. <jacoco.agent.argLine></jacoco.agent.argLine>
  74. <!-- Surefire args -->
  75. <surefire.jpda.args/>
  76. <surefire.system.args>-ea ${surefire.jpda.args} -Xmx1024m</surefire.system.args>
  77. <!--by default run all tests-->
  78. <test.categories>io.undertow.testutils.category.UnitTest OR NOT io.undertow.testutils.category.UnitTest</test.categories>
  79. <!-- Checkstyle configuration -->
  80. <linkXRef>false</linkXRef>
  81. <version.io.undertow.build.checkstyle-config>1.0.1.Final</version.io.undertow.build.checkstyle-config>
  82. <version.com.github.spotbugs-maven-plugin>3.1.7</version.com.github.spotbugs-maven-plugin>
  83. <version.org.eclipse.jetty.alpn>1.1.3.v20160715</version.org.eclipse.jetty.alpn>
  84. <version.com.twitter.hpack>1.0.2</version.com.twitter.hpack>
  85. <!-- Non-default maven plugin versions and configuration -->
  86. <version.org.wildfly.openssl>1.0.4.Final</version.org.wildfly.openssl>
  87. <version.checkstyle>7.1</version.checkstyle>
  88. <version.bundle.plugin>5.1.1</version.bundle.plugin>
  89. <version.jmh>1.21</version.jmh>
  90. <version.org.wildfly.extras.batavia>1.0.4.Final</version.org.wildfly.extras.batavia>
  91. </properties>
  92. <modules>
  93. <module>parser-generator</module>
  94. <module>core</module>
  95. <module>servlet</module>
  96. <module>examples</module>
  97. <module>websockets-jsr</module>
  98. <module>benchmarks</module>
  99. <module>jakartaee9</module>
  100. </modules>
  101. <build>
  102. <plugins>
  103. <plugin>
  104. <groupId>org.apache.maven.plugins</groupId>
  105. <artifactId>maven-checkstyle-plugin</artifactId>
  106. </plugin>
  107. <!-- Javadoc -->
  108. <plugin>
  109. <groupId>org.apache.maven.plugins</groupId>
  110. <artifactId>maven-javadoc-plugin</artifactId>
  111. <configuration>
  112. <!--
  113. The Javadoc comments contain a lot of warnings
  114. that add a lot of noise to the build without the
  115. following setting.
  116. -->
  117. <doclint>none</doclint>
  118. <!-- @implNote is a non-standard tag and must be declared or the build will fail -->
  119. <tags>
  120. <tag>
  121. <name>implNote</name>
  122. <placement>a</placement>
  123. <head>Implementation Note:</head>
  124. </tag>
  125. </tags>
  126. <source>1.8</source>
  127. </configuration>
  128. <executions>
  129. <execution>
  130. <id>attach-javadocs</id>
  131. <goals>
  132. <goal>jar</goal>
  133. </goals>
  134. </execution>
  135. </executions>
  136. </plugin>
  137. <!-- Zanata translations -->
  138. <plugin>
  139. <groupId>org.zanata</groupId>
  140. <artifactId>zanata-maven-plugin</artifactId>
  141. <version>${version.zanata.plugin}</version>
  142. <configuration>
  143. <!-- Process sub-modules separately, sharing parent config -->
  144. <enableModules>true</enableModules>
  145. <projectConfig>${session.executionRootDirectory}/zanata.xml</projectConfig>
  146. <!-- Generated English i18n.properties are written here: -->
  147. <srcDir>target/classes</srcDir>
  148. <transDir>src/main/resources</transDir>
  149. <includes>**/*.i18n.properties,**/LocalDescriptions.properties</includes>
  150. </configuration>
  151. </plugin>
  152. </plugins>
  153. <pluginManagement>
  154. <plugins>
  155. <!-- Checkstyle -->
  156. <plugin>
  157. <groupId>org.apache.maven.plugins</groupId>
  158. <artifactId>maven-checkstyle-plugin</artifactId>
  159. <version>${version.checkstyle.plugin}</version>
  160. <configuration>
  161. <configLocation>undertow-checkstyle/checkstyle.xml</configLocation>
  162. <consoleOutput>true</consoleOutput>
  163. <failsOnError>true</failsOnError>
  164. <includeTestSourceDirectory>true</includeTestSourceDirectory>
  165. <useFile/>
  166. <sourceDirectories>
  167. <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
  168. </sourceDirectories>
  169. </configuration>
  170. <dependencies>
  171. <dependency>
  172. <groupId>io.undertow.build</groupId>
  173. <artifactId>undertow-checkstyle-config</artifactId>
  174. <version>${version.io.undertow.build.checkstyle-config}</version>
  175. </dependency>
  176. </dependencies>
  177. <executions>
  178. <execution>
  179. <id>check-style</id>
  180. <phase>compile</phase>
  181. <goals>
  182. <goal>checkstyle</goal>
  183. </goals>
  184. </execution>
  185. </executions>
  186. </plugin>
  187. <!-- FindBugs -->
  188. <plugin>
  189. <groupId>com.github.spotbugs</groupId>
  190. <artifactId>spotbugs-maven-plugin</artifactId>
  191. <version>${version.com.github.spotbugs-maven-plugin}</version>
  192. <configuration>
  193. <excludeFilterFile>../spotbugs-exclude.xml</excludeFilterFile>
  194. </configuration>
  195. <executions>
  196. <execution>
  197. <id>find-bugs</id>
  198. <phase>verify</phase>
  199. <goals>
  200. <goal>check</goal>
  201. </goals>
  202. </execution>
  203. </executions>
  204. </plugin>
  205. <plugin>
  206. <groupId>org.apache.maven.plugins</groupId>
  207. <artifactId>maven-surefire-plugin</artifactId>
  208. <version>${version.surefire.plugin}</version>
  209. <configuration>
  210. <groups>${test.categories}</groups>
  211. <redirectTestOutputToFile>true</redirectTestOutputToFile>
  212. </configuration>
  213. </plugin>
  214. <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
  215. <plugin>
  216. <!--suppress MavenModelInspection -->
  217. <groupId>org.eclipse.m2e</groupId>
  218. <!--suppress MavenModelInspection -->
  219. <artifactId>lifecycle-mapping</artifactId>
  220. <!--suppress MavenModelInspection -->
  221. <version>1.0.0</version>
  222. <configuration>
  223. <lifecycleMappingMetadata>
  224. <pluginExecutions>
  225. <pluginExecution>
  226. <pluginExecutionFilter>
  227. <groupId>
  228. org.apache.maven.plugins
  229. </groupId>
  230. <artifactId>
  231. maven-checkstyle-plugin
  232. </artifactId>
  233. <versionRange>
  234. [2.5,)
  235. </versionRange>
  236. <goals>
  237. <goal>checkstyle</goal>
  238. </goals>
  239. </pluginExecutionFilter>
  240. <action>
  241. <ignore></ignore>
  242. </action>
  243. </pluginExecution>
  244. </pluginExecutions>
  245. </lifecycleMappingMetadata>
  246. </configuration>
  247. </plugin>
  248. <plugin>
  249. <groupId>org.apache.felix</groupId>
  250. <artifactId>maven-bundle-plugin</artifactId>
  251. <version>${version.bundle.plugin}</version>
  252. </plugin>
  253. </plugins>
  254. </pluginManagement>
  255. </build>
  256. <dependencyManagement>
  257. <dependencies>
  258. <!-- Modules in this project -->
  259. <dependency>
  260. <groupId>io.undertow</groupId>
  261. <artifactId>undertow-core</artifactId>
  262. <version>${project.version}</version>
  263. </dependency>
  264. <dependency>
  265. <groupId>io.undertow</groupId>
  266. <artifactId>undertow-core</artifactId>
  267. <version>${project.version}</version>
  268. <type>test-jar</type>
  269. <scope>test</scope>
  270. </dependency>
  271. <dependency>
  272. <groupId>io.undertow</groupId>
  273. <artifactId>undertow-examples</artifactId>
  274. <version>${project.version}</version>
  275. </dependency>
  276. <dependency>
  277. <groupId>io.undertow</groupId>
  278. <artifactId>undertow-examples-jakartaee9</artifactId>
  279. <version>${project.version}</version>
  280. </dependency>
  281. <dependency>
  282. <groupId>io.undertow</groupId>
  283. <artifactId>undertow-parser-generator</artifactId>
  284. <version>${project.version}</version>
  285. </dependency>
  286. <dependency>
  287. <groupId>io.undertow</groupId>
  288. <artifactId>undertow-servlet</artifactId>
  289. <version>${project.version}</version>
  290. </dependency>
  291. <dependency>
  292. <groupId>io.undertow</groupId>
  293. <artifactId>undertow-servlet-jakartaee9</artifactId>
  294. <version>${project.version}</version>
  295. </dependency>
  296. <dependency>
  297. <groupId>io.undertow</groupId>
  298. <artifactId>undertow-servlet</artifactId>
  299. <version>${project.version}</version>
  300. <type>test-jar</type>
  301. <scope>test</scope>
  302. </dependency>
  303. <dependency>
  304. <groupId>io.undertow</groupId>
  305. <artifactId>undertow-websockets-jsr</artifactId>
  306. <version>${project.version}</version>
  307. </dependency>
  308. <dependency>
  309. <groupId>io.undertow</groupId>
  310. <artifactId>undertow-websockets-jsr-jakartaee9</artifactId>
  311. <version>${project.version}</version>
  312. </dependency>
  313. <dependency>
  314. <groupId>io.undertow</groupId>
  315. <artifactId>undertow-benchmarks</artifactId>
  316. <version>${project.version}</version>
  317. </dependency>
  318. <!-- External Dependencies -->
  319. <dependency>
  320. <groupId>io.undertow.build</groupId>
  321. <artifactId>undertow-checkstyle-config</artifactId>
  322. <version>${version.io.undertow.build.checkstyle-config}</version>
  323. </dependency>
  324. <dependency>
  325. <groupId>org.jboss.classfilewriter</groupId>
  326. <artifactId>jboss-classfilewriter</artifactId>
  327. <version>${version.org.jboss.classfilewriter}</version>
  328. </dependency>
  329. <dependency>
  330. <groupId>junit</groupId>
  331. <artifactId>junit</artifactId>
  332. <version>${version.junit}</version>
  333. <scope>test</scope>
  334. </dependency>
  335. <dependency>
  336. <groupId>org.eclipse.jetty.alpn</groupId>
  337. <artifactId>alpn-api</artifactId>
  338. <version>${version.org.eclipse.jetty.alpn}</version>
  339. <scope>provided</scope>
  340. </dependency>
  341. <dependency>
  342. <groupId>org.easymock</groupId>
  343. <artifactId>easymock</artifactId>
  344. <version>${version.easymock}</version>
  345. <scope>test</scope>
  346. </dependency>
  347. <dependency>
  348. <groupId>io.netty</groupId>
  349. <artifactId>netty-all</artifactId>
  350. <version>${version.netty}</version>
  351. <scope>test</scope>
  352. </dependency>
  353. <dependency>
  354. <groupId>com.twitter</groupId>
  355. <artifactId>hpack</artifactId>
  356. <version>${version.com.twitter.hpack}</version>
  357. <scope>test</scope>
  358. </dependency>
  359. <dependency>
  360. <groupId>org.apache.directory.server</groupId>
  361. <artifactId>apacheds-all</artifactId>
  362. <version>${version.org.apache.directory.server}</version>
  363. <scope>test</scope>
  364. </dependency>
  365. <dependency>
  366. <groupId>org.apache.httpcomponents</groupId>
  367. <artifactId>httpclient</artifactId>
  368. <version>${version.org.apache.httpcomponents}</version>
  369. <scope>test</scope>
  370. </dependency>
  371. <dependency>
  372. <groupId>org.apache.httpcomponents</groupId>
  373. <artifactId>httpmime</artifactId>
  374. <version>${version.org.apache.httpcomponents}</version>
  375. <scope>test</scope>
  376. </dependency>
  377. <dependency>
  378. <groupId>org.jboss.logging</groupId>
  379. <artifactId>jboss-logging</artifactId>
  380. <version>${version.org.jboss.logging}</version>
  381. </dependency>
  382. <dependency>
  383. <groupId>org.jboss.logging</groupId>
  384. <artifactId>jboss-logging-processor</artifactId>
  385. <version>${version.org.jboss.logging.processor}</version>
  386. </dependency>
  387. <dependency>
  388. <groupId>org.jboss.logmanager</groupId>
  389. <artifactId>jboss-logmanager</artifactId>
  390. <version>${version.org.jboss.logmanager}</version>
  391. </dependency>
  392. <dependency>
  393. <groupId>org.jboss.spec.javax.annotation</groupId>
  394. <artifactId>jboss-annotations-api_1.3_spec</artifactId>
  395. <version>${version.org.jboss.spec.javax.annotation.jboss-annotations-api_1.3_spec}</version>
  396. </dependency>
  397. <!-- TODO: replace with JBoss Spec Artifact-->
  398. <dependency>
  399. <groupId>org.jboss.spec.javax.servlet</groupId>
  400. <artifactId>jboss-servlet-api_4.0_spec</artifactId>
  401. <version>${version.org.jboss.spec.javax.servlet.jboss-servlet-api_4.0_spec}</version>
  402. </dependency>
  403. <dependency>
  404. <groupId>org.jboss.spec.javax.websocket</groupId>
  405. <artifactId>jboss-websocket-api_1.1_spec</artifactId>
  406. <version>${version.org.jboss.spec.javax.websockets}</version>
  407. </dependency>
  408. <dependency>
  409. <groupId>org.jboss.xnio</groupId>
  410. <artifactId>xnio-api</artifactId>
  411. <version>${version.xnio}</version>
  412. <exclusions>
  413. <exclusion>
  414. <groupId>org.jboss.threads</groupId>
  415. <artifactId>jboss-threads</artifactId>
  416. </exclusion>
  417. </exclusions>
  418. </dependency>
  419. <dependency>
  420. <groupId>org.jboss.xnio</groupId>
  421. <artifactId>xnio-nio</artifactId>
  422. <version>${version.xnio}</version>
  423. <exclusions>
  424. <exclusion>
  425. <groupId>org.wildfly.common</groupId>
  426. <artifactId>wildfly-common</artifactId>
  427. </exclusion>
  428. </exclusions>
  429. </dependency>
  430. <dependency>
  431. <groupId>org.jboss.threads</groupId>
  432. <artifactId>jboss-threads</artifactId>
  433. <version>${version.org.jboss.threads}</version>
  434. <exclusions>
  435. <exclusion>
  436. <groupId>org.wildfly.common</groupId>
  437. <artifactId>wildfly-common</artifactId>
  438. </exclusion>
  439. </exclusions>
  440. </dependency>
  441. <dependency>
  442. <groupId>org.wildfly.common</groupId>
  443. <artifactId>wildfly-common</artifactId>
  444. <version>${version.org.wildfly.common}</version>
  445. </dependency>
  446. <dependency>
  447. <groupId>com.h2database</groupId>
  448. <artifactId>h2</artifactId>
  449. <version>${version.com.h2database}</version>
  450. <scope>test</scope>
  451. </dependency>
  452. <dependency>
  453. <groupId>org.wildfly.openssl</groupId>
  454. <artifactId>wildfly-openssl</artifactId>
  455. <version>${version.org.wildfly.openssl}</version>
  456. <scope>test</scope>
  457. </dependency>
  458. <dependency>
  459. <groupId>org.openjdk.jmh</groupId>
  460. <artifactId>jmh-core</artifactId>
  461. <version>${version.jmh}</version>
  462. </dependency>
  463. <dependency>
  464. <groupId>org.openjdk.jmh</groupId>
  465. <artifactId>jmh-generator-annprocess</artifactId>
  466. <version>${version.jmh}</version>
  467. <scope>provided</scope>
  468. </dependency>
  469. <dependency>
  470. <groupId>org.wildfly.extras.batavia</groupId>
  471. <artifactId>transformer-api</artifactId>
  472. <version>${version.org.wildfly.extras.batavia}</version>
  473. </dependency>
  474. <dependency>
  475. <groupId>org.wildfly.extras.batavia</groupId>
  476. <artifactId>transformer-impl-eclipse</artifactId>
  477. <version>${version.org.wildfly.extras.batavia}</version>
  478. </dependency>
  479. </dependencies>
  480. </dependencyManagement>
  481. <profiles>
  482. <profile>
  483. <id>spotbugs</id>
  484. <activation>
  485. <property>
  486. <name>findbugs</name> <!-- not modified just for compatibility reason -->
  487. </property>
  488. </activation>
  489. <build>
  490. <plugins>
  491. <plugin>
  492. <groupId>com.github.spotbugs</groupId>
  493. <artifactId>spotbugs-maven-plugin</artifactId>
  494. </plugin>
  495. </plugins>
  496. </build>
  497. </profile>
  498. <profile>
  499. <!-- Temporary profile to workaround issue described here https://github.com/spotbugs/spotbugs/issues/756. -->
  500. <id>spotbugs-jdk11</id>
  501. <activation>
  502. <jdk>11</jdk>
  503. <property>
  504. <name>findbugs</name> <!-- not modified just for compatibility reason -->
  505. </property>
  506. </activation>
  507. <build>
  508. <plugins>
  509. <plugin>
  510. <groupId>com.github.spotbugs</groupId>
  511. <artifactId>spotbugs-maven-plugin</artifactId>
  512. <configuration>
  513. <failOnError>false</failOnError>
  514. </configuration>
  515. </plugin>
  516. </plugins>
  517. </build>
  518. </profile>
  519. <profile>
  520. <id>jdk9</id>
  521. <activation>
  522. <jdk>9</jdk>
  523. </activation>
  524. <build>
  525. <pluginManagement>
  526. <plugins>
  527. <plugin>
  528. <groupId>org.apache.maven.plugins</groupId>
  529. <artifactId>maven-compiler-plugin</artifactId>
  530. <version>${version.compiler.plugin}</version>
  531. <configuration>
  532. <!-- fork is needed so compiler args can be used -->
  533. <fork>true</fork>
  534. <failOnError>false</failOnError>
  535. <compilerArgs>
  536. <arg>-J--add-opens=java.base/java.lang=ALL-UNNAMED</arg>
  537. </compilerArgs>
  538. </configuration>
  539. </plugin>
  540. </plugins>
  541. </pluginManagement>
  542. </build>
  543. </profile>
  544. <profile>
  545. <id>dist</id>
  546. <activation>
  547. <property>
  548. <name>release</name>
  549. </property>
  550. </activation>
  551. <modules>
  552. <module>dist</module>
  553. </modules>
  554. </profile>
  555. <profile>
  556. <id>test-coverage</id>
  557. <modules>
  558. <module>coverage-report</module>
  559. </modules>
  560. <properties>
  561. <jacoco.agent.argLine>${jacoco.activated.agent.argLine}</jacoco.agent.argLine>
  562. </properties>
  563. <build>
  564. <plugins>
  565. <plugin>
  566. <groupId>org.jacoco</groupId>
  567. <artifactId>jacoco-maven-plugin</artifactId>
  568. <version>${version.org.jacoco}</version>
  569. <executions>
  570. <execution>
  571. <id>agent</id>
  572. <goals>
  573. <goal>prepare-agent</goal>
  574. </goals>
  575. <configuration>
  576. <includes>
  577. <include>io.undertow*</include>
  578. </includes>
  579. <propertyName>jacoco.activated.agent.argLine</propertyName>
  580. </configuration>
  581. </execution>
  582. </executions>
  583. </plugin>
  584. </plugins>
  585. </build>
  586. </profile>
  587. <profile>
  588. <id>only-unit-tests</id>
  589. <activation>
  590. <property>
  591. <name>onlyUnitTests</name>
  592. </property>
  593. </activation>
  594. <properties>
  595. <test.categories>io.undertow.testutils.category.UnitTest</test.categories>
  596. </properties>
  597. </profile>
  598. <profile>
  599. <id>skip-unit-tests</id>
  600. <activation>
  601. <property>
  602. <name>skipUnitTests</name>
  603. </property>
  604. </activation>
  605. <properties>
  606. <test.categories>NOT io.undertow.testutils.category.UnitTest</test.categories>
  607. </properties>
  608. </profile>
  609. <profile>
  610. <id>osgi</id>
  611. <activation>
  612. <property>
  613. <name>osgi</name>
  614. </property>
  615. </activation>
  616. <modules>
  617. <module>karaf</module>
  618. </modules>
  619. </profile>
  620. </profiles>
  621. </project>