Home | History | Annotate | Download | only in webserver
      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</artifactId>
      7     <version>2.1.0</version>
      8     <packaging>jar</packaging>
      9 
     10     <name>NanoHttpd-Webserver</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         </dependency>
     19     </dependencies>
     20 
     21     <build>
     22         <extensions>
     23             <extension>
     24                 <groupId>org.jvnet.wagon-svn</groupId>
     25                 <artifactId>wagon-svn</artifactId>
     26                 <version>1.8</version>
     27             </extension>
     28             <extension>
     29                 <groupId>org.apache.maven.wagon</groupId>
     30                 <artifactId>wagon-ftp</artifactId>
     31                 <version>1.0-alpha-6</version>
     32             </extension>
     33         </extensions>
     34 
     35         <plugins>
     36             <plugin>
     37                 <groupId>org.apache.maven.plugins</groupId>
     38                 <artifactId>maven-source-plugin</artifactId>
     39                 <version>2.2.1</version>
     40                 <executions>
     41                     <execution>
     42                         <id>attach-sources</id>
     43                         <goals>
     44                             <goal>jar</goal>
     45                         </goals>
     46                     </execution>
     47                 </executions>
     48             </plugin>
     49             <plugin>
     50                 <groupId>org.apache.maven.plugins</groupId>
     51                 <artifactId>maven-release-plugin</artifactId>
     52                 <version>2.4</version>
     53             </plugin>
     54             <plugin>
     55                 <groupId>org.apache.maven.plugins</groupId>
     56                 <artifactId>maven-javadoc-plugin</artifactId>
     57                 <version>2.9</version>
     58             </plugin>
     59             <plugin>
     60                 <groupId>org.apache.maven.plugins</groupId>
     61                 <artifactId>maven-compiler-plugin</artifactId>
     62                 <version>2.3.1</version>
     63                 <configuration>
     64                     <source>1.6</source>
     65                     <target>1.6</target>
     66                 </configuration>
     67             </plugin>
     68             <plugin>
     69                 <groupId>org.apache.maven.plugins</groupId>
     70                 <artifactId>maven-assembly-plugin</artifactId>
     71                 <version>2.2-beta-5</version>
     72                 <configuration>
     73                     <descriptorRefs>
     74                         <descriptorRef>jar-with-dependencies</descriptorRef>
     75                     </descriptorRefs>
     76                     <archive>
     77                         <manifest>
     78                             <mainClass>fi.iki.elonen.SimpleWebServer</mainClass>
     79                         </manifest>
     80                     </archive>
     81                 </configuration>
     82                 <executions>
     83                     <execution>
     84                         <phase>package</phase>
     85                         <goals>
     86                             <goal>single</goal>
     87                         </goals>
     88                     </execution>
     89                 </executions>
     90             </plugin>
     91         </plugins>
     92     </build>
     93 </project>
     94