pom.xml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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.1.2.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.lantone.qc.kernel</groupId>
  12. <artifactId>kernel</artifactId>
  13. <version>0.0.1</version>
  14. <name>kernel</name>
  15. <description>Demo project for Spring Boot</description>
  16. <properties>
  17. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  19. <java.version>1.8</java.version>
  20. <swagger2.version>2.7.0</swagger2.version>
  21. <slf4j.version>1.7.2</slf4j.version>
  22. <commons-lang3.version>3.1</commons-lang3.version>
  23. <commons-io.version>2.4</commons-io.version>
  24. </properties>
  25. <dependencies>
  26. <dependency>
  27. <groupId>com.lantone.qc</groupId>
  28. <artifactId>public</artifactId>
  29. <version>1.0</version>
  30. </dependency>
  31. <dependency>
  32. <groupId>com.lantone.qc</groupId>
  33. <artifactId>security</artifactId>
  34. <version>1.0</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>com.lantone.qc</groupId>
  38. <artifactId>trans</artifactId>
  39. <version>1.0</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-starter-web</artifactId>
  44. </dependency>
  45. <!-- LOGGING begin -->
  46. <!-- 代码直接调用commons-logging会被桥接到slf4j -->
  47. <dependency>
  48. <groupId>org.slf4j</groupId>
  49. <artifactId>jcl-over-slf4j</artifactId>
  50. <version>${slf4j.version}</version>
  51. </dependency>
  52. <!-- 代码直接调用java.util.logging会被桥接到slf4j -->
  53. <dependency>
  54. <groupId>org.slf4j</groupId>
  55. <artifactId>jul-to-slf4j</artifactId>
  56. <version>${slf4j.version}</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>io.springfox</groupId>
  60. <artifactId>springfox-swagger2</artifactId>
  61. <version>${swagger2.version}</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>io.springfox</groupId>
  65. <artifactId>springfox-swagger-ui</artifactId>
  66. <version>${swagger2.version}</version>
  67. </dependency>
  68. <!-- 开启feign-->
  69. <dependency>
  70. <groupId>org.springframework.cloud</groupId>
  71. <artifactId>spring-cloud-starter-openfeign</artifactId>
  72. <version>2.1.0.RELEASE</version>
  73. </dependency>
  74. </dependencies>
  75. <build>
  76. <plugins>
  77. <plugin>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-maven-plugin</artifactId>
  80. </plugin>
  81. </plugins>
  82. <resources>
  83. <resource>
  84. <directory>src/main/java</directory>
  85. <includes>
  86. <include>**/*.properties</include>
  87. <include>**/*.xml</include>
  88. <include>**/*.json</include>
  89. </includes>
  90. <filtering>false</filtering>
  91. </resource>
  92. <resource>
  93. <directory>src/main/resources</directory>
  94. <includes>
  95. <include>**/*.*</include>
  96. </includes>
  97. </resource>
  98. </resources>
  99. <finalName>qc-web</finalName>
  100. </build>
  101. </project>