undertow-servlet-2.2.16.Final.pom 19 KB

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