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.

344 lines
10 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
4 years ago
12 years ago
4 years ago
12 years ago
4 years ago
12 years ago
4 years ago
12 years ago
4 years ago
12 years ago
4 years ago
12 years ago
4 years ago
12 years ago
11 years ago
4 years ago
12 years ago
14 years ago
14 years ago
14 years ago
4 years ago
14 years ago
4 years ago
14 years ago
6 years ago
6 years ago
12 years ago
4 years ago
12 years ago
5 years ago
14 years ago
7 years ago
13 years ago
5 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
4 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.20-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.63.Final</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>io.netty</groupId>
  84. <artifactId>netty-common</artifactId>
  85. <version>4.1.63.Final</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>io.netty</groupId>
  89. <artifactId>netty-transport</artifactId>
  90. <version>4.1.63.Final</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>io.netty</groupId>
  94. <artifactId>netty-handler</artifactId>
  95. <version>4.1.63.Final</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>io.netty</groupId>
  99. <artifactId>netty-codec-http</artifactId>
  100. <version>4.1.63.Final</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>io.netty</groupId>
  104. <artifactId>netty-codec</artifactId>
  105. <version>4.1.63.Final</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>io.netty</groupId>
  109. <artifactId>netty-transport-native-epoll</artifactId>
  110. <version>4.1.63.Final</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.jmockit</groupId>
  114. <artifactId>jmockit</artifactId>
  115. <version>1.49</version>
  116. <scope>test</scope>
  117. </dependency>
  118. <dependency>
  119. <groupId>junit</groupId>
  120. <artifactId>junit</artifactId>
  121. <version>4.13.1</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.12.3</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>com.fasterxml.jackson.core</groupId>
  136. <artifactId>jackson-databind</artifactId>
  137. <version>2.12.3</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.15.4</version>
  161. <scope>provided</scope>
  162. </dependency>
  163. <dependency>
  164. <groupId>com.hazelcast</groupId>
  165. <artifactId>hazelcast-client</artifactId>
  166. <version>3.12.7</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-pmd-plugin</artifactId>
  193. <version>3.11.0</version>
  194. <executions>
  195. <execution>
  196. <phase>verify</phase>
  197. <goals>
  198. <goal>pmd</goal>
  199. <goal>cpd</goal>
  200. </goals>
  201. </execution>
  202. </executions>
  203. <configuration>
  204. <linkXref>true</linkXref>
  205. <minimumTokens>100</minimumTokens>
  206. <targetJdk>1.6</targetJdk>
  207. <verbose>true</verbose>
  208. </configuration>
  209. </plugin>
  210. <plugin>
  211. <groupId>org.apache.maven.plugins</groupId>
  212. <artifactId>maven-checkstyle-plugin</artifactId>
  213. <version>2.11</version>
  214. <executions>
  215. <execution>
  216. <phase>verify</phase>
  217. <goals>
  218. <goal>checkstyle</goal>
  219. </goals>
  220. </execution>
  221. </executions>
  222. <configuration>
  223. <consoleOutput>true</consoleOutput>
  224. <enableRSS>false</enableRSS>
  225. <configLocation>/checkstyle.xml</configLocation>
  226. </configuration>
  227. </plugin>
  228. <plugin>
  229. <artifactId>maven-compiler-plugin</artifactId>
  230. <version>3.7.0</version>
  231. <configuration>
  232. <source>1.6</source>
  233. <target>1.6</target>
  234. <optimize>true</optimize>
  235. <showDeprecations>true</showDeprecations>
  236. </configuration>
  237. </plugin>
  238. <plugin>
  239. <groupId>org.apache.maven.plugins</groupId>
  240. <artifactId>maven-source-plugin</artifactId>
  241. <version>3.0.1</version>
  242. <executions>
  243. <execution>
  244. <id>attach-sources</id>
  245. <goals>
  246. <goal>jar</goal>
  247. </goals>
  248. </execution>
  249. </executions>
  250. </plugin>
  251. <plugin>
  252. <groupId>org.apache.maven.plugins</groupId>
  253. <artifactId>maven-surefire-plugin</artifactId>
  254. <version>2.20.1</version>
  255. <configuration>
  256. <argLine>
  257. -javaagent:"${settings.localRepository}"/org/jmockit/jmockit/1.46/jmockit-1.46.jar
  258. </argLine>
  259. </configuration>
  260. </plugin>
  261. <plugin>
  262. <groupId>org.apache.felix</groupId>
  263. <artifactId>maven-bundle-plugin</artifactId>
  264. <version>4.2.1</version>
  265. <extensions>true</extensions>
  266. <configuration>
  267. <instructions>
  268. <Bundle-Name>${project.artifactId}</Bundle-Name>
  269. <Import-Package>
  270. org.springframework.*;resolution:=optional,com.hazelcast.*;resolution:=optional,org.redisson.*;resolution:=optional,*
  271. </Import-Package>
  272. <Export-Package>
  273. com.corundumstudio.socketio;version="${project.version}",
  274. com.corundumstudio.socketio.annotation;version="${project.version}",
  275. com.corundumstudio.socketio.listener;version="${project.version}",
  276. com.corundumstudio.socketio.protocol;version="${project.version}",
  277. com.corundumstudio.socketio.store;version="${project.version}",
  278. com.corundumstudio.socketio.store.pubsub;version="${project.version}",
  279. </Export-Package>
  280. </instructions>
  281. </configuration>
  282. </plugin>
  283. <plugin>
  284. <groupId>com.mycila</groupId>
  285. <artifactId>license-maven-plugin</artifactId>
  286. <version>2.6</version>
  287. <configuration>
  288. <basedir>${basedir}</basedir>
  289. <header>${basedir}/header.txt</header>
  290. <quiet>false</quiet>
  291. <failIfMissing>true</failIfMissing>
  292. <aggregate>false</aggregate>
  293. <includes>
  294. <include>src/**</include>
  295. </includes>
  296. <excludes>
  297. <exclude>target/**</exclude>
  298. </excludes>
  299. <useDefaultExcludes>true</useDefaultExcludes>
  300. <mapping>
  301. <java>JAVADOC_STYLE</java>
  302. </mapping>
  303. <strictCheck>true</strictCheck>
  304. <useDefaultMapping>true</useDefaultMapping>
  305. <encoding>UTF-8</encoding>
  306. </configuration>
  307. <executions>
  308. <execution>
  309. <goals>
  310. <goal>check</goal>
  311. </goals>
  312. </execution>
  313. </executions>
  314. </plugin>
  315. </plugins>
  316. </build>
  317. </project>