pom.xml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>org.linlinjava</groupId>
  5. <artifactId>litemall-db</artifactId>
  6. <version>0.1.0</version>
  7. <packaging>jar</packaging>
  8. <parent>
  9. <groupId>org.springframework.boot</groupId>
  10. <artifactId>spring-boot-starter-parent</artifactId>
  11. <version>1.5.10.RELEASE</version>
  12. <relativePath /> <!-- lookup parent from repository -->
  13. </parent>
  14. <properties>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. <java.version>1.8</java.version>
  17. <maven.test.skip>true</maven.test.skip>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter</artifactId>
  23. </dependency>
  24. <!-- Spring Boot Mybatis 依赖 -->
  25. <dependency>
  26. <groupId>org.mybatis.spring.boot</groupId>
  27. <artifactId>mybatis-spring-boot-starter</artifactId>
  28. <version>1.3.2</version>
  29. </dependency>
  30. <!-- Spring Boot pagehelper 依赖 -->
  31. <dependency>
  32. <groupId>com.github.pagehelper</groupId>
  33. <artifactId>pagehelper-spring-boot-starter</artifactId>
  34. <version>1.2.3</version>
  35. </dependency>
  36. <!-- MySQL 连接驱动依赖 -->
  37. <dependency>
  38. <groupId>mysql</groupId>
  39. <artifactId>mysql-connector-java</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>com.alibaba</groupId>
  43. <artifactId>druid-spring-boot-starter</artifactId>
  44. <version>1.1.6</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>com.fasterxml.jackson.core</groupId>
  48. <artifactId>jackson-databind</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-test</artifactId>
  53. <scope>test</scope>
  54. </dependency>
  55. <!-- 热部署模块 -->
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-devtools</artifactId>
  59. <optional>true</optional>
  60. </dependency>
  61. </dependencies>
  62. <build>
  63. <plugins>
  64. <plugin>
  65. <groupId>org.mybatis.generator</groupId>
  66. <artifactId>mybatis-generator-maven-plugin</artifactId>
  67. <version>1.3.6</version>
  68. <configuration>
  69. <configurationFile>
  70. mybatis-generator/generatorConfig.xml
  71. </configurationFile>
  72. <overwrite>true</overwrite>
  73. <verbose>true</verbose>
  74. </configuration>
  75. <dependencies>
  76. <dependency>
  77. <groupId>mysql</groupId>
  78. <artifactId>mysql-connector-java</artifactId>
  79. <version>5.1.44</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>com.itfsw</groupId>
  83. <artifactId>mybatis-generator-plugin</artifactId>
  84. <version>1.1.2</version>
  85. </dependency>
  86. </dependencies>
  87. </plugin>
  88. </plugins>
  89. </build>
  90. </project>