pom.xml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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>xchat</artifactId>
  5. <groupId>com.xchat</groupId>
  6. <version>0.0.1-SNAPSHOT</version>
  7. </parent>
  8. <modelVersion>4.0.0</modelVersion>
  9. <artifactId>xchat-web</artifactId>
  10. <packaging>war</packaging>
  11. <name>xchat-web</name>
  12. <dependencies>
  13. <dependency>
  14. <groupId>com.xchat</groupId>
  15. <artifactId>xchat-service</artifactId>
  16. <version>0.0.1-SNAPSHOT</version>
  17. </dependency>
  18. <dependency>
  19. <groupId>com.xchat</groupId>
  20. <artifactId>xchat-common</artifactId>
  21. <version>0.0.1-SNAPSHOT</version>
  22. </dependency>
  23. <!-- provided dependency -->
  24. <dependency>
  25. <groupId>javax.servlet</groupId>
  26. <artifactId>servlet-api</artifactId>
  27. <version>2.4</version>
  28. <scope>provided</scope>
  29. </dependency>
  30. <dependency>
  31. <groupId>javax.servlet.jsp</groupId>
  32. <artifactId>jsp-api</artifactId>
  33. <version>2.1</version>
  34. <scope>provided</scope>
  35. </dependency>
  36. <!-- https://mvnrepository.com/artifact/org.jsoup/jsoup -->
  37. <dependency>
  38. <groupId>org.jsoup</groupId>
  39. <artifactId>jsoup</artifactId>
  40. <version>1.10.2</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>junit</groupId>
  44. <artifactId>junit</artifactId>
  45. <version>3.8.1</version>
  46. <scope>test</scope>
  47. </dependency>
  48. <!-- https://mvnrepository.com/artifact/commons-fileupload/commons-fileupload -->
  49. <dependency>
  50. <groupId>commons-fileupload</groupId>
  51. <artifactId>commons-fileupload</artifactId>
  52. <version>1.3</version>
  53. </dependency>
  54. <!-- https://mvnrepository.com/artifact/com.googlecode.mp4parser/isoparser -->
  55. <dependency>
  56. <groupId>com.googlecode.mp4parser</groupId>
  57. <artifactId>isoparser</artifactId>
  58. <version>1.1.18</version>
  59. </dependency>
  60. <!-- https://mvnrepository.com/artifact/joda-time/joda-time -->
  61. <dependency>
  62. <groupId>joda-time</groupId>
  63. <artifactId>joda-time</artifactId>
  64. <version>2.9.9</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>dom4j</groupId>
  68. <artifactId>dom4j</artifactId>
  69. <version>1.6.1</version>
  70. </dependency>
  71. </dependencies>
  72. <build>
  73. <finalName>ROOT</finalName>
  74. <plugins>
  75. <plugin>
  76. <groupId>org.apache.maven.plugins</groupId>
  77. <artifactId>maven-war-plugin</artifactId>
  78. <configuration>
  79. <warName>ROOT</warName>
  80. </configuration>
  81. </plugin>
  82. <!-- jetty, set context path and spring profile -->
  83. <plugin>
  84. <groupId>org.mortbay.jetty</groupId>
  85. <artifactId>jetty-maven-plugin</artifactId>
  86. <configuration>
  87. <!--热部署时间秒 -->
  88. <reload>automatic</reload>
  89. <scanIntervalSeconds>3</scanIntervalSeconds>
  90. <systemProperties>
  91. <systemProperty>
  92. <name>spring.profiles.active</name>
  93. <value>development</value>
  94. </systemProperty>
  95. </systemProperties>
  96. <useTestClasspath>true</useTestClasspath>
  97. <connectors>
  98. <connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
  99. <port>8082</port>
  100. <maxIdleTime>60000</maxIdleTime>
  101. </connector>
  102. </connectors>
  103. </configuration>
  104. </plugin>
  105. </plugins>
  106. </build>
  107. </project>