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-webserver</artifactId> 9 <packaging>jar</packaging> 10 <name>NanoHttpd-Webserver</name> 11 <description>nanohttpd-webserver can serve any local directory as a webserver using nanohttpd.</description> 12 <dependencies> 13 <dependency> 14 <groupId>${project.groupId}</groupId> 15 <artifactId>nanohttpd</artifactId> 16 <version>${project.version}</version> 17 </dependency> 18 <dependency> 19 <groupId>org.apache.httpcomponents</groupId> 20 <artifactId>httpclient</artifactId> 21 <version>4.4.1</version> 22 <scope>test</scope> 23 </dependency> 24 </dependencies> 25 <build> 26 <plugins> 27 <plugin> 28 <groupId>org.apache.maven.plugins</groupId> 29 <artifactId>maven-assembly-plugin</artifactId> 30 <version>2.2-beta-5</version> 31 <configuration> 32 <descriptorRefs> 33 <descriptorRef>jar-with-dependencies</descriptorRef> 34 </descriptorRefs> 35 <archive> 36 <manifest> 37 <mainClass>fi.iki.elonen.SimpleWebServer</mainClass> 38 </manifest> 39 </archive> 40 </configuration> 41 <executions> 42 <execution> 43 <phase>package</phase> 44 <goals> 45 <goal>single</goal> 46 </goals> 47 </execution> 48 </executions> 49 </plugin> 50 </plugins> 51 </build> 52 <properties> 53 <minimal.coverage>0.75</minimal.coverage> 54 </properties> 55</project> 56