pom.xml 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  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. <parent>
  5. <groupId>com.github.diamond</groupId>
  6. <artifactId>super-diamond</artifactId>
  7. <version>1.1.0-SNAPSHOT</version>
  8. </parent>
  9. <artifactId>super-diamond-server</artifactId>
  10. <packaging>jar</packaging>
  11. <version>1.3.3</version>
  12. <dependencies>
  13. <dependency>
  14. <groupId>org.eclipse.jetty</groupId>
  15. <artifactId>jetty-annotations</artifactId>
  16. <version>${jetty.version}</version>
  17. </dependency>
  18. <dependency>
  19. <groupId>org.eclipse.jetty</groupId>
  20. <artifactId>jetty-webapp</artifactId>
  21. <version>${jetty.version}</version>
  22. </dependency>
  23. <dependency>
  24. <groupId>org.eclipse.jetty</groupId>
  25. <artifactId>jetty-server</artifactId>
  26. <version>${jetty.version}</version>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.eclipse.jetty</groupId>
  30. <artifactId>jetty-plus</artifactId>
  31. <version>${jetty.version}</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.eclipse.jetty</groupId>
  35. <artifactId>jetty-servlet</artifactId>
  36. <version>${jetty.version}</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.eclipse.jetty</groupId>
  40. <artifactId>apache-jstl</artifactId>
  41. <version>${jetty.version}</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.eclipse.jetty</groupId>
  45. <artifactId>apache-jsp</artifactId>
  46. <version>${jetty.version}</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>cglib</groupId>
  50. <artifactId>cglib</artifactId>
  51. <exclusions>
  52. <exclusion>
  53. <groupId>org.ow2.asm</groupId>
  54. <artifactId>asm</artifactId>
  55. </exclusion>
  56. </exclusions>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.aspectj</groupId>
  60. <artifactId>aspectjweaver</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.springframework</groupId>
  64. <artifactId>spring-context</artifactId>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.springframework</groupId>
  68. <artifactId>spring-context-support</artifactId>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.springframework</groupId>
  72. <artifactId>spring-jdbc</artifactId>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.springframework</groupId>
  76. <artifactId>spring-test</artifactId>
  77. <scope>test</scope>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.springframework</groupId>
  81. <artifactId>spring-web</artifactId>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.springframework</groupId>
  85. <artifactId>spring-webmvc</artifactId>
  86. </dependency>
  87. <dependency>
  88. <groupId>mysql</groupId>
  89. <artifactId>mysql-connector-java</artifactId>
  90. </dependency>
  91. <dependency>
  92. <groupId>com.alibaba</groupId>
  93. <artifactId>druid</artifactId>
  94. </dependency>
  95. <dependency>
  96. <groupId>io.netty</groupId>
  97. <artifactId>netty-all</artifactId>
  98. </dependency>
  99. <!-- slf4j -->
  100. <dependency>
  101. <groupId>ch.qos.logback</groupId>
  102. <artifactId>logback-classic</artifactId>
  103. </dependency>
  104. <dependency>
  105. <groupId>ch.qos.logback</groupId>
  106. <artifactId>logback-access</artifactId>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.slf4j</groupId>
  110. <artifactId>jcl-over-slf4j</artifactId>
  111. </dependency>
  112. <dependency>
  113. <groupId>commons-lang</groupId>
  114. <artifactId>commons-lang</artifactId>
  115. </dependency>
  116. <dependency>
  117. <groupId>commons-io</groupId>
  118. <artifactId>commons-io</artifactId>
  119. </dependency>
  120. <dependency>
  121. <groupId>commons-configuration</groupId>
  122. <artifactId>commons-configuration</artifactId>
  123. </dependency>
  124. <dependency>
  125. <groupId>com.alibaba</groupId>
  126. <artifactId>fastjson</artifactId>
  127. <version>1.2.54</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>org.apache.commons</groupId>
  131. <artifactId>commons-io</artifactId>
  132. <version>1.3.2</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>commons-fileupload</groupId>
  136. <artifactId>commons-fileupload</artifactId>
  137. <version>1.3.1</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>opensymphony</groupId>
  141. <artifactId>sitemesh</artifactId>
  142. <version>2.4.2</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>junit</groupId>
  146. <artifactId>junit</artifactId>
  147. <scope>test</scope>
  148. </dependency>
  149. </dependencies>
  150. <build>
  151. <resources>
  152. <resource>
  153. <directory>src/main/resources</directory>
  154. <filtering>true</filtering>
  155. </resource>
  156. </resources>
  157. <plugins>
  158. <plugin>
  159. <groupId>org.apache.maven.plugins</groupId>
  160. <artifactId>maven-jar-plugin</artifactId>
  161. <configuration>
  162. <archive>
  163. <manifestEntries>
  164. <version>${project.version}</version>
  165. </manifestEntries>
  166. </archive>
  167. <includes>
  168. <include>**/*.class</include>
  169. </includes>
  170. </configuration>
  171. </plugin>
  172. <plugin>
  173. <groupId>org.eclipse.jetty</groupId>
  174. <artifactId>jetty-maven-plugin</artifactId>
  175. <version>${jetty.version}</version>
  176. <configuration>
  177. <httpConnector>
  178. <port>8099</port>
  179. </httpConnector>
  180. <webApp>
  181. <contextPath>/superdiamond</contextPath>
  182. </webApp>
  183. </configuration>
  184. </plugin>
  185. <plugin>
  186. <groupId>org.apache.maven.plugins</groupId>
  187. <artifactId>maven-assembly-plugin</artifactId>
  188. <configuration>
  189. <descriptors>
  190. <descriptor>src/main/assembly/assembly.xml</descriptor>
  191. </descriptors>
  192. </configuration>
  193. </plugin>
  194. </plugins>
  195. </build>
  196. <profiles>
  197. <profile>
  198. <id>development</id>
  199. <activation>
  200. <os>
  201. <family>windows</family>
  202. </os>
  203. </activation>
  204. <properties>
  205. <profiles.active>development</profiles.active>
  206. </properties>
  207. </profile>
  208. <profile>
  209. <id>production</id>
  210. <activation>
  211. <os>
  212. <family>unix</family>
  213. </os>
  214. </activation>
  215. <properties>
  216. <profiles.active>production</profiles.active>
  217. </properties>
  218. <build>
  219. <plugins>
  220. <plugin>
  221. <groupId>org.apache.maven.plugins</groupId>
  222. <artifactId>maven-assembly-plugin</artifactId>
  223. <configuration>
  224. <descriptors>
  225. <descriptor>src/main/assembly/assembly.xml</descriptor>
  226. </descriptors>
  227. </configuration>
  228. </plugin>
  229. </plugins>
  230. </build>
  231. </profile>
  232. </profiles>
  233. </project>