netty-demo
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

198 lines
5.8 KiB

14 years ago
13 years ago
14 years ago
13 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
13 years ago
14 years ago
14 years ago
14 years ago
14 years ago
  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. <groupId>com.corundumstudio.socketio</groupId>
  5. <artifactId>netty-socketio</artifactId>
  6. <version>1.0.0-SNAPSHOT</version>
  7. <packaging>jar</packaging>
  8. <name>NettySocketIO</name>
  9. <description>Socket.IO server implemented on Java</description>
  10. <inceptionYear>2012</inceptionYear>
  11. <properties>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. </properties>
  14. <licenses>
  15. <license>
  16. <name>Apache v2</name>
  17. <url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
  18. <distribution>manual</distribution>
  19. </license>
  20. </licenses>
  21. <developers>
  22. <developer>
  23. <id>mrniko</id>
  24. <name>Nikita Koksharov</name>
  25. <roles>
  26. <role>Architect</role>
  27. <role>Developer</role>
  28. </roles>
  29. <timezone>+4</timezone>
  30. </developer>
  31. </developers>
  32. <profiles>
  33. <profile>
  34. <id>exclude-swf-files</id>
  35. <build>
  36. <resources>
  37. <resource>
  38. <directory>src/main/resources</directory>
  39. <excludes>
  40. <exclude>static/**</exclude>
  41. </excludes>
  42. </resource>
  43. </resources>
  44. </build>
  45. </profile>
  46. </profiles>
  47. <dependencies>
  48. <dependency>
  49. <groupId>com.googlecode.jmockit</groupId>
  50. <artifactId>jmockit</artifactId>
  51. <version>0.999.16</version>
  52. <scope>test</scope>
  53. </dependency>
  54. <dependency>
  55. <groupId>junit</groupId>
  56. <artifactId>junit</artifactId>
  57. <version>4.10</version>
  58. <scope>test</scope>
  59. </dependency>
  60. <dependency>
  61. <groupId>io.netty</groupId>
  62. <artifactId>netty</artifactId>
  63. <version>3.6.1.Final</version>
  64. <scope>compile</scope>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.slf4j</groupId>
  68. <artifactId>slf4j-api</artifactId>
  69. <version>1.6.4</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>com.fasterxml.jackson.core</groupId>
  73. <artifactId>jackson-core</artifactId>
  74. <version>2.1.2</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>com.fasterxml.jackson.core</groupId>
  78. <artifactId>jackson-databind</artifactId>
  79. <version>2.1.2</version>
  80. </dependency>
  81. </dependencies>
  82. <build>
  83. <plugins>
  84. <plugin>
  85. <groupId>org.apache.maven.plugins</groupId>
  86. <artifactId>maven-eclipse-plugin</artifactId>
  87. <version>2.9</version>
  88. <configuration>
  89. <downloadSources>true</downloadSources>
  90. <forceRecheck>true</forceRecheck>
  91. </configuration>
  92. </plugin>
  93. <plugin>
  94. <groupId>org.apache.maven.plugins</groupId>
  95. <artifactId>maven-pmd-plugin</artifactId>
  96. <version>2.7.1</version>
  97. <executions>
  98. <execution>
  99. <phase>verify</phase>
  100. <goals>
  101. <goal>pmd</goal>
  102. <goal>cpd</goal>
  103. </goals>
  104. </execution>
  105. </executions>
  106. <configuration>
  107. <linkXref>true</linkXref>
  108. <minimumTokens>100</minimumTokens>
  109. <targetJdk>1.5</targetJdk>
  110. <verbose>true</verbose>
  111. </configuration>
  112. </plugin>
  113. <plugin>
  114. <groupId>org.apache.maven.plugins</groupId>
  115. <artifactId>maven-checkstyle-plugin</artifactId>
  116. <version>2.9.1</version>
  117. <executions>
  118. <execution>
  119. <phase>verify</phase>
  120. <goals>
  121. <goal>checkstyle</goal>
  122. </goals>
  123. </execution>
  124. </executions>
  125. <configuration>
  126. <consoleOutput>true</consoleOutput>
  127. <enableRSS>false</enableRSS>
  128. <configLocation>/checkstyle.xml</configLocation>
  129. </configuration>
  130. </plugin>
  131. <plugin>
  132. <artifactId>maven-compiler-plugin</artifactId>
  133. <version>2.5.1</version>
  134. <configuration>
  135. <source>1.5</source>
  136. <target>1.5</target>
  137. <optimize>true</optimize>
  138. <showDeprecations>true</showDeprecations>
  139. </configuration>
  140. </plugin>
  141. <plugin>
  142. <groupId>org.apache.maven.plugins</groupId>
  143. <artifactId>maven-surefire-plugin</artifactId>
  144. <version>2.12.3</version>
  145. <configuration>
  146. <argLine>-Dfile.encoding=utf-8</argLine>
  147. </configuration>
  148. </plugin>
  149. <plugin>
  150. <groupId>com.mycila.maven-license-plugin</groupId>
  151. <artifactId>maven-license-plugin</artifactId>
  152. <version>1.10.b1</version>
  153. <configuration>
  154. <basedir>${basedir}</basedir>
  155. <header>${basedir}/header.txt</header>
  156. <quiet>false</quiet>
  157. <failIfMissing>true</failIfMissing>
  158. <aggregate>false</aggregate>
  159. <includes>
  160. <include>src/**</include>
  161. </includes>
  162. <excludes>
  163. <exclude>target/**</exclude>
  164. </excludes>
  165. <useDefaultExcludes>true</useDefaultExcludes>
  166. <mapping>
  167. <java>JAVADOC_STYLE</java>
  168. </mapping>
  169. <strictCheck>true</strictCheck>
  170. <useDefaultMapping>true</useDefaultMapping>
  171. <encoding>UTF-8</encoding>
  172. </configuration>
  173. <executions>
  174. <execution>
  175. <goals>
  176. <goal>check</goal>
  177. </goals>
  178. </execution>
  179. </executions>
  180. </plugin>
  181. </plugins>
  182. </build>
  183. </project>