pom.xml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.2.2.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.springboot</groupId>
  12. <artifactId>staffingsystem</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <packaging>jar</packaging>
  15. <name>StaffingSystem</name>
  16. <description>Demo project for Spring Boot</description>
  17. <properties>
  18. <java.version>1.8</java.version>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-web</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>mysql</groupId>
  27. <artifactId>mysql-connector-java</artifactId>
  28. <version>8.0.18</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-test</artifactId>
  33. <scope>test</scope>
  34. <exclusions>
  35. <exclusion>
  36. <groupId>org.junit.vintage</groupId>
  37. <artifactId>junit-vintage-engine</artifactId>
  38. </exclusion>
  39. </exclusions>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.mybatis.spring.boot</groupId>
  43. <artifactId>mybatis-spring-boot-starter</artifactId>
  44. <version>1.2.0</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.mybatis.generator</groupId>
  48. <artifactId>mybatis-generator-core</artifactId>
  49. <version>1.3.2</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>log4j</groupId>
  53. <artifactId>log4j</artifactId>
  54. <version>1.2.17</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.springframework.data</groupId>
  58. <artifactId>spring-data-jpa</artifactId>
  59. <version>2.2.3.RELEASE</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-starter-data-jpa</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springframework.data</groupId>
  67. <artifactId>spring-data-jdbc</artifactId>
  68. <version>1.1.3.RELEASE</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>com.alibaba</groupId>
  72. <artifactId>druid-spring-boot-starter</artifactId>
  73. <version>1.1.10</version>
  74. </dependency>
  75. <!-- swagger -->
  76. <dependency>
  77. <groupId>io.springfox</groupId>
  78. <artifactId>springfox-swagger2</artifactId>
  79. <version>2.5.0</version>
  80. </dependency>
  81. <!-- swagger-ui -->
  82. <dependency>
  83. <groupId>io.springfox</groupId>
  84. <artifactId>springfox-swagger-ui</artifactId>
  85. <version>2.5.0</version>
  86. </dependency>
  87. </dependencies>
  88. <build>
  89. <plugins>
  90. <plugin>
  91. <groupId>org.springframework.boot</groupId>
  92. <artifactId>spring-boot-maven-plugin</artifactId>
  93. </plugin>
  94. <plugin>
  95. <groupId>org.mybatis.generator</groupId>
  96. <artifactId>mybatis-generator-maven-plugin</artifactId>
  97. <version>1.3.5</version>
  98. <configuration>
  99. <configurationFile>src\main\resources\generatorConfig.xml</configurationFile>
  100. <verbose>true</verbose>
  101. <overwrite>true</overwrite>
  102. </configuration>
  103. <dependencies>
  104. <dependency>
  105. <groupId>mysql</groupId>
  106. <artifactId>mysql-connector-java</artifactId>
  107. <version>${mysql.version}</version>
  108. </dependency>
  109. </dependencies>
  110. </plugin>
  111. </plugins>
  112. <resources>
  113. <resource>
  114. <directory>src/main/java</directory>
  115. <includes>
  116. <include>**/*.xml</include>
  117. </includes>
  118. <filtering>true</filtering>
  119. </resource>
  120. </resources>
  121. </build>
  122. </project>