2012-06-12 15:43:29 -04:00
|
|
|
<?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>
|
2016-09-30 15:05:47 -04:00
|
|
|
<version>9.3.13-SNAPSHOT</version>
|
2012-06-12 15:43:29 -04:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>websocket-client</artifactId>
|
|
|
|
<name>Jetty :: Websocket :: Client</name>
|
|
|
|
|
|
|
|
<properties>
|
2012-09-24 01:04:57 -04:00
|
|
|
<bundle-symbolic-name>${project.groupId}.client</bundle-symbolic-name>
|
2012-06-12 15:43:29 -04:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
2012-07-02 18:59:35 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-util</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-io</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2012-06-12 15:43:29 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.websocket</groupId>
|
2012-11-05 19:58:06 -05:00
|
|
|
<artifactId>websocket-common</artifactId>
|
2012-06-12 15:43:29 -04:00
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2014-01-08 12:46:15 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.websocket</groupId>
|
|
|
|
<artifactId>websocket-common</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<classifier>tests</classifier>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2012-07-02 18:59:35 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.toolchain</groupId>
|
|
|
|
<artifactId>jetty-test-helper</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2012-06-12 15:43:29 -04:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2012-06-18 13:08:10 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<executions>
|
2013-01-25 14:19:17 -05:00
|
|
|
<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>
|
|
|
|
</includes>
|
|
|
|
<searchTransitive>true</searchTransitive>
|
|
|
|
<message>The servlet-api dependency is banned in websocket-client as it causes problems in apps that use client only.</message>
|
|
|
|
</bannedDependencies>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>tests-jar</id>
|
|
|
|
<goals>
|
|
|
|
<goal>test-jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
2012-06-18 13:08:10 -04:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
2013-03-08 11:56:06 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
|
|
<version>2.0</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<shadedArtifactAttached>true</shadedArtifactAttached>
|
|
|
|
<shadedClassifierName>hybrid</shadedClassifierName>
|
|
|
|
<artifactSet>
|
|
|
|
<includes>
|
|
|
|
<include>org.eclipse.jetty.websocket:websocket-common</include>
|
|
|
|
</includes>
|
|
|
|
</artifactSet>
|
|
|
|
<relocations>
|
|
|
|
<relocation>
|
|
|
|
<pattern>org.eclipse.jetty.websocket.common</pattern>
|
|
|
|
<shadedPattern>org.eclipse.jetty.websocket.client.common</shadedPattern>
|
|
|
|
</relocation>
|
|
|
|
</relocations>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2012-06-12 15:43:29 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|