pom.xml 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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>servlet-api</artifactId>
  34. <version>2.4</version>
  35. <scope>provided</scope>
  36. </dependency>
  37. <dependency>
  38. <groupId>javax.servlet.jsp</groupId>
  39. <artifactId>jsp-api</artifactId>
  40. <version>2.0</version>
  41. <scope>provided</scope>
  42. </dependency>
  43. <dependency>
  44. <groupId>jstl</groupId>
  45. <artifactId>jstl</artifactId>
  46. <version>1.2</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.sitemesh</groupId>
  50. <artifactId>sitemesh</artifactId>
  51. <version>3.0.0</version>
  52. </dependency>
  53. </dependencies>
  54. <build>
  55. <plugins>
  56. <plugin>
  57. <groupId>org.apache.maven.plugins</groupId>
  58. <artifactId>maven-compiler-plugin</artifactId>
  59. <version>3.1</version>
  60. <configuration>
  61. <source>1.6</source>
  62. <target>1.6</target>
  63. </configuration>
  64. </plugin>
  65. <!--默认配置文件-->
  66. <plugin>
  67. <groupId>org.apache.maven.plugins</groupId>
  68. <artifactId>maven-war-plugin</artifactId>
  69. <version>2.4</version>
  70. <configuration>
  71. <warName>opencron-server</warName>
  72. <warSourceDirectory>webapp</warSourceDirectory>
  73. <webResources>
  74. <resource>
  75. <directory>src/main/webapp</directory>
  76. </resource>
  77. <resource>
  78. <directory>src/main/resources</directory>
  79. <targetPath>WEB-INF/classes</targetPath>
  80. </resource>
  81. </webResources>
  82. </configuration>
  83. </plugin>
  84. </plugins>
  85. </build>
  86. </project>