undertow-parent-2.2.17.Final.pom 30 KB

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