pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  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/maven-v4_0_0.xsd">
  3. <parent>
  4. <artifactId>opencron</artifactId>
  5. <groupId>org.opencron</groupId>
  6. <version>1.1.0-RELEASE</version>
  7. </parent>
  8. <modelVersion>4.0.0</modelVersion>
  9. <artifactId>opencron-server</artifactId>
  10. <packaging>war</packaging>
  11. <name>opencron-server</name>
  12. <dependencies>
  13. <dependency>
  14. <groupId>org.opencron</groupId>
  15. <artifactId>opencron-common</artifactId>
  16. </dependency>
  17. <dependency>
  18. <groupId>org.springframework</groupId>
  19. <artifactId>spring-websocket</artifactId>
  20. </dependency>
  21. <dependency>
  22. <groupId>com.jcraft</groupId>
  23. <artifactId>jsch</artifactId>
  24. </dependency>
  25. <!-- provided dependencies-->
  26. <dependency>
  27. <groupId>javax.websocket</groupId>
  28. <artifactId>javax.websocket-api</artifactId>
  29. </dependency>
  30. <!-- J2EE servlet -->
  31. <dependency>
  32. <groupId>javax.servlet</groupId>
  33. <artifactId>javax.servlet-api</artifactId>
  34. <scope>provided</scope>
  35. </dependency>
  36. <dependency>
  37. <groupId>javax.servlet.jsp</groupId>
  38. <artifactId>jsp-api</artifactId>
  39. <scope>provided</scope>
  40. </dependency>
  41. <dependency>
  42. <groupId>jstl</groupId>
  43. <artifactId>jstl</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>taglibs</groupId>
  47. <artifactId>standard</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.sitemesh</groupId>
  51. <artifactId>sitemesh</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.eclipse.jetty</groupId>
  55. <artifactId>apache-jsp</artifactId>
  56. <scope>provided</scope>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.apache.tomcat.embed</groupId>
  60. <artifactId>tomcat-embed-core</artifactId>
  61. <scope>provided</scope>
  62. </dependency>
  63. </dependencies>
  64. <build>
  65. <plugins>
  66. <plugin>
  67. <groupId>org.apache.maven.plugins</groupId>
  68. <artifactId>maven-compiler-plugin</artifactId>
  69. <version>3.1</version>
  70. <configuration>
  71. <source>1.6</source>
  72. <target>1.6</target>
  73. </configuration>
  74. </plugin>
  75. <!--默认配置文件-->
  76. <plugin>
  77. <groupId>org.apache.maven.plugins</groupId>
  78. <artifactId>maven-war-plugin</artifactId>
  79. <version>2.4</version>
  80. <configuration>
  81. <warName>opencron-server</warName>
  82. <warSourceDirectory>webapp</warSourceDirectory>
  83. <webResources>
  84. <resource>
  85. <directory>src/main/webapp</directory>
  86. </resource>
  87. <resource>
  88. <directory>src/main/resources</directory>
  89. <targetPath>WEB-INF/classes</targetPath>
  90. </resource>
  91. </webResources>
  92. </configuration>
  93. </plugin>
  94. <plugin>
  95. <groupId>org.apache.maven.plugins</groupId>
  96. <artifactId>maven-dependency-plugin</artifactId>
  97. <version>3.0.2</version>
  98. <executions>
  99. <execution>
  100. <phase>package</phase>
  101. <goals>
  102. <goal>copy</goal>
  103. </goals>
  104. </execution>
  105. </executions>
  106. <configuration>
  107. <excludeTransitive>false</excludeTransitive>
  108. <stripVersion>false</stripVersion>
  109. <artifactItems>
  110. <dependency>
  111. <groupId>javax.servlet</groupId>
  112. <artifactId>javax.servlet-api</artifactId>
  113. <outputDirectory>${basedir}/work/jetty</outputDirectory>
  114. </dependency>
  115. <dependency>
  116. <groupId>javax.servlet.jsp</groupId>
  117. <artifactId>jsp-api</artifactId>
  118. <outputDirectory>${basedir}/work/jetty</outputDirectory>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.eclipse.jetty</groupId>
  122. <artifactId>jetty-util</artifactId>
  123. <outputDirectory>${basedir}/work/jetty</outputDirectory>
  124. </dependency>
  125. <dependency>
  126. <groupId>org.eclipse.jetty</groupId>
  127. <artifactId>jetty-webapp</artifactId>
  128. <outputDirectory>${basedir}/work/jetty</outputDirectory>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.eclipse.jetty</groupId>
  132. <artifactId>jetty-server</artifactId>
  133. <outputDirectory>${basedir}/work/jetty</outputDirectory>
  134. </dependency>
  135. <dependency>
  136. <groupId>org.eclipse.jetty.websocket</groupId>
  137. <artifactId>websocket-server</artifactId>
  138. <outputDirectory>${basedir}/work/jetty</outputDirectory>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.eclipse.jetty.websocket</groupId>
  142. <artifactId>websocket-servlet</artifactId>
  143. <outputDirectory>${basedir}/work/jetty</outputDirectory>
  144. </dependency>
  145. <dependency>
  146. <groupId>org.eclipse.jetty.websocket</groupId>
  147. <artifactId>websocket-common</artifactId>
  148. <outputDirectory>${basedir}/work/jetty</outputDirectory>
  149. </dependency>
  150. <dependency>
  151. <groupId>org.eclipse.jetty.websocket</groupId>
  152. <artifactId>websocket-api</artifactId>
  153. <outputDirectory>${basedir}/work/jetty</outputDirectory>
  154. </dependency>
  155. <dependency>
  156. <groupId>org.eclipse.jetty</groupId>
  157. <artifactId>jetty-servlet</artifactId>
  158. <outputDirectory>${basedir}/work/jetty</outputDirectory>
  159. </dependency>
  160. <dependency>
  161. <groupId>org.eclipse.jetty</groupId>
  162. <artifactId>apache-jsp</artifactId>
  163. <outputDirectory>${basedir}/work/jetty</outputDirectory>
  164. </dependency>
  165. <dependency>
  166. <groupId>org.mortbay.jasper</groupId>
  167. <artifactId>apache-jsp</artifactId>
  168. <outputDirectory>${basedir}/work/jetty</outputDirectory>
  169. </dependency>
  170. <dependency>
  171. <groupId>org.mortbay.jasper</groupId>
  172. <artifactId>apache-el</artifactId>
  173. <outputDirectory>${basedir}/work/jetty</outputDirectory>
  174. </dependency>
  175. <dependency>
  176. <groupId>org.eclipse.jetty</groupId>
  177. <artifactId>jetty-http</artifactId>
  178. <outputDirectory>${basedir}/work/jetty</outputDirectory>
  179. </dependency>
  180. <dependency>
  181. <groupId>org.eclipse.jetty</groupId>
  182. <artifactId>jetty-io</artifactId>
  183. <outputDirectory>${basedir}/work/jetty</outputDirectory>
  184. </dependency>
  185. <dependency>
  186. <groupId>org.eclipse.jetty</groupId>
  187. <artifactId>jetty-xml</artifactId>
  188. <outputDirectory>${basedir}/work/jetty</outputDirectory>
  189. </dependency>
  190. <dependency>
  191. <groupId>org.eclipse.jetty</groupId>
  192. <artifactId>jetty-security</artifactId>
  193. <outputDirectory>${basedir}/work/jetty</outputDirectory>
  194. </dependency>
  195. <dependency>
  196. <groupId>org.eclipse.jdt.core.compiler</groupId>
  197. <artifactId>ecj</artifactId>
  198. <outputDirectory>${basedir}/work/jetty</outputDirectory>
  199. </dependency>
  200. <dependency>
  201. <groupId>javax.servlet</groupId>
  202. <artifactId>javax.servlet-api</artifactId>
  203. <outputDirectory>${basedir}/work/tomcat</outputDirectory>
  204. </dependency>
  205. <dependency>
  206. <groupId>javax.servlet.jsp</groupId>
  207. <artifactId>jsp-api</artifactId>
  208. <outputDirectory>${basedir}/work/tomcat</outputDirectory>
  209. </dependency>
  210. <dependency>
  211. <groupId>org.apache.tomcat.embed</groupId>
  212. <artifactId>tomcat-embed-core</artifactId>
  213. <outputDirectory>${basedir}/work/tomcat</outputDirectory>
  214. </dependency>
  215. <dependency>
  216. <groupId>org.apache.tomcat.embed</groupId>
  217. <artifactId>tomcat-embed-el</artifactId>
  218. <outputDirectory>${basedir}/work/tomcat</outputDirectory>
  219. </dependency>
  220. <dependency>
  221. <groupId>org.apache.tomcat.embed</groupId>
  222. <artifactId>tomcat-embed-jasper</artifactId>
  223. <outputDirectory>${basedir}/work/tomcat</outputDirectory>
  224. </dependency>
  225. <dependency>
  226. <groupId>org.eclipse.jdt.core.compiler</groupId>
  227. <artifactId>ecj</artifactId>
  228. <outputDirectory>${basedir}/work/tomcat</outputDirectory>
  229. </dependency>
  230. <dependency>
  231. <groupId>org.apache.tomcat.embed</groupId>
  232. <artifactId>tomcat-embed-websocket</artifactId>
  233. <outputDirectory>${basedir}/work/tomcat</outputDirectory>
  234. </dependency>
  235. <dependency>
  236. <groupId>org.apache.tomcat.embed</groupId>
  237. <artifactId>tomcat-embed-logging-juli</artifactId>
  238. <outputDirectory>${basedir}/work/tomcat</outputDirectory>
  239. </dependency>
  240. <dependency>
  241. <groupId>org.apache.tomcat.embed</groupId>
  242. <artifactId>tomcat-embed-logging-log4j</artifactId>
  243. <outputDirectory>${basedir}/work/tomcat</outputDirectory>
  244. </dependency>
  245. </artifactItems>
  246. </configuration>
  247. </plugin>
  248. </plugins>
  249. </build>
  250. </project>