undertow-websockets-jsr-2.3.13.Final.pom 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  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.13.Final</version>
  27. </parent>
  28. <groupId>io.undertow</groupId>
  29. <artifactId>undertow-websockets-jsr</artifactId>
  30. <name>Undertow WebSockets JSR356 implementations</name>
  31. <version>2.3.13.Final</version>
  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>jakarta.websocket</groupId>
  49. <artifactId>jakarta.websocket-api</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>jakarta.websocket</groupId>
  53. <artifactId>jakarta.websocket-client-api</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.jboss.logging</groupId>
  57. <artifactId>jboss-logging-processor</artifactId>
  58. <scope>provided</scope>
  59. </dependency>
  60. <!-- Test dependencies -->
  61. <dependency>
  62. <groupId>io.undertow</groupId>
  63. <artifactId>undertow-core</artifactId>
  64. <type>test-jar</type>
  65. <scope>test</scope>
  66. </dependency>
  67. <dependency>
  68. <groupId>io.undertow</groupId>
  69. <artifactId>undertow-servlet</artifactId>
  70. <type>test-jar</type>
  71. <scope>test</scope>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.jboss.xnio</groupId>
  75. <artifactId>xnio-nio</artifactId>
  76. <scope>test</scope>
  77. </dependency>
  78. <dependency>
  79. <groupId>junit</groupId>
  80. <artifactId>junit</artifactId>
  81. <scope>test</scope>
  82. </dependency>
  83. <dependency>
  84. <groupId>io.netty</groupId>
  85. <artifactId>netty-all</artifactId>
  86. <scope>test</scope>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.jboss.logmanager</groupId>
  90. <artifactId>jboss-logmanager</artifactId>
  91. <scope>test</scope>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.apache.httpcomponents</groupId>
  95. <artifactId>httpclient</artifactId>
  96. <scope>test</scope>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.wildfly.openssl</groupId>
  100. <artifactId>wildfly-openssl</artifactId>
  101. <version>${version.org.wildfly.openssl}</version>
  102. <scope>test</scope>
  103. </dependency>
  104. </dependencies>
  105. <build>
  106. <testResources>
  107. <testResource>
  108. <directory>src/test/resources</directory>
  109. </testResource>
  110. <testResource>
  111. <directory>src/test/java</directory>
  112. <excludes>
  113. <exclude>**/*.java</exclude>
  114. </excludes>
  115. </testResource>
  116. </testResources>
  117. <plugins>
  118. <plugin>
  119. <groupId>org.apache.felix</groupId>
  120. <artifactId>maven-bundle-plugin</artifactId>
  121. <executions>
  122. <execution>
  123. <id>generate-manifest</id>
  124. <goals>
  125. <goal>manifest</goal>
  126. </goals>
  127. <configuration>
  128. <instructions>
  129. <Export-Package>
  130. io.undertow.websockets.jsr*;version=${project.version};-noimport:=true
  131. </Export-Package>
  132. <Import-Package>
  133. !sun.*,
  134. *
  135. </Import-Package>
  136. </instructions>
  137. </configuration>
  138. </execution>
  139. </executions>
  140. </plugin>
  141. <plugin>
  142. <groupId>org.apache.maven.plugins</groupId>
  143. <artifactId>maven-jar-plugin</artifactId>
  144. <configuration>
  145. <archive>
  146. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  147. </archive>
  148. </configuration>
  149. </plugin>
  150. <plugin>
  151. <groupId>org.apache.maven.plugins</groupId>
  152. <artifactId>maven-surefire-plugin</artifactId>
  153. <configuration>
  154. <enableAssertions>true</enableAssertions>
  155. <runOrder>reversealphabetical</runOrder>
  156. <skip>${skipWebSocketTests}</skip>
  157. <redirectTestOutputToFile>true</redirectTestOutputToFile>
  158. <failIfNoTests>true</failIfNoTests>
  159. <systemPropertyVariables>
  160. <proxy>${proxy}</proxy>
  161. <default.server.address>localhost</default.server.address>
  162. <default.server.port>7777</default.server.port>
  163. <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
  164. <test.level>${test.level}</test.level>
  165. <java.net.preferIPv6Addresses>${test.ipv6}</java.net.preferIPv6Addresses>
  166. <sun.net.useExclusiveBind>false</sun.net.useExclusiveBind>
  167. <org.wildfly.openssl.path>${org.wildfly.openssl.path}</org.wildfly.openssl.path>
  168. </systemPropertyVariables>
  169. <argLine>${surefire.system.args} ${jacoco.agent.argLine}</argLine>
  170. </configuration>
  171. </plugin>
  172. </plugins>
  173. </build>
  174. <profiles>
  175. <profile>
  176. <id>mac</id>
  177. <activation>
  178. <os>
  179. <family>mac</family>
  180. </os>
  181. </activation>
  182. <properties>
  183. <org.wildfly.openssl.path>/usr/local/opt/openssl/lib</org.wildfly.openssl.path>
  184. </properties>
  185. </profile>
  186. <profile>
  187. <id>spdy-no-tests</id>
  188. <activation>
  189. <property>
  190. <name>test.spdy</name>
  191. <value>true</value>
  192. </property>
  193. </activation>
  194. <properties>
  195. <skipWebSocketTests>true</skipWebSocketTests>
  196. </properties>
  197. </profile>
  198. <profile>
  199. <id>h2-no-tests</id>
  200. <activation>
  201. <property>
  202. <name>test.h2</name>
  203. <value>true</value>
  204. </property>
  205. </activation>
  206. <properties>
  207. <skipWebSocketTests>true</skipWebSocketTests>
  208. </properties>
  209. </profile>
  210. <profile>
  211. <id>autobahn</id>
  212. <activation>
  213. <property>
  214. <name>autobahn</name>
  215. </property>
  216. </activation>
  217. <build>
  218. <plugins>
  219. <plugin>
  220. <groupId>me.normanmaurer.maven.autobahntestsuite</groupId>
  221. <artifactId>autobahntestsuite-maven-plugin</artifactId>
  222. <version>0.1.3</version>
  223. <configuration>
  224. <host>127.0.0.1</host>
  225. <port>7777</port>
  226. <mainClass>io.undertow.websockets.jsr.test.autobahn.AnnotatedAutobahnServer</mainClass>
  227. <cases>
  228. <case>*</case>
  229. </cases>
  230. <excludeCases></excludeCases>
  231. <failOnNonStrict>false</failOnNonStrict>
  232. <generateJUnitXmlReports>true</generateJUnitXmlReports>
  233. </configuration>
  234. <executions>
  235. <execution>
  236. <phase>test</phase>
  237. <goals>
  238. <goal>fuzzingclient</goal>
  239. </goals>
  240. </execution>
  241. </executions>
  242. </plugin>
  243. </plugins>
  244. </build>
  245. </profile>
  246. </profiles>
  247. </project>