1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 3 <modelVersion>4.0.0</modelVersion> 4 5 <groupId>fi.iki.elonen</groupId> 6 <artifactId>nanohttpd-webserver-markdown-plugin</artifactId> 7 <version>2.1.0</version> 8 <packaging>jar</packaging> 9 10 <name>NanoHttpd-Webserver-Markdown-Plugin</name> 11 <url>https://github.com/NanoHttpd/nanohttpd</url> 12 13 <dependencies> 14 <dependency> 15 <groupId>fi.iki.elonen</groupId> 16 <artifactId>nanohttpd</artifactId> 17 <version>2.1.0</version> 18 <scope>provided</scope> 19 </dependency> 20 <dependency> 21 <groupId>fi.iki.elonen</groupId> 22 <artifactId>nanohttpd-webserver</artifactId> 23 <version>2.1.0</version> 24 <scope>provided</scope> 25 </dependency> 26 <dependency> 27 <groupId>org.pegdown</groupId> 28 <artifactId>pegdown</artifactId> 29 <version>1.4.1</version> 30 </dependency> 31 </dependencies> 32 33 <build> 34 <extensions> 35 <extension> 36 <groupId>org.jvnet.wagon-svn</groupId> 37 <artifactId>wagon-svn</artifactId> 38 <version>1.8</version> 39 </extension> 40 <extension> 41 <groupId>org.apache.maven.wagon</groupId> 42 <artifactId>wagon-ftp</artifactId> 43 <version>1.0-alpha-6</version> 44 </extension> 45 </extensions> 46 47 <plugins> 48 <plugin> 49 <groupId>org.apache.maven.plugins</groupId> 50 <artifactId>maven-source-plugin</artifactId> 51 <version>2.2.1</version> 52 <executions> 53 <execution> 54 <id>attach-sources</id> 55 <goals> 56 <goal>jar</goal> 57 </goals> 58 </execution> 59 </executions> 60 </plugin> 61 <plugin> 62 <groupId>org.apache.maven.plugins</groupId> 63 <artifactId>maven-release-plugin</artifactId> 64 <version>2.4</version> 65 </plugin> 66 <plugin> 67 <groupId>org.apache.maven.plugins</groupId> 68 <artifactId>maven-javadoc-plugin</artifactId> 69 <version>2.9</version> 70 </plugin> 71 <plugin> 72 <groupId>org.apache.maven.plugins</groupId> 73 <artifactId>maven-compiler-plugin</artifactId> 74 <version>2.3.1</version> 75 <configuration> 76 <source>1.6</source> 77 <target>1.6</target> 78 </configuration> 79 </plugin> 80 <plugin> 81 <groupId>org.apache.maven.plugins</groupId> 82 <artifactId>maven-assembly-plugin</artifactId> 83 <version>2.2-beta-5</version> 84 <configuration> 85 <descriptorRefs> 86 <descriptorRef>jar-with-dependencies</descriptorRef> 87 </descriptorRefs> 88 <archive> 89 <manifest> 90 <mainClass>fi.iki.elonen.SimpleWebServer</mainClass> 91 </manifest> 92 </archive> 93 </configuration> 94 <executions> 95 <execution> 96 <phase>package</phase> 97 <goals> 98 <goal>single</goal> 99 </goals> 100 </execution> 101 </executions> 102 </plugin> 103 </plugins> 104 </build> 105 </project> 106