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.

276 lines
8.1 KiB

14 years ago
14 years ago
13 years ago
14 years ago
14 years ago
13 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
14 years ago
13 years ago
13 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. <url>https://github.com/mrniko/netty-socketio</url>
  12. <scm>
  13. <url>scm:git:git@github.com:mrniko/netty-socketio.git</url>
  14. <connection>scm:git:git@github.com:mrniko/netty-socketio.git</connection>
  15. <developerConnection>scm:git:git@github.com:mrniko/netty-socketio.git</developerConnection>
  16. </scm>
  17. <licenses>
  18. <license>
  19. <name>Apache v2</name>
  20. <url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
  21. <distribution>manual</distribution>
  22. </license>
  23. </licenses>
  24. <developers>
  25. <developer>
  26. <id>mrniko</id>
  27. <name>Nikita Koksharov</name>
  28. <email>abracham.mitchell@gmail.com</email>
  29. <roles>
  30. <role>Architect</role>
  31. <role>Developer</role>
  32. </roles>
  33. <timezone>+4</timezone>
  34. </developer>
  35. </developers>
  36. <distributionManagement>
  37. <repository>
  38. <id>repo1</id>
  39. <name>Release</name>
  40. <url>C:\123</url>
  41. </repository>
  42. </distributionManagement>
  43. <properties>
  44. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  45. </properties>
  46. <profiles>
  47. <profile>
  48. <id>exclude-swf-files</id>
  49. <build>
  50. <resources>
  51. <resource>
  52. <directory>src/main/resources</directory>
  53. <excludes>
  54. <exclude>static/**</exclude>
  55. </excludes>
  56. </resource>
  57. </resources>
  58. </build>
  59. </profile>
  60. <profile>
  61. <id>release-sign-artifacts</id>
  62. <activation>
  63. <property>
  64. <name>performRelease</name>
  65. <value>true</value>
  66. </property>
  67. </activation>
  68. <build>
  69. <plugins>
  70. <plugin>
  71. <groupId>org.apache.maven.plugins</groupId>
  72. <artifactId>maven-gpg-plugin</artifactId>
  73. <version>1.1</version>
  74. <executions>
  75. <execution>
  76. <id>sign-artifacts</id>
  77. <phase>verify</phase>
  78. <goals>
  79. <goal>sign</goal>
  80. </goals>
  81. </execution>
  82. </executions>
  83. </plugin>
  84. </plugins>
  85. </build>
  86. </profile>
  87. </profiles>
  88. <dependencies>
  89. <dependency>
  90. <groupId>com.googlecode.jmockit</groupId>
  91. <artifactId>jmockit</artifactId>
  92. <version>1.2</version>
  93. <scope>test</scope>
  94. </dependency>
  95. <dependency>
  96. <groupId>junit</groupId>
  97. <artifactId>junit</artifactId>
  98. <version>4.10</version>
  99. <scope>test</scope>
  100. </dependency>
  101. <dependency>
  102. <groupId>io.netty</groupId>
  103. <artifactId>netty</artifactId>
  104. <version>3.6.6.Final</version>
  105. <scope>compile</scope>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.slf4j</groupId>
  109. <artifactId>slf4j-api</artifactId>
  110. <version>1.6.4</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>com.fasterxml.jackson.core</groupId>
  114. <artifactId>jackson-core</artifactId>
  115. <version>2.2.2</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>com.fasterxml.jackson.core</groupId>
  119. <artifactId>jackson-databind</artifactId>
  120. <version>2.2.2</version>
  121. </dependency>
  122. </dependencies>
  123. <build>
  124. <plugins>
  125. <plugin>
  126. <groupId>org.apache.maven.plugins</groupId>
  127. <artifactId>maven-gpg-plugin</artifactId>
  128. <version>1.4</version>
  129. <executions>
  130. <execution>
  131. <id>sign-artifacts</id>
  132. <phase>verify</phase>
  133. <goals>
  134. <goal>sign</goal>
  135. </goals>
  136. </execution>
  137. </executions>
  138. </plugin>
  139. <plugin>
  140. <groupId>org.apache.maven.plugins</groupId>
  141. <artifactId>maven-release-plugin</artifactId>
  142. <version>2.4.1</version>
  143. </plugin>
  144. <plugin>
  145. <groupId>org.apache.maven.plugins</groupId>
  146. <artifactId>maven-eclipse-plugin</artifactId>
  147. <version>2.9</version>
  148. <configuration>
  149. <downloadSources>true</downloadSources>
  150. <forceRecheck>true</forceRecheck>
  151. </configuration>
  152. </plugin>
  153. <plugin>
  154. <groupId>org.apache.maven.plugins</groupId>
  155. <artifactId>maven-pmd-plugin</artifactId>
  156. <version>3.0.1</version>
  157. <executions>
  158. <execution>
  159. <phase>verify</phase>
  160. <goals>
  161. <goal>pmd</goal>
  162. <goal>cpd</goal>
  163. </goals>
  164. </execution>
  165. </executions>
  166. <configuration>
  167. <linkXref>true</linkXref>
  168. <minimumTokens>100</minimumTokens>
  169. <targetJdk>1.5</targetJdk>
  170. <verbose>true</verbose>
  171. </configuration>
  172. </plugin>
  173. <plugin>
  174. <groupId>org.apache.maven.plugins</groupId>
  175. <artifactId>maven-checkstyle-plugin</artifactId>
  176. <version>2.9.1</version>
  177. <executions>
  178. <execution>
  179. <phase>verify</phase>
  180. <goals>
  181. <goal>checkstyle</goal>
  182. </goals>
  183. </execution>
  184. </executions>
  185. <configuration>
  186. <consoleOutput>true</consoleOutput>
  187. <enableRSS>false</enableRSS>
  188. <configLocation>/checkstyle.xml</configLocation>
  189. </configuration>
  190. </plugin>
  191. <plugin>
  192. <artifactId>maven-compiler-plugin</artifactId>
  193. <version>3.1</version>
  194. <configuration>
  195. <source>1.5</source>
  196. <target>1.5</target>
  197. <optimize>true</optimize>
  198. <showDeprecations>true</showDeprecations>
  199. </configuration>
  200. </plugin>
  201. <plugin>
  202. <groupId>org.apache.maven.plugins</groupId>
  203. <artifactId>maven-source-plugin</artifactId>
  204. <version>2.2.1</version>
  205. <executions>
  206. <execution>
  207. <id>attach-sources</id>
  208. <goals>
  209. <goal>jar</goal>
  210. </goals>
  211. </execution>
  212. </executions>
  213. </plugin>
  214. <plugin>
  215. <groupId>org.apache.maven.plugins</groupId>
  216. <artifactId>maven-surefire-plugin</artifactId>
  217. <version>2.15</version>
  218. <configuration>
  219. <argLine>-Dfile.encoding=utf-8</argLine>
  220. </configuration>
  221. </plugin>
  222. <plugin>
  223. <groupId>com.mycila.maven-license-plugin</groupId>
  224. <artifactId>maven-license-plugin</artifactId>
  225. <version>1.10.b1</version>
  226. <configuration>
  227. <basedir>${basedir}</basedir>
  228. <header>${basedir}/header.txt</header>
  229. <quiet>false</quiet>
  230. <failIfMissing>true</failIfMissing>
  231. <aggregate>false</aggregate>
  232. <includes>
  233. <include>src/**</include>
  234. </includes>
  235. <excludes>
  236. <exclude>target/**</exclude>
  237. </excludes>
  238. <useDefaultExcludes>true</useDefaultExcludes>
  239. <mapping>
  240. <java>JAVADOC_STYLE</java>
  241. </mapping>
  242. <strictCheck>true</strictCheck>
  243. <useDefaultMapping>true</useDefaultMapping>
  244. <encoding>UTF-8</encoding>
  245. </configuration>
  246. <executions>
  247. <execution>
  248. <goals>
  249. <goal>check</goal>
  250. </goals>
  251. </execution>
  252. </executions>
  253. </plugin>
  254. </plugins>
  255. </build>
  256. </project>