undertow-parent-2.3.10.Final.pom 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637
  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.3.10.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>2.1.214</version.com.h2database>
  54. <version.easymock>4.3</version.easymock>
  55. <version.jakarta.annotation.jakarta-annotation-api>2.1.1</version.jakarta.annotation.jakarta-annotation-api>
  56. <version.jakarta.servlet.jakarta-servlet-api>6.0.0</version.jakarta.servlet.jakarta-servlet-api>
  57. <version.jakarta.websocket.jakarta-websocket-api>2.1.0</version.jakarta.websocket.jakarta-websocket-api>
  58. <version.junit>4.13.2</version.junit>
  59. <version.netty>4.1.82.Final</version.netty>
  60. <version.org.apache.directory.server>2.0.0.AM26</version.org.apache.directory.server>
  61. <version.org.apache.httpcomponents>4.5.12</version.org.apache.httpcomponents>
  62. <version.org.jboss.classfilewriter>1.2.5.Final</version.org.jboss.classfilewriter>
  63. <version.org.jboss.logging>3.4.3.Final</version.org.jboss.logging>
  64. <version.org.jboss.logging.processor>2.2.1.Final</version.org.jboss.logging.processor>
  65. <version.org.jboss.logmanager>2.1.19.Final</version.org.jboss.logmanager>
  66. <version.xnio>3.8.8.Final</version.xnio>
  67. <!-- TODO remove this dependency once xnio upgrades to latest jboss threads -->
  68. <version.org.jboss.threads>3.5.0.Final</version.org.jboss.threads>
  69. <version.org.wildfly.common>1.6.0.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. <!-- Spotbugs properties -->
  75. <spotbugs.exclude.filter.file>../spotbugs-exclude.xml</spotbugs.exclude.filter.file>
  76. <!-- Surefire args -->
  77. <surefire.jpda.args/>
  78. <surefire.system.args>-ea ${surefire.jpda.args} -Xmx1024m</surefire.system.args>
  79. <!--by default run all tests-->
  80. <test.categories>io.undertow.testutils.category.UnitTest OR NOT io.undertow.testutils.category.UnitTest</test.categories>
  81. <!-- Checkstyle configuration -->
  82. <linkXRef>false</linkXRef>
  83. <version.io.undertow.build.checkstyle-config>1.0.1.Final</version.io.undertow.build.checkstyle-config>
  84. <version.com.github.spotbugs-maven-plugin>4.7.3.4</version.com.github.spotbugs-maven-plugin>
  85. <version.com.twitter.hpack>1.0.2</version.com.twitter.hpack>
  86. <!-- Non-default maven plugin versions and configuration -->
  87. <version.org.wildfly.openssl>2.2.1.Final</version.org.wildfly.openssl>
  88. <version.checkstyle>7.1</version.checkstyle>
  89. <version.bundle.plugin>5.1.1</version.bundle.plugin>
  90. <version.jmh>1.21</version.jmh>
  91. <maven.compiler.source>11</maven.compiler.source>
  92. <maven.compiler.target>11</maven.compiler.target>
  93. </properties>
  94. <modules>
  95. <module>parser-generator</module>
  96. <module>core</module>
  97. <module>servlet</module>
  98. <module>examples</module>
  99. <module>websockets-jsr</module>
  100. <module>benchmarks</module>
  101. </modules>
  102. <build>
  103. <plugins>
  104. <plugin>
  105. <groupId>org.apache.maven.plugins</groupId>
  106. <artifactId>maven-checkstyle-plugin</artifactId>
  107. </plugin>
  108. <!-- Javadoc -->
  109. <plugin>
  110. <groupId>org.apache.maven.plugins</groupId>
  111. <artifactId>maven-javadoc-plugin</artifactId>
  112. <configuration>
  113. <!--
  114. The Javadoc comments contain a lot of warnings
  115. that add a lot of noise to the build without the
  116. following setting.
  117. -->
  118. <doclint>none</doclint>
  119. <!-- @implNote is a non-standard tag and must be declared or the build will fail -->
  120. <tags>
  121. <tag>
  122. <name>implNote</name>
  123. <placement>a</placement>
  124. <head>Implementation Note:</head>
  125. </tag>
  126. </tags>
  127. <source>1.8</source>
  128. </configuration>
  129. <executions>
  130. <execution>
  131. <id>attach-javadocs</id>
  132. <goals>
  133. <goal>jar</goal>
  134. </goals>
  135. </execution>
  136. </executions>
  137. </plugin>
  138. <!-- Zanata translations -->
  139. <plugin>
  140. <groupId>org.zanata</groupId>
  141. <artifactId>zanata-maven-plugin</artifactId>
  142. <version>${version.zanata.plugin}</version>
  143. <configuration>
  144. <!-- Process sub-modules separately, sharing parent config -->
  145. <enableModules>true</enableModules>
  146. <projectConfig>${session.executionRootDirectory}/zanata.xml</projectConfig>
  147. <!-- Generated English i18n.properties are written here: -->
  148. <srcDir>target/classes</srcDir>
  149. <transDir>src/main/resources</transDir>
  150. <includes>**/*.i18n.properties,**/LocalDescriptions.properties</includes>
  151. </configuration>
  152. </plugin>
  153. </plugins>
  154. <pluginManagement>
  155. <plugins>
  156. <!-- Compiler -->
  157. <plugin>
  158. <groupId>org.apache.maven.plugins</groupId>
  159. <artifactId>maven-compiler-plugin</artifactId>
  160. <version>${version.compiler.plugin}</version>
  161. <configuration>
  162. <!-- fork is needed so compiler args can be used -->
  163. <fork>true</fork>
  164. <failOnError>false</failOnError>
  165. <compilerArgs>
  166. <arg>-J--add-opens=java.base/java.lang=ALL-UNNAMED</arg>
  167. </compilerArgs>
  168. </configuration>
  169. </plugin>
  170. <!-- Checkstyle -->
  171. <plugin>
  172. <groupId>org.apache.maven.plugins</groupId>
  173. <artifactId>maven-checkstyle-plugin</artifactId>
  174. <version>${version.checkstyle.plugin}</version>
  175. <configuration>
  176. <configLocation>undertow-checkstyle/checkstyle.xml</configLocation>
  177. <consoleOutput>true</consoleOutput>
  178. <failsOnError>true</failsOnError>
  179. <includeTestSourceDirectory>true</includeTestSourceDirectory>
  180. <useFile/>
  181. <sourceDirectories>
  182. <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
  183. </sourceDirectories>
  184. </configuration>
  185. <dependencies>
  186. <dependency>
  187. <groupId>io.undertow.build</groupId>
  188. <artifactId>undertow-checkstyle-config</artifactId>
  189. <version>${version.io.undertow.build.checkstyle-config}</version>
  190. </dependency>
  191. </dependencies>
  192. <executions>
  193. <execution>
  194. <id>check-style</id>
  195. <phase>compile</phase>
  196. <goals>
  197. <goal>checkstyle</goal>
  198. </goals>
  199. </execution>
  200. </executions>
  201. </plugin>
  202. <!-- FindBugs -->
  203. <plugin>
  204. <groupId>com.github.spotbugs</groupId>
  205. <artifactId>spotbugs-maven-plugin</artifactId>
  206. <version>${version.com.github.spotbugs-maven-plugin}</version>
  207. <configuration>
  208. <excludeFilterFile>${spotbugs.exclude.filter.file}</excludeFilterFile>
  209. </configuration>
  210. <executions>
  211. <execution>
  212. <id>find-bugs</id>
  213. <phase>verify</phase>
  214. <goals>
  215. <goal>check</goal>
  216. </goals>
  217. </execution>
  218. </executions>
  219. </plugin>
  220. <plugin>
  221. <groupId>org.apache.maven.plugins</groupId>
  222. <artifactId>maven-surefire-plugin</artifactId>
  223. <version>${version.surefire.plugin}</version>
  224. <configuration>
  225. <groups>${test.categories}</groups>
  226. <redirectTestOutputToFile>true</redirectTestOutputToFile>
  227. </configuration>
  228. </plugin>
  229. <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
  230. <plugin>
  231. <!--suppress MavenModelInspection -->
  232. <groupId>org.eclipse.m2e</groupId>
  233. <!--suppress MavenModelInspection -->
  234. <artifactId>lifecycle-mapping</artifactId>
  235. <!--suppress MavenModelInspection -->
  236. <version>1.0.0</version>
  237. <configuration>
  238. <lifecycleMappingMetadata>
  239. <pluginExecutions>
  240. <pluginExecution>
  241. <pluginExecutionFilter>
  242. <groupId>
  243. org.apache.maven.plugins
  244. </groupId>
  245. <artifactId>
  246. maven-checkstyle-plugin
  247. </artifactId>
  248. <versionRange>
  249. [2.5,)
  250. </versionRange>
  251. <goals>
  252. <goal>checkstyle</goal>
  253. </goals>
  254. </pluginExecutionFilter>
  255. <action>
  256. <ignore></ignore>
  257. </action>
  258. </pluginExecution>
  259. </pluginExecutions>
  260. </lifecycleMappingMetadata>
  261. </configuration>
  262. </plugin>
  263. <plugin>
  264. <groupId>org.apache.felix</groupId>
  265. <artifactId>maven-bundle-plugin</artifactId>
  266. <version>${version.bundle.plugin}</version>
  267. </plugin>
  268. </plugins>
  269. </pluginManagement>
  270. </build>
  271. <dependencyManagement>
  272. <dependencies>
  273. <!-- Modules in this project -->
  274. <dependency>
  275. <groupId>io.undertow</groupId>
  276. <artifactId>undertow-core</artifactId>
  277. <version>${project.version}</version>
  278. </dependency>
  279. <dependency>
  280. <groupId>io.undertow</groupId>
  281. <artifactId>undertow-core</artifactId>
  282. <version>${project.version}</version>
  283. <type>test-jar</type>
  284. <scope>test</scope>
  285. </dependency>
  286. <dependency>
  287. <groupId>io.undertow</groupId>
  288. <artifactId>undertow-examples</artifactId>
  289. <version>${project.version}</version>
  290. </dependency>
  291. <dependency>
  292. <groupId>io.undertow</groupId>
  293. <artifactId>undertow-parser-generator</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. </dependency>
  301. <dependency>
  302. <groupId>io.undertow</groupId>
  303. <artifactId>undertow-servlet</artifactId>
  304. <version>${project.version}</version>
  305. <type>test-jar</type>
  306. <scope>test</scope>
  307. </dependency>
  308. <dependency>
  309. <groupId>io.undertow</groupId>
  310. <artifactId>undertow-websockets-jsr</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>jakarta.servlet</groupId>
  326. <artifactId>jakarta.servlet-api</artifactId>
  327. <version>${version.jakarta.servlet.jakarta-servlet-api}</version>
  328. </dependency>
  329. <dependency>
  330. <groupId>jakarta.annotation</groupId>
  331. <artifactId>jakarta.annotation-api</artifactId>
  332. <version>${version.jakarta.annotation.jakarta-annotation-api}</version>
  333. </dependency>
  334. <dependency>
  335. <groupId>jakarta.websocket</groupId>
  336. <artifactId>jakarta.websocket-api</artifactId>
  337. <version>${version.jakarta.websocket.jakarta-websocket-api}</version>
  338. </dependency>
  339. <dependency>
  340. <groupId>jakarta.websocket</groupId>
  341. <artifactId>jakarta.websocket-client-api</artifactId>
  342. <version>${version.jakarta.websocket.jakarta-websocket-api}</version>
  343. </dependency>
  344. <dependency>
  345. <groupId>org.jboss.classfilewriter</groupId>
  346. <artifactId>jboss-classfilewriter</artifactId>
  347. <version>${version.org.jboss.classfilewriter}</version>
  348. </dependency>
  349. <dependency>
  350. <groupId>junit</groupId>
  351. <artifactId>junit</artifactId>
  352. <version>${version.junit}</version>
  353. <scope>test</scope>
  354. </dependency>
  355. <dependency>
  356. <groupId>org.easymock</groupId>
  357. <artifactId>easymock</artifactId>
  358. <version>${version.easymock}</version>
  359. <scope>test</scope>
  360. </dependency>
  361. <dependency>
  362. <groupId>io.netty</groupId>
  363. <artifactId>netty-all</artifactId>
  364. <version>${version.netty}</version>
  365. <scope>test</scope>
  366. </dependency>
  367. <dependency>
  368. <groupId>com.twitter</groupId>
  369. <artifactId>hpack</artifactId>
  370. <version>${version.com.twitter.hpack}</version>
  371. <scope>test</scope>
  372. </dependency>
  373. <dependency>
  374. <groupId>org.apache.directory.server</groupId>
  375. <artifactId>apacheds-test-framework</artifactId>
  376. <version>${version.org.apache.directory.server}</version>
  377. <scope>test</scope>
  378. </dependency>
  379. <dependency>
  380. <groupId>org.apache.directory.server</groupId>
  381. <artifactId>apacheds-interceptor-kerberos</artifactId>
  382. <version>${version.org.apache.directory.server}</version>
  383. <scope>test</scope>
  384. </dependency>
  385. <dependency>
  386. <groupId>org.apache.httpcomponents</groupId>
  387. <artifactId>httpclient</artifactId>
  388. <version>${version.org.apache.httpcomponents}</version>
  389. <scope>test</scope>
  390. </dependency>
  391. <dependency>
  392. <groupId>org.apache.httpcomponents</groupId>
  393. <artifactId>httpmime</artifactId>
  394. <version>${version.org.apache.httpcomponents}</version>
  395. <scope>test</scope>
  396. </dependency>
  397. <dependency>
  398. <groupId>org.jboss.logging</groupId>
  399. <artifactId>jboss-logging</artifactId>
  400. <version>${version.org.jboss.logging}</version>
  401. </dependency>
  402. <dependency>
  403. <groupId>org.jboss.logging</groupId>
  404. <artifactId>jboss-logging-processor</artifactId>
  405. <version>${version.org.jboss.logging.processor}</version>
  406. </dependency>
  407. <dependency>
  408. <groupId>org.jboss.logmanager</groupId>
  409. <artifactId>jboss-logmanager</artifactId>
  410. <version>${version.org.jboss.logmanager}</version>
  411. </dependency>
  412. <dependency>
  413. <groupId>org.jboss.xnio</groupId>
  414. <artifactId>xnio-api</artifactId>
  415. <version>${version.xnio}</version>
  416. <exclusions>
  417. <exclusion>
  418. <groupId>org.jboss.threads</groupId>
  419. <artifactId>jboss-threads</artifactId>
  420. </exclusion>
  421. </exclusions>
  422. </dependency>
  423. <dependency>
  424. <groupId>org.jboss.xnio</groupId>
  425. <artifactId>xnio-nio</artifactId>
  426. <version>${version.xnio}</version>
  427. <exclusions>
  428. <exclusion>
  429. <groupId>org.wildfly.common</groupId>
  430. <artifactId>wildfly-common</artifactId>
  431. </exclusion>
  432. </exclusions>
  433. </dependency>
  434. <dependency>
  435. <groupId>org.jboss.threads</groupId>
  436. <artifactId>jboss-threads</artifactId>
  437. <version>${version.org.jboss.threads}</version>
  438. <exclusions>
  439. <exclusion>
  440. <groupId>org.wildfly.common</groupId>
  441. <artifactId>wildfly-common</artifactId>
  442. </exclusion>
  443. </exclusions>
  444. </dependency>
  445. <dependency>
  446. <groupId>org.wildfly.common</groupId>
  447. <artifactId>wildfly-common</artifactId>
  448. <version>${version.org.wildfly.common}</version>
  449. </dependency>
  450. <dependency>
  451. <groupId>com.h2database</groupId>
  452. <artifactId>h2</artifactId>
  453. <version>${version.com.h2database}</version>
  454. <scope>test</scope>
  455. </dependency>
  456. <dependency>
  457. <groupId>org.wildfly.openssl</groupId>
  458. <artifactId>wildfly-openssl</artifactId>
  459. <version>${version.org.wildfly.openssl}</version>
  460. <scope>test</scope>
  461. </dependency>
  462. <dependency>
  463. <groupId>org.openjdk.jmh</groupId>
  464. <artifactId>jmh-core</artifactId>
  465. <version>${version.jmh}</version>
  466. </dependency>
  467. <dependency>
  468. <groupId>org.openjdk.jmh</groupId>
  469. <artifactId>jmh-generator-annprocess</artifactId>
  470. <version>${version.jmh}</version>
  471. <scope>provided</scope>
  472. </dependency>
  473. </dependencies>
  474. </dependencyManagement>
  475. <profiles>
  476. <profile>
  477. <id>spotbugs</id>
  478. <activation>
  479. <property>
  480. <name>findbugs</name> <!-- not modified just for compatibility reason -->
  481. </property>
  482. </activation>
  483. <build>
  484. <plugins>
  485. <plugin>
  486. <groupId>com.github.spotbugs</groupId>
  487. <artifactId>spotbugs-maven-plugin</artifactId>
  488. </plugin>
  489. </plugins>
  490. </build>
  491. </profile>
  492. <profile>
  493. <id>dist</id>
  494. <activation>
  495. <property>
  496. <name>release</name>
  497. </property>
  498. </activation>
  499. <modules>
  500. <module>dist</module>
  501. </modules>
  502. </profile>
  503. <profile>
  504. <id>test-coverage</id>
  505. <modules>
  506. <module>coverage-report</module>
  507. </modules>
  508. <properties>
  509. <jacoco.agent.argLine>${jacoco.activated.agent.argLine}</jacoco.agent.argLine>
  510. </properties>
  511. <build>
  512. <plugins>
  513. <plugin>
  514. <groupId>org.jacoco</groupId>
  515. <artifactId>jacoco-maven-plugin</artifactId>
  516. <version>${version.org.jacoco}</version>
  517. <executions>
  518. <execution>
  519. <id>agent</id>
  520. <goals>
  521. <goal>prepare-agent</goal>
  522. </goals>
  523. <configuration>
  524. <includes>
  525. <include>io.undertow*</include>
  526. </includes>
  527. <propertyName>jacoco.activated.agent.argLine</propertyName>
  528. </configuration>
  529. </execution>
  530. </executions>
  531. </plugin>
  532. </plugins>
  533. </build>
  534. </profile>
  535. <profile>
  536. <id>only-unit-tests</id>
  537. <activation>
  538. <property>
  539. <name>onlyUnitTests</name>
  540. </property>
  541. </activation>
  542. <properties>
  543. <test.categories>io.undertow.testutils.category.UnitTest</test.categories>
  544. </properties>
  545. </profile>
  546. <profile>
  547. <id>skip-unit-tests</id>
  548. <activation>
  549. <property>
  550. <name>skipUnitTests</name>
  551. </property>
  552. </activation>
  553. <properties>
  554. <test.categories>NOT io.undertow.testutils.category.UnitTest</test.categories>
  555. </properties>
  556. </profile>
  557. <profile>
  558. <id>osgi</id>
  559. <activation>
  560. <property>
  561. <name>osgi</name>
  562. </property>
  563. </activation>
  564. <modules>
  565. <module>karaf</module>
  566. </modules>
  567. </profile>
  568. </profiles>
  569. </project>