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.

318 lines
9.6 KiB

14 years ago
12 years ago
13 years ago
14 years ago
14 years ago
13 years ago
13 years ago
14 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
14 years ago
14 years ago
14 years ago
14 years ago
12 years ago
12 years ago
14 years ago
14 years ago
14 years ago
13 years ago
13 years ago
13 years ago
13 years ago
14 years ago
14 years ago
14 years ago
12 years ago
12 years ago
12 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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  2. <modelVersion>4.0.0</modelVersion>
  3. <groupId>com.corundumstudio.socketio</groupId>
  4. <artifactId>netty-socketio</artifactId>
  5. <version>1.5.5-SNAPSHOT</version>
  6. <packaging>bundle</packaging>
  7. <name>NettySocketIO</name>
  8. <description>Socket.IO server implemented on Java</description>
  9. <inceptionYear>2012</inceptionYear>
  10. <url>https://github.com/mrniko/netty-socketio</url>
  11. <scm>
  12. <url>scm:git:git@github.com:mrniko/netty-socketio.git</url>
  13. <connection>scm:git:git@github.com:mrniko/netty-socketio.git</connection>
  14. <developerConnection>scm:git:git@github.com:mrniko/netty-socketio.git</developerConnection>
  15. <tag>HEAD</tag>
  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>file://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.4</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>io.netty</groupId>
  91. <artifactId>netty-buffer</artifactId>
  92. <version>4.0.13.Final</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>io.netty</groupId>
  96. <artifactId>netty-common</artifactId>
  97. <version>4.0.13.Final</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>io.netty</groupId>
  101. <artifactId>netty-transport</artifactId>
  102. <version>4.0.13.Final</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>io.netty</groupId>
  106. <artifactId>netty-handler</artifactId>
  107. <version>4.0.13.Final</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>io.netty</groupId>
  111. <artifactId>netty-codec-http</artifactId>
  112. <version>4.0.13.Final</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>io.netty</groupId>
  116. <artifactId>netty-codec</artifactId>
  117. <version>4.0.13.Final</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>com.googlecode.jmockit</groupId>
  121. <artifactId>jmockit</artifactId>
  122. <version>1.5</version>
  123. <scope>test</scope>
  124. </dependency>
  125. <dependency>
  126. <groupId>junit</groupId>
  127. <artifactId>junit</artifactId>
  128. <version>4.11</version>
  129. <scope>test</scope>
  130. </dependency>
  131. <dependency>
  132. <groupId>org.slf4j</groupId>
  133. <artifactId>slf4j-api</artifactId>
  134. <version>1.7.5</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>com.fasterxml.jackson.core</groupId>
  138. <artifactId>jackson-core</artifactId>
  139. <version>2.2.3</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>com.fasterxml.jackson.core</groupId>
  143. <artifactId>jackson-databind</artifactId>
  144. <version>2.2.3</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>redis.clients</groupId>
  148. <artifactId>jedis</artifactId>
  149. <version>2.2.1</version>
  150. <scope>provided</scope>
  151. </dependency>
  152. <dependency>
  153. <groupId>com.hazelcast</groupId>
  154. <artifactId>hazelcast-client</artifactId>
  155. <version>3.1.3</version>
  156. <scope>provided</scope>
  157. </dependency>
  158. </dependencies>
  159. <build>
  160. <plugins>
  161. <plugin>
  162. <groupId>org.apache.maven.plugins</groupId>
  163. <artifactId>maven-release-plugin</artifactId>
  164. <version>2.4.1</version>
  165. </plugin>
  166. <plugin>
  167. <groupId>org.apache.maven.plugins</groupId>
  168. <artifactId>maven-eclipse-plugin</artifactId>
  169. <version>2.9</version>
  170. <configuration>
  171. <downloadSources>true</downloadSources>
  172. <forceRecheck>true</forceRecheck>
  173. </configuration>
  174. </plugin>
  175. <plugin>
  176. <groupId>org.apache.maven.plugins</groupId>
  177. <artifactId>maven-pmd-plugin</artifactId>
  178. <version>3.0.1</version>
  179. <executions>
  180. <execution>
  181. <phase>verify</phase>
  182. <goals>
  183. <goal>pmd</goal>
  184. <goal>cpd</goal>
  185. </goals>
  186. </execution>
  187. </executions>
  188. <configuration>
  189. <linkXref>true</linkXref>
  190. <minimumTokens>100</minimumTokens>
  191. <targetJdk>1.6</targetJdk>
  192. <verbose>true</verbose>
  193. </configuration>
  194. </plugin>
  195. <plugin>
  196. <groupId>org.apache.maven.plugins</groupId>
  197. <artifactId>maven-checkstyle-plugin</artifactId>
  198. <version>2.10</version>
  199. <executions>
  200. <execution>
  201. <phase>verify</phase>
  202. <goals>
  203. <goal>checkstyle</goal>
  204. </goals>
  205. </execution>
  206. </executions>
  207. <configuration>
  208. <consoleOutput>true</consoleOutput>
  209. <enableRSS>false</enableRSS>
  210. <configLocation>/checkstyle.xml</configLocation>
  211. </configuration>
  212. </plugin>
  213. <plugin>
  214. <artifactId>maven-compiler-plugin</artifactId>
  215. <version>3.1</version>
  216. <configuration>
  217. <source>1.6</source>
  218. <target>1.6</target>
  219. <optimize>true</optimize>
  220. <showDeprecations>true</showDeprecations>
  221. </configuration>
  222. </plugin>
  223. <plugin>
  224. <groupId>org.apache.maven.plugins</groupId>
  225. <artifactId>maven-source-plugin</artifactId>
  226. <version>2.2.1</version>
  227. <executions>
  228. <execution>
  229. <id>attach-sources</id>
  230. <goals>
  231. <goal>jar</goal>
  232. </goals>
  233. </execution>
  234. </executions>
  235. </plugin>
  236. <plugin>
  237. <groupId>org.apache.maven.plugins</groupId>
  238. <artifactId>maven-surefire-plugin</artifactId>
  239. <version>2.16</version>
  240. <configuration>
  241. <argLine>-Dfile.encoding=utf-8</argLine>
  242. </configuration>
  243. </plugin>
  244. <plugin>
  245. <groupId>org.apache.felix</groupId>
  246. <artifactId>maven-bundle-plugin</artifactId>
  247. <version>2.3.7</version>
  248. <extensions>true</extensions>
  249. <configuration>
  250. <instructions>
  251. <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
  252. <Embed-Dependency>netty-socketio;scope=compile</Embed-Dependency>
  253. <Export-Package>
  254. com.corundumstudio.socketio;version="${project.version}",
  255. com.corundumstudio.socketio.annotation;version="${project.version}",
  256. com.corundumstudio.socketio.listener;version="${project.version}",
  257. com.corundumstudio.socketio.store;version="${project.version}",
  258. </Export-Package>
  259. </instructions>
  260. </configuration>
  261. </plugin>
  262. <plugin>
  263. <groupId>com.mycila</groupId>
  264. <artifactId>license-maven-plugin</artifactId>
  265. <version>2.5</version>
  266. <configuration>
  267. <basedir>${basedir}</basedir>
  268. <header>${basedir}/header.txt</header>
  269. <quiet>false</quiet>
  270. <failIfMissing>true</failIfMissing>
  271. <aggregate>false</aggregate>
  272. <includes>
  273. <include>src/**</include>
  274. </includes>
  275. <excludes>
  276. <exclude>target/**</exclude>
  277. </excludes>
  278. <useDefaultExcludes>true</useDefaultExcludes>
  279. <mapping>
  280. <java>JAVADOC_STYLE</java>
  281. </mapping>
  282. <strictCheck>true</strictCheck>
  283. <useDefaultMapping>true</useDefaultMapping>
  284. <encoding>UTF-8</encoding>
  285. </configuration>
  286. <executions>
  287. <execution>
  288. <goals>
  289. <goal>check</goal>
  290. </goals>
  291. </execution>
  292. </executions>
  293. </plugin>
  294. </plugins>
  295. </build>
  296. </project>