undertow-websockets-jsr-2.1.3.Final.pom 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  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.1.3.Final</version>
  27. </parent>
  28. <groupId>io.undertow</groupId>
  29. <artifactId>undertow-websockets-jsr</artifactId>
  30. <version>2.1.3.Final</version>
  31. <name>Undertow WebSockets JSR356 implementations</name>
  32. <properties>
  33. <test.level>INFO</test.level>
  34. <serverPort>7777</serverPort>
  35. <proxy>false</proxy>
  36. <test.ipv6>false</test.ipv6>
  37. </properties>
  38. <dependencies>
  39. <dependency>
  40. <groupId>io.undertow</groupId>
  41. <artifactId>undertow-core</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>io.undertow</groupId>
  45. <artifactId>undertow-servlet</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.jboss.spec.javax.websocket</groupId>
  49. <artifactId>jboss-websocket-api_1.1_spec</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.jboss.logging</groupId>
  53. <artifactId>jboss-logging-processor</artifactId>
  54. <scope>provided</scope>
  55. </dependency>
  56. <!-- Test dependencies -->
  57. <dependency>
  58. <groupId>io.undertow</groupId>
  59. <artifactId>undertow-core</artifactId>
  60. <type>test-jar</type>
  61. <scope>test</scope>
  62. </dependency>
  63. <dependency>
  64. <groupId>io.undertow</groupId>
  65. <artifactId>undertow-servlet</artifactId>
  66. <type>test-jar</type>
  67. <scope>test</scope>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.jboss.xnio</groupId>
  71. <artifactId>xnio-nio</artifactId>
  72. <scope>test</scope>
  73. </dependency>
  74. <dependency>
  75. <groupId>junit</groupId>
  76. <artifactId>junit</artifactId>
  77. <scope>test</scope>
  78. </dependency>
  79. <dependency>
  80. <groupId>io.netty</groupId>
  81. <artifactId>netty-all</artifactId>
  82. <scope>test</scope>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.jboss.logmanager</groupId>
  86. <artifactId>jboss-logmanager</artifactId>
  87. <scope>test</scope>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.apache.httpcomponents</groupId>
  91. <artifactId>httpclient</artifactId>
  92. <scope>test</scope>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.wildfly.openssl</groupId>
  96. <artifactId>wildfly-openssl</artifactId>
  97. <version>${version.org.wildfly.openssl}</version>
  98. <scope>test</scope>
  99. </dependency>
  100. </dependencies>
  101. <build>
  102. <testResources>
  103. <testResource>
  104. <directory>src/test/resources</directory>
  105. </testResource>
  106. <testResource>
  107. <directory>src/test/java</directory>
  108. <excludes>
  109. <exclude>**/*.java</exclude>
  110. </excludes>
  111. </testResource>
  112. </testResources>
  113. <plugins>
  114. <plugin>
  115. <groupId>org.apache.maven.plugins</groupId>
  116. <artifactId>maven-surefire-plugin</artifactId>
  117. <configuration>
  118. <enableAssertions>true</enableAssertions>
  119. <runOrder>reversealphabetical</runOrder>
  120. <skip>${skipWebSocketTests}</skip>
  121. <redirectTestOutputToFile>true</redirectTestOutputToFile>
  122. <systemPropertyVariables>
  123. <proxy>${proxy}</proxy>
  124. <default.server.address>localhost</default.server.address>
  125. <default.server.port>7777</default.server.port>
  126. <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
  127. <test.level>${test.level}</test.level>
  128. <java.net.preferIPv6Addresses>${test.ipv6}</java.net.preferIPv6Addresses>
  129. <sun.net.useExclusiveBind>false</sun.net.useExclusiveBind>
  130. <org.wildfly.openssl.path>${org.wildfly.openssl.path}</org.wildfly.openssl.path>
  131. </systemPropertyVariables>
  132. <argLine>${surefire.system.args} ${jacoco.agent.argLine}</argLine>
  133. </configuration>
  134. </plugin>
  135. </plugins>
  136. </build>
  137. <profiles>
  138. <profile>
  139. <id>mac</id>
  140. <activation>
  141. <os>
  142. <family>mac</family>
  143. </os>
  144. </activation>
  145. <properties>
  146. <org.wildfly.openssl.path>/usr/local/opt/openssl/lib</org.wildfly.openssl.path>
  147. </properties>
  148. </profile>
  149. <profile>
  150. <id>spdy-no-tests</id>
  151. <activation>
  152. <property>
  153. <name>test.spdy</name>
  154. <value>true</value>
  155. </property>
  156. </activation>
  157. <properties>
  158. <skipWebSocketTests>true</skipWebSocketTests>
  159. </properties>
  160. </profile>
  161. <profile>
  162. <id>h2-no-tests</id>
  163. <activation>
  164. <property>
  165. <name>test.h2</name>
  166. <value>true</value>
  167. </property>
  168. </activation>
  169. <properties>
  170. <skipWebSocketTests>true</skipWebSocketTests>
  171. </properties>
  172. </profile>
  173. <profile>
  174. <id>autobahn</id>
  175. <activation>
  176. <property>
  177. <name>autobahn</name>
  178. </property>
  179. </activation>
  180. <build>
  181. <plugins>
  182. <plugin>
  183. <groupId>me.normanmaurer.maven.autobahntestsuite</groupId>
  184. <artifactId>autobahntestsuite-maven-plugin</artifactId>
  185. <version>0.1.3</version>
  186. <configuration>
  187. <host>127.0.0.1</host>
  188. <port>7777</port>
  189. <mainClass>io.undertow.websockets.jsr.test.autobahn.AnnotatedAutobahnServer</mainClass>
  190. <cases>
  191. <case>*</case>
  192. </cases>
  193. <excludeCases></excludeCases>
  194. <failOnNonStrict>false</failOnNonStrict>
  195. <generateJUnitXmlReports>true</generateJUnitXmlReports>
  196. </configuration>
  197. <executions>
  198. <execution>
  199. <phase>test</phase>
  200. <goals>
  201. <goal>fuzzingclient</goal>
  202. </goals>
  203. </execution>
  204. </executions>
  205. </plugin>
  206. </plugins>
  207. </build>
  208. </profile>
  209. </profiles>
  210. </project>