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.

352 lines
11 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
7 years ago
12 years ago
5 years ago
12 years ago
5 years ago
12 years ago
5 years ago
12 years ago
12 years ago
5 years ago
12 years ago
5 years ago
12 years ago
5 years ago
12 years ago
11 years ago
7 years ago
12 years ago
14 years ago
14 years ago
14 years ago
5 years ago
14 years ago
5 years ago
14 years ago
6 years ago
6 years ago
12 years ago
5 years ago
12 years ago
9 years ago
14 years ago
7 years ago
14 years ago
14 years ago
13 years ago
13 years ago
13 years ago
11 years ago
13 years ago
14 years ago
7 years ago
14 years ago
14 years ago
7 years ago
7 years ago
12 years ago
6 years ago
12 years ago
12 years ago
12 years ago
12 years ago
11 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.7.19-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. <skipTests>true</skipTests>
  45. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  46. </properties>
  47. <profiles>
  48. <profile>
  49. <id>release-sign-artifacts</id>
  50. <activation>
  51. <property>
  52. <name>performRelease</name>
  53. <value>true</value>
  54. </property>
  55. </activation>
  56. <build>
  57. <plugins>
  58. <plugin>
  59. <groupId>org.apache.maven.plugins</groupId>
  60. <artifactId>maven-gpg-plugin</artifactId>
  61. <version>1.4</version>
  62. <executions>
  63. <execution>
  64. <id>sign-artifacts</id>
  65. <phase>verify</phase>
  66. <goals>
  67. <goal>sign</goal>
  68. </goals>
  69. </execution>
  70. </executions>
  71. </plugin>
  72. </plugins>
  73. </build>
  74. </profile>
  75. </profiles>
  76. <dependencies>
  77. <dependency>
  78. <groupId>io.netty</groupId>
  79. <artifactId>netty-buffer</artifactId>
  80. <version>4.1.44.Final</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>io.netty</groupId>
  84. <artifactId>netty-common</artifactId>
  85. <version>4.1.44.Final</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>io.netty</groupId>
  89. <artifactId>netty-transport</artifactId>
  90. <version>4.1.44.Final</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>io.netty</groupId>
  94. <artifactId>netty-handler</artifactId>
  95. <version>4.1.45.Final</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>io.netty</groupId>
  99. <artifactId>netty-codec-http</artifactId>
  100. <version>4.1.44.Final</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>io.netty</groupId>
  104. <artifactId>netty-codec</artifactId>
  105. <version>4.1.44.Final</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>io.netty</groupId>
  109. <artifactId>netty-transport-native-epoll</artifactId>
  110. <version>4.1.44.Final</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.jmockit</groupId>
  114. <artifactId>jmockit</artifactId>
  115. <version>1.39</version>
  116. <scope>test</scope>
  117. </dependency>
  118. <dependency>
  119. <groupId>junit</groupId>
  120. <artifactId>junit</artifactId>
  121. <version>4.11</version>
  122. <scope>test</scope>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.slf4j</groupId>
  126. <artifactId>slf4j-api</artifactId>
  127. <version>1.7.21</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>com.fasterxml.jackson.core</groupId>
  131. <artifactId>jackson-core</artifactId>
  132. <version>2.10.1</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>com.fasterxml.jackson.core</groupId>
  136. <artifactId>jackson-databind</artifactId>
  137. <version>2.10.1</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>org.springframework</groupId>
  141. <artifactId>spring-beans</artifactId>
  142. <version>[3.1,)</version>
  143. <scope>provided</scope>
  144. </dependency>
  145. <dependency>
  146. <groupId>org.springframework</groupId>
  147. <artifactId>spring-core</artifactId>
  148. <version>[3.1,)</version>
  149. <exclusions>
  150. <exclusion>
  151. <groupId>commons-logging</groupId>
  152. <artifactId>commons-logging</artifactId>
  153. </exclusion>
  154. </exclusions>
  155. <scope>provided</scope>
  156. </dependency>
  157. <dependency>
  158. <groupId>org.redisson</groupId>
  159. <artifactId>redisson</artifactId>
  160. <version>3.12.0</version>
  161. <scope>provided</scope>
  162. </dependency>
  163. <dependency>
  164. <groupId>com.hazelcast</groupId>
  165. <artifactId>hazelcast-client</artifactId>
  166. <version>3.4.3</version>
  167. <scope>provided</scope>
  168. </dependency>
  169. </dependencies>
  170. <build>
  171. <plugins>
  172. <plugin>
  173. <groupId>org.apache.maven.plugins</groupId>
  174. <artifactId>maven-javadoc-plugin</artifactId>
  175. <version>3.0.0</version>
  176. <executions>
  177. <execution>
  178. <id>attach-javadocs</id>
  179. <goals>
  180. <goal>jar</goal>
  181. </goals>
  182. </execution>
  183. </executions>
  184. </plugin>
  185. <plugin>
  186. <groupId>org.apache.maven.plugins</groupId>
  187. <artifactId>maven-release-plugin</artifactId>
  188. <version>2.5.3</version>
  189. </plugin>
  190. <plugin>
  191. <groupId>org.apache.maven.plugins</groupId>
  192. <artifactId>maven-eclipse-plugin</artifactId>
  193. <version>2.9</version>
  194. <configuration>
  195. <downloadSources>true</downloadSources>
  196. <forceRecheck>true</forceRecheck>
  197. </configuration>
  198. </plugin>
  199. <plugin>
  200. <groupId>org.apache.maven.plugins</groupId>
  201. <artifactId>maven-pmd-plugin</artifactId>
  202. <version>3.0.1</version>
  203. <executions>
  204. <execution>
  205. <phase>verify</phase>
  206. <goals>
  207. <goal>pmd</goal>
  208. <goal>cpd</goal>
  209. </goals>
  210. </execution>
  211. </executions>
  212. <configuration>
  213. <linkXref>true</linkXref>
  214. <minimumTokens>100</minimumTokens>
  215. <targetJdk>1.6</targetJdk>
  216. <verbose>true</verbose>
  217. </configuration>
  218. </plugin>
  219. <plugin>
  220. <groupId>org.apache.maven.plugins</groupId>
  221. <artifactId>maven-checkstyle-plugin</artifactId>
  222. <version>2.11</version>
  223. <executions>
  224. <execution>
  225. <phase>verify</phase>
  226. <goals>
  227. <goal>checkstyle</goal>
  228. </goals>
  229. </execution>
  230. </executions>
  231. <configuration>
  232. <consoleOutput>true</consoleOutput>
  233. <enableRSS>false</enableRSS>
  234. <configLocation>/checkstyle.xml</configLocation>
  235. </configuration>
  236. </plugin>
  237. <plugin>
  238. <artifactId>maven-compiler-plugin</artifactId>
  239. <version>3.7.0</version>
  240. <configuration>
  241. <source>1.6</source>
  242. <target>1.6</target>
  243. <optimize>true</optimize>
  244. <showDeprecations>true</showDeprecations>
  245. </configuration>
  246. </plugin>
  247. <plugin>
  248. <groupId>org.apache.maven.plugins</groupId>
  249. <artifactId>maven-source-plugin</artifactId>
  250. <version>3.0.1</version>
  251. <executions>
  252. <execution>
  253. <id>attach-sources</id>
  254. <goals>
  255. <goal>jar</goal>
  256. </goals>
  257. </execution>
  258. </executions>
  259. </plugin>
  260. <plugin>
  261. <groupId>org.apache.maven.plugins</groupId>
  262. <artifactId>maven-surefire-plugin</artifactId>
  263. <version>2.20.1</version>
  264. <configuration>
  265. <argLine>-Dfile.encoding=utf-8</argLine>
  266. </configuration>
  267. </plugin>
  268. <plugin>
  269. <groupId>org.apache.felix</groupId>
  270. <artifactId>maven-bundle-plugin</artifactId>
  271. <version>4.2.1</version>
  272. <extensions>true</extensions>
  273. <configuration>
  274. <instructions>
  275. <Bundle-Name>${project.artifactId}</Bundle-Name>
  276. <Import-Package>
  277. org.springframework.*;resolution:=optional,com.hazelcast.*;resolution:=optional,org.redisson.*;resolution:=optional,*
  278. </Import-Package>
  279. <Export-Package>
  280. com.corundumstudio.socketio;version="${project.version}",
  281. com.corundumstudio.socketio.annotation;version="${project.version}",
  282. com.corundumstudio.socketio.listener;version="${project.version}",
  283. com.corundumstudio.socketio.protocol;version="${project.version}",
  284. com.corundumstudio.socketio.store;version="${project.version}",
  285. com.corundumstudio.socketio.store.pubsub;version="${project.version}",
  286. </Export-Package>
  287. </instructions>
  288. </configuration>
  289. </plugin>
  290. <plugin>
  291. <groupId>com.mycila</groupId>
  292. <artifactId>license-maven-plugin</artifactId>
  293. <version>2.6</version>
  294. <configuration>
  295. <basedir>${basedir}</basedir>
  296. <header>${basedir}/header.txt</header>
  297. <quiet>false</quiet>
  298. <failIfMissing>true</failIfMissing>
  299. <aggregate>false</aggregate>
  300. <includes>
  301. <include>src/**</include>
  302. </includes>
  303. <excludes>
  304. <exclude>target/**</exclude>
  305. </excludes>
  306. <useDefaultExcludes>true</useDefaultExcludes>
  307. <mapping>
  308. <java>JAVADOC_STYLE</java>
  309. </mapping>
  310. <strictCheck>true</strictCheck>
  311. <useDefaultMapping>true</useDefaultMapping>
  312. <encoding>UTF-8</encoding>
  313. </configuration>
  314. <executions>
  315. <execution>
  316. <goals>
  317. <goal>check</goal>
  318. </goals>
  319. </execution>
  320. </executions>
  321. </plugin>
  322. </plugins>
  323. </build>
  324. </project>