pom.xml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.lesson</groupId>
  5. <artifactId>order</artifactId>
  6. <packaging>war</packaging>
  7. <version>1.0</version>
  8. <name>order</name>
  9. <properties>
  10. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  11. <spring.version>4.0.0.RELEASE</spring.version>
  12. <hibernate.version>4.3.0.Final</hibernate.version>
  13. <osjdk.version>3.2.1</osjdk.version>
  14. <lombok.version>1.16.6</lombok.version>
  15. </properties>
  16. <dependencies>
  17. <!-- mybatis -->
  18. <dependency>
  19. <groupId>org.mybatis</groupId>
  20. <artifactId>mybatis</artifactId>
  21. <version>3.1.1</version>
  22. </dependency>
  23. <dependency>
  24. <groupId>org.mybatis</groupId>
  25. <artifactId>mybatis-spring</artifactId>
  26. <version>1.2.3</version>
  27. </dependency>
  28. <!-- mysql -->
  29. <dependency>
  30. <groupId>mysql</groupId>
  31. <artifactId>mysql-connector-java</artifactId>
  32. <version>5.1.39</version>
  33. </dependency>
  34. <!-- Spring MVC support -->
  35. <dependency>
  36. <groupId>org.springframework</groupId>
  37. <artifactId>spring-webmvc</artifactId>
  38. <version>${spring.version}</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.springframework</groupId>
  42. <artifactId>spring-web</artifactId>
  43. <version>${spring.version}</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework</groupId>
  47. <artifactId>spring-test</artifactId>
  48. <version>${spring.version}</version>
  49. <scope>provided</scope>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.springframework</groupId>
  53. <artifactId>spring-tx</artifactId>
  54. <version>${spring.version}</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.springframework</groupId>
  58. <artifactId>spring-jdbc</artifactId>
  59. <version>${spring.version}</version>
  60. </dependency>
  61. <!-- Tag libs support for view layer -->
  62. <dependency>
  63. <groupId>javax.servlet</groupId>
  64. <artifactId>jstl</artifactId>
  65. <version>1.2</version>
  66. <scope>runtime</scope>
  67. </dependency>
  68. <dependency>
  69. <groupId>javax.servlet</groupId>
  70. <artifactId>servlet-api</artifactId>
  71. <version>2.5</version>
  72. <scope>provided</scope>
  73. </dependency>
  74. <dependency>
  75. <groupId>taglibs</groupId>
  76. <artifactId>standard</artifactId>
  77. <version>1.1.2</version>
  78. <scope>runtime</scope>
  79. </dependency>
  80. <!-- log4j -->
  81. <dependency>
  82. <groupId>log4j</groupId>
  83. <artifactId>log4j</artifactId>
  84. <version>1.2.16</version>
  85. </dependency>
  86. </dependencies>
  87. <build>
  88. <finalName>order</finalName>
  89. <plugins>
  90. <plugin>
  91. <groupId>org.apache.maven.plugins</groupId>
  92. <artifactId>maven-war-plugin</artifactId>
  93. <configuration>
  94. <failOnMissingWebXml>false</failOnMissingWebXml>
  95. </configuration>
  96. </plugin>
  97. <plugin>
  98. <groupId>org.apache.maven.plugins</groupId>
  99. <artifactId>maven-compiler-plugin</artifactId>
  100. <version>2.5.1</version>
  101. <configuration>
  102. <encoding>utf8</encoding>
  103. </configuration>
  104. </plugin>
  105. <plugin>
  106. <groupId>org.apache.tomcat.maven</groupId>
  107. <artifactId>tomcat7-maven-plugin</artifactId>
  108. <version>2.2</version>
  109. <configuration>
  110. <path>/</path>
  111. <port>8071</port>
  112. <uriEncoding>UTF-8</uriEncoding>
  113. <contextReloadable>true</contextReloadable>
  114. </configuration>
  115. </plugin>
  116. </plugins>
  117. </build>
  118. </project>