undertow-parent-2.0.28.Final.pom 25 KB

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