pom.xml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.hb</groupId>
  6. <artifactId>lhLoggingOilMonitor</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <packaging>war</packaging>
  9. <name>lhLoggingOilMonitor Maven Webapp</name>
  10. <!-- FIXME change it to the project's website -->
  11. <url>http://www.example.com</url>
  12. <properties>
  13. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  14. <maven.compiler.source>1.7</maven.compiler.source>
  15. <maven.compiler.target>1.7</maven.compiler.target>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>javax.servlet</groupId>
  20. <artifactId>servlet-api</artifactId>
  21. <version>2.5</version>
  22. <scope>provided</scope>
  23. </dependency>
  24. <dependency>
  25. <groupId>javax.servlet.jsp</groupId>
  26. <artifactId>jsp-api</artifactId>
  27. <version>2.1</version>
  28. <scope>provided</scope>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.springframework</groupId>
  32. <artifactId>spring-webmvc</artifactId>
  33. <version>4.3.21.RELEASE</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework</groupId>
  37. <artifactId>spring-tx</artifactId>
  38. <version>4.3.21.RELEASE</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>commons-dbcp</groupId>
  42. <artifactId>commons-dbcp</artifactId>
  43. <version>1.4</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.aspectj</groupId>
  47. <artifactId>aspectjweaver</artifactId>
  48. <version>1.7.1</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework</groupId>
  52. <artifactId>spring-jdbc</artifactId>
  53. <version>4.3.21.RELEASE</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>commons-beanutils</groupId>
  57. <artifactId>commons-beanutils</artifactId>
  58. <version>1.8.3</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.slf4j</groupId>
  62. <artifactId>slf4j-api</artifactId>
  63. <version>1.7.2</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>ch.qos.logback</groupId>
  67. <artifactId>logback-core</artifactId>
  68. <version>1.0.7</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>ch.qos.logback</groupId>
  72. <artifactId>logback-classic</artifactId>
  73. <version>1.0.7</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>com.fasterxml.jackson.core</groupId>
  77. <artifactId>jackson-databind</artifactId>
  78. <version>2.9.2</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>commons-lang</groupId>
  82. <artifactId>commons-lang</artifactId>
  83. <version>2.6</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>com.alibaba</groupId>
  87. <artifactId>fastjson</artifactId>
  88. <version>1.2.45</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>com.hb</groupId>
  92. <artifactId>xframework</artifactId>
  93. <version>4.2</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>mysql</groupId>
  97. <artifactId>mysql-connector-java</artifactId>
  98. <version>5.1.25</version>
  99. </dependency>
  100. <dependency>
  101. <groupId>com.squareup.okhttp3</groupId>
  102. <artifactId>okhttp</artifactId>
  103. <version>3.10.0</version>
  104. </dependency>
  105. <!--后期改用netty实现 -->
  106. <!-- <dependency>
  107. <groupId>io.netty</groupId>
  108. <artifactId>netty-all</artifactId>
  109. <version>4.1.53.Final</version>
  110. </dependency> -->
  111. </dependencies>
  112. <build>
  113. <finalName>lhLoggingOilMonitor</finalName>
  114. <plugins>
  115. <plugin>
  116. <groupId>org.apache.tomcat.maven</groupId>
  117. <artifactId>tomcat7-maven-plugin</artifactId>
  118. <version>2.2</version>
  119. <configuration>
  120. <url>http://localhost:8080/manager/text</url>
  121. <path>/oil</path>
  122. <uriEncoding>UTF-8</uriEncoding>
  123. <server>tomcat</server>
  124. </configuration>
  125. </plugin>
  126. <plugin>
  127. <artifactId>maven-compiler-plugin</artifactId>
  128. <version>2.3.2</version>
  129. <configuration>
  130. <encoding>utf8</encoding>
  131. </configuration>
  132. </plugin>
  133. <plugin>
  134. <artifactId>maven-war-plugin</artifactId>
  135. <version>2.4</version>
  136. <configuration>
  137. <includeEmptyDirectories>true</includeEmptyDirectories>
  138. </configuration>
  139. </plugin>
  140. </plugins>
  141. </build>
  142. </project>