undertow-core-2.3.10.Final.pom 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445
  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"
  20. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  21. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  22. <modelVersion>4.0.0</modelVersion>
  23. <parent>
  24. <groupId>io.undertow</groupId>
  25. <artifactId>undertow-parent</artifactId>
  26. <version>2.3.10.Final</version>
  27. </parent>
  28. <groupId>io.undertow</groupId>
  29. <artifactId>undertow-core</artifactId>
  30. <version>2.3.10.Final</version>
  31. <name>Undertow Core</name>
  32. <properties>
  33. <test.level>INFO</test.level>
  34. <ajp>false</ajp>
  35. <proxy>false</proxy>
  36. <dump>false</dump>
  37. <https>false</https>
  38. <openssl>false</openssl>
  39. <test.ipv6>false</test.ipv6>
  40. <bufferSize>8192</bufferSize>
  41. <libraryPath></libraryPath>
  42. <java.library.path></java.library.path>
  43. <org.wildfly.openssl.path></org.wildfly.openssl.path>
  44. </properties>
  45. <dependencies>
  46. <dependency>
  47. <groupId>io.undertow</groupId>
  48. <artifactId>undertow-parser-generator</artifactId>
  49. <scope>provided</scope>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.jboss.logging</groupId>
  53. <artifactId>jboss-logging</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.jboss.logging</groupId>
  57. <artifactId>jboss-logging-processor</artifactId>
  58. <scope>provided</scope>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.jboss.xnio</groupId>
  62. <artifactId>xnio-api</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.jboss.xnio</groupId>
  66. <artifactId>xnio-nio</artifactId>
  67. <scope>runtime</scope>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.jboss.threads</groupId>
  71. <artifactId>jboss-threads</artifactId>
  72. </dependency>
  73. <!-- Test dependencies -->
  74. <dependency>
  75. <groupId>io.netty</groupId>
  76. <artifactId>netty-all</artifactId>
  77. <scope>test</scope>
  78. </dependency>
  79. <dependency>
  80. <groupId>com.twitter</groupId>
  81. <artifactId>hpack</artifactId>
  82. <scope>test</scope>
  83. </dependency>
  84. <dependency>
  85. <groupId>junit</groupId>
  86. <artifactId>junit</artifactId>
  87. <scope>test</scope>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.apache.directory.server</groupId>
  91. <artifactId>apacheds-test-framework</artifactId>
  92. <scope>test</scope>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.apache.directory.server</groupId>
  96. <artifactId>apacheds-interceptor-kerberos</artifactId>
  97. <scope>test</scope>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.apache.httpcomponents</groupId>
  101. <artifactId>httpclient</artifactId>
  102. <scope>test</scope>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.apache.httpcomponents</groupId>
  106. <artifactId>httpmime</artifactId>
  107. <scope>test</scope>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.easymock</groupId>
  111. <artifactId>easymock</artifactId>
  112. <scope>test</scope>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.jboss.logmanager</groupId>
  116. <artifactId>jboss-logmanager</artifactId>
  117. <scope>test</scope>
  118. </dependency>
  119. <dependency>
  120. <groupId>com.h2database</groupId>
  121. <artifactId>h2</artifactId>
  122. <scope>test</scope>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.wildfly.openssl</groupId>
  126. <artifactId>wildfly-openssl</artifactId>
  127. <version>${version.org.wildfly.openssl}</version>
  128. <scope>test</scope>
  129. </dependency>
  130. </dependencies>
  131. <build>
  132. <resources>
  133. <resource>
  134. <directory>src/main/resources</directory>
  135. <filtering>true</filtering>
  136. </resource>
  137. </resources>
  138. <testResources>
  139. <testResource>
  140. <directory>src/test/resources</directory>
  141. </testResource>
  142. <testResource>
  143. <directory>src/test/java</directory>
  144. <excludes>
  145. <exclude>**/*.java</exclude>
  146. </excludes>
  147. </testResource>
  148. </testResources>
  149. <plugins>
  150. <plugin>
  151. <groupId>org.apache.felix</groupId>
  152. <artifactId>maven-bundle-plugin</artifactId>
  153. <executions>
  154. <execution>
  155. <id>generate-manifest</id>
  156. <goals>
  157. <goal>manifest</goal>
  158. </goals>
  159. <configuration>
  160. <instructions>
  161. <Export-Package>
  162. io.undertow.*;version=${project.version};-noimport:=true
  163. </Export-Package>
  164. <Import-Package>
  165. !org.xnio._private,
  166. org.xnio.*;version="[3.8,4)",
  167. !., !sun.*,
  168. *
  169. </Import-Package>
  170. </instructions>
  171. </configuration>
  172. </execution>
  173. </executions>
  174. </plugin>
  175. <plugin>
  176. <groupId>org.apache.maven.plugins</groupId>
  177. <artifactId>maven-jar-plugin</artifactId>
  178. <executions>
  179. <execution>
  180. <id>test-jar</id>
  181. <goals>
  182. <goal>test-jar</goal>
  183. </goals>
  184. <configuration>
  185. <classifier>tests</classifier>
  186. </configuration>
  187. </execution>
  188. </executions>
  189. <configuration>
  190. <archive>
  191. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  192. </archive>
  193. </configuration>
  194. </plugin>
  195. <plugin>
  196. <groupId>org.bitstrings.maven.plugins</groupId>
  197. <artifactId>dependencypath-maven-plugin</artifactId>
  198. <version>1.1.1</version>
  199. <executions>
  200. <execution>
  201. <id>set-all</id>
  202. <goals>
  203. <goal>set</goal>
  204. </goals>
  205. </execution>
  206. </executions>
  207. </plugin>
  208. <plugin>
  209. <groupId>org.apache.maven.plugins</groupId>
  210. <artifactId>maven-surefire-plugin</artifactId>
  211. <configuration>
  212. <enableAssertions>true</enableAssertions>
  213. <runOrder>reversealphabetical</runOrder>
  214. <failIfNoTests>true</failIfNoTests>
  215. <systemPropertyVariables>
  216. <test.ajp>${ajp}</test.ajp>
  217. <test.proxy>${proxy}</test.proxy>
  218. <test.dump>${dump}</test.dump>
  219. <test.https>${https}</test.https>
  220. <test.openssl>${openssl}</test.openssl>
  221. <test.bufferSize>${bufferSize}</test.bufferSize>
  222. <default.server.address>localhost</default.server.address>
  223. <default.server.port>7777</default.server.port>
  224. <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
  225. <test.level>${test.level}</test.level>
  226. <java.net.preferIPv6Addresses>${test.ipv6}</java.net.preferIPv6Addresses>
  227. <sun.net.useExclusiveBind>false</sun.net.useExclusiveBind>
  228. <org.wildfly.openssl.path>${org.wildfly.openssl.path}</org.wildfly.openssl.path>
  229. </systemPropertyVariables>
  230. <argLine>${jacoco.agent.argLine} ${surefire.system.args} ${libraryPath}</argLine>
  231. </configuration>
  232. </plugin>
  233. </plugins>
  234. </build>
  235. <profiles>
  236. <profile>
  237. <id>mac</id>
  238. <activation>
  239. <os>
  240. <family>mac</family>
  241. </os>
  242. </activation>
  243. <properties>
  244. <org.wildfly.openssl.path>/usr/local/opt/openssl/lib</org.wildfly.openssl.path>
  245. </properties>
  246. </profile>
  247. <profile>
  248. <id>openssl</id>
  249. <activation>
  250. <property><name>test.openssl</name></property>
  251. </activation>
  252. <properties>
  253. <libraryPath>-Djava.library.path=${java.library.path}</libraryPath>
  254. </properties>
  255. </profile>
  256. <profile>
  257. <id>proxy</id>
  258. <build>
  259. <plugins>
  260. <plugin>
  261. <groupId>org.apache.maven.plugins</groupId>
  262. <artifactId>maven-surefire-plugin</artifactId>
  263. <executions>
  264. <execution>
  265. <id>proxy</id>
  266. <phase>test</phase>
  267. <goals>
  268. <goal>test</goal>
  269. </goals>
  270. <configuration>
  271. <enableAssertions>true</enableAssertions>
  272. <runOrder>reversealphabetical</runOrder>
  273. <systemPropertyVariables>
  274. <test.proxy>true</test.proxy>
  275. <test.dump>${dump}</test.dump>
  276. <test.bufferSize>${bufferSize}</test.bufferSize>
  277. <default.server.address>localhost</default.server.address>
  278. <default.server.port>7777</default.server.port>
  279. <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
  280. <test.level>${test.level}</test.level>
  281. <java.net.preferIPv6Addresses>${test.ipv6}</java.net.preferIPv6Addresses>
  282. <sun.net.useExclusiveBind>false</sun.net.useExclusiveBind>
  283. </systemPropertyVariables>
  284. <reportsDirectory>${project.build.directory}/surefire-proxy-reports</reportsDirectory>
  285. </configuration>
  286. </execution>
  287. <execution>
  288. <id>proxy-ajp</id>
  289. <phase>test</phase>
  290. <goals>
  291. <goal>test</goal>
  292. </goals>
  293. <configuration>
  294. <enableAssertions>true</enableAssertions>
  295. <runOrder>reversealphabetical</runOrder>
  296. <systemPropertyVariables>
  297. <test.ajp>true</test.ajp>
  298. <test.dump>${dump}</test.dump>
  299. <test.bufferSize>${bufferSize}</test.bufferSize>
  300. <default.server.address>localhost</default.server.address>
  301. <default.server.port>7777</default.server.port>
  302. <java.util.logging.manager>org.jboss.logmanager.LogManager
  303. </java.util.logging.manager>
  304. <test.level>${test.level}</test.level>
  305. <java.net.preferIPv6Addresses>${test.ipv6}</java.net.preferIPv6Addresses>
  306. <sun.net.useExclusiveBind>false</sun.net.useExclusiveBind>
  307. </systemPropertyVariables>
  308. <reportsDirectory>${project.build.directory}/surefire-ajp-reports</reportsDirectory>
  309. </configuration>
  310. </execution>
  311. <execution>
  312. <id>proxy-https</id>
  313. <phase>test</phase>
  314. <goals>
  315. <goal>test</goal>
  316. </goals>
  317. <configuration>
  318. <enableAssertions>true</enableAssertions>
  319. <runOrder>reversealphabetical</runOrder>
  320. <systemPropertyVariables>
  321. <test.https>true</test.https>
  322. <test.dump>${dump}</test.dump>
  323. <test.bufferSize>${bufferSize}</test.bufferSize>
  324. <default.server.address>localhost</default.server.address>
  325. <default.server.port>7777</default.server.port>
  326. <java.util.logging.manager>org.jboss.logmanager.LogManager
  327. </java.util.logging.manager>
  328. <test.level>${test.level}</test.level>
  329. <java.net.preferIPv6Addresses>${test.ipv6}</java.net.preferIPv6Addresses>
  330. <sun.net.useExclusiveBind>false</sun.net.useExclusiveBind>
  331. </systemPropertyVariables>
  332. <reportsDirectory>${project.build.directory}/surefire-https-reports</reportsDirectory>
  333. </configuration>
  334. </execution>
  335. <execution>
  336. <id>proxy-h2</id>
  337. <phase>test</phase>
  338. <goals>
  339. <goal>test</goal>
  340. </goals>
  341. <configuration>
  342. <enableAssertions>true</enableAssertions>
  343. <runOrder>reversealphabetical</runOrder>
  344. <systemPropertyVariables>
  345. <test.h2>true</test.h2>
  346. <test.dump>${dump}</test.dump>
  347. <test.bufferSize>${bufferSize}</test.bufferSize>
  348. <default.server.address>localhost</default.server.address>
  349. <default.server.port>7777</default.server.port>
  350. <java.util.logging.manager>org.jboss.logmanager.LogManager
  351. </java.util.logging.manager>
  352. <test.level>${test.level}</test.level>
  353. <java.net.preferIPv6Addresses>${test.ipv6}</java.net.preferIPv6Addresses>
  354. <sun.net.useExclusiveBind>false</sun.net.useExclusiveBind>
  355. </systemPropertyVariables>
  356. <reportsDirectory>${project.build.directory}/surefire-h2-reports</reportsDirectory>
  357. </configuration>
  358. </execution>
  359. <execution>
  360. <id>proxy-h2c</id>
  361. <phase>test</phase>
  362. <goals>
  363. <goal>test</goal>
  364. </goals>
  365. <configuration>
  366. <enableAssertions>true</enableAssertions>
  367. <runOrder>reversealphabetical</runOrder>
  368. <systemPropertyVariables>
  369. <test.h2c>true</test.h2c>
  370. <test.dump>${dump}</test.dump>
  371. <test.bufferSize>${bufferSize}</test.bufferSize>
  372. <default.server.address>localhost</default.server.address>
  373. <default.server.port>7777</default.server.port>
  374. <java.util.logging.manager>org.jboss.logmanager.LogManager
  375. </java.util.logging.manager>
  376. <test.level>${test.level}</test.level>
  377. <java.net.preferIPv6Addresses>${test.ipv6}</java.net.preferIPv6Addresses>
  378. <sun.net.useExclusiveBind>false</sun.net.useExclusiveBind>
  379. </systemPropertyVariables>
  380. <reportsDirectory>${project.build.directory}/surefire-h2c-reports</reportsDirectory>
  381. </configuration>
  382. </execution>
  383. <execution>
  384. <id>proxy-h2c-upgrade</id>
  385. <phase>test</phase>
  386. <goals>
  387. <goal>test</goal>
  388. </goals>
  389. <configuration>
  390. <enableAssertions>true</enableAssertions>
  391. <runOrder>reversealphabetical</runOrder>
  392. <systemPropertyVariables>
  393. <test.h2c-upgrade>true</test.h2c-upgrade>
  394. <test.dump>${dump}</test.dump>
  395. <test.bufferSize>${bufferSize}</test.bufferSize>
  396. <default.server.address>localhost</default.server.address>
  397. <default.server.port>7777</default.server.port>
  398. <java.util.logging.manager>org.jboss.logmanager.LogManager
  399. </java.util.logging.manager>
  400. <test.level>${test.level}</test.level>
  401. <java.net.preferIPv6Addresses>${test.ipv6}</java.net.preferIPv6Addresses>
  402. <sun.net.useExclusiveBind>false</sun.net.useExclusiveBind>
  403. </systemPropertyVariables>
  404. <reportsDirectory>${project.build.directory}/surefire-h2c-upgrade-reports</reportsDirectory>
  405. </configuration>
  406. </execution>
  407. </executions>
  408. </plugin>
  409. </plugins>
  410. </build>
  411. </profile>
  412. </profiles>
  413. </project>