undertow-parent-2.1.3.Final.pom 25 KB

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