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