1<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/xsd/maven-4.0.0.xsd"> 2 <modelVersion>4.0.0</modelVersion> 3 <parent> 4 <groupId>org.nanohttpd</groupId> 5 <artifactId>nanohttpd-project</artifactId> 6 <version>2.2.0</version> 7 </parent> 8 <artifactId>nanohttpd-websocket</artifactId> 9 <packaging>jar</packaging> 10 <name>NanoHttpd-Websocket</name> 11 <description>nanohttpd-websocket is a very low profile websocket server based on nanohttpd.</description> 12 <build> 13 <plugins> 14 <plugin> 15 <groupId>org.apache.maven.plugins</groupId> 16 <artifactId>maven-jar-plugin</artifactId> 17 <executions> 18 <execution> 19 <id>default-jar</id> 20 <configuration> 21 <excludes> 22 <exclude>**/samples/**</exclude> 23 </excludes> 24 </configuration> 25 </execution> 26 <execution> 27 <id>echo-jar</id> 28 <phase>package</phase> 29 <goals> 30 <goal>jar</goal> 31 </goals> 32 <configuration> 33 <classifier>echo</classifier> 34 <archive> 35 <manifest> 36 <addClasspath>true</addClasspath> 37 <mainClass>fi.iki.elonen.samples.echo.EchoSocketSample</mainClass> 38 </manifest> 39 </archive> 40 </configuration> 41 </execution> 42 </executions> 43 </plugin> 44 </plugins> 45 </build> 46 <dependencies> 47 <dependency> 48 <groupId>${project.groupId}</groupId> 49 <artifactId>nanohttpd</artifactId> 50 <version>${project.version}</version> 51 </dependency> 52 <dependency> 53 <groupId>org.mockito</groupId> 54 <artifactId>mockito-all</artifactId> 55 <version>1.9.5</version> 56 <scope>test</scope> 57 </dependency> 58 <dependency> 59 <groupId>org.eclipse.jetty.websocket</groupId> 60 <artifactId>websocket-client</artifactId> 61 <version>9.3.0.M2</version> 62 <scope>test</scope> 63 </dependency> 64 </dependencies> 65 <properties> 66 <minimal.coverage>0.67</minimal.coverage> 67 </properties> 68</project> 69