135 lines
4.5 KiB
XML
135 lines
4.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<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/maven-v4_0_0.xsd">
|
|
<parent>
|
|
<groupId>org.eclipse.jetty.websocket</groupId>
|
|
<artifactId>websocket-parent</artifactId>
|
|
<version>10.0.0-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>websocket-core-tests</artifactId>
|
|
<name>Jetty :: Websocket :: Core :: Tests</name>
|
|
|
|
<properties>
|
|
<bundle-symbolic-name>${project.groupId}.core.tests</bundle-symbolic-name>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.websocket</groupId>
|
|
<artifactId>websocket-core-client</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.websocket</groupId>
|
|
<artifactId>websocket-core-server</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.websocket</groupId>
|
|
<artifactId>websocket-core-common</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-slf4j-impl</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>ban-ws-apis</id>
|
|
<goals>
|
|
<goal>enforce</goal>
|
|
</goals>
|
|
<configuration>
|
|
<rules>
|
|
<bannedDependencies>
|
|
<includes>
|
|
<include>org.eclipse.jetty.websocket:websocket-jetty-api</include>
|
|
<include>javax.websocket</include>
|
|
</includes>
|
|
</bannedDependencies>
|
|
</rules>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>ban-java-servlet-api</id>
|
|
<goals>
|
|
<goal>enforce</goal>
|
|
</goals>
|
|
<configuration>
|
|
<rules>
|
|
<bannedDependencies>
|
|
<includes>
|
|
<include>javax.servlet</include>
|
|
<include>servletapi</include>
|
|
<include>org.eclipse.jetty.orbit:javax.servlet</include>
|
|
<include>org.mortbay.jetty:servlet-api</include>
|
|
<include>jetty:servlet-api</include>
|
|
<include>jetty-servlet-api</include>
|
|
</includes>
|
|
</bannedDependencies>
|
|
</rules>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<profiles>
|
|
<profile>
|
|
<id>autobahn</id>
|
|
<activation>
|
|
<property>
|
|
<name>autobahn</name>
|
|
<value>true</value>
|
|
</property>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>me.normanmaurer.maven.autobahntestsuite</groupId>
|
|
<artifactId>autobahntestsuite-maven-plugin</artifactId>
|
|
<version>0.1.6</version>
|
|
<configuration>
|
|
|
|
<!-- Optional configuration -->
|
|
<!-- The port to bind the server on. Default is to choose a random free port. -->
|
|
<!--port>9090</port-->
|
|
|
|
<!-- The number of milliseconds to wait for the server to startup -->
|
|
<waitTime>20000</waitTime>
|
|
<generateJUnitXml>true</generateJUnitXml>
|
|
<cases>
|
|
<case>*</case>
|
|
</cases>
|
|
<testFailureIgnore>true</testFailureIgnore>
|
|
<excludeCases></excludeCases>
|
|
<failOnNonStrict>false</failOnNonStrict>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>test</phase>
|
|
<goals>
|
|
<goal>fuzzingclient</goal>
|
|
</goals>
|
|
<configuration>
|
|
<!-- The class that contains a main method which accepts the port as a parameter to start the server. -->
|
|
<mainClass>org.eclipse.jetty.websocket.core.autobahn.CoreAutobahnServer</mainClass>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|