pom.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  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>cn.ubitech.ttc</groupId>
  6. <artifactId>ttc-app</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <packaging>war</packaging>
  9. <name>ttc-app</name>
  10. <description>Spring Boot for app</description>
  11. <!-- 子模块的parent要使用顶层的父模块,继承即可 -->
  12. <parent>
  13. <!--<groupId>org.springframework.boot</groupId>-->
  14. <!--<artifactId>spring-boot-starter-parent</artifactId>-->
  15. <!--<version>1.5.8.RELEASE</version>-->
  16. <!--<relativePath/>-->
  17. <groupId>cn.ubitech.ttc</groupId>
  18. <artifactId>ttc_5.0</artifactId>
  19. <version>1.0-SNAPSHOT</version>
  20. </parent>
  21. <dependencies>
  22. <!-- 子模块的springboot不需要指定版本号,因为在parents中已经设置了springboot -->
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-web</artifactId>
  26. <!--<exclusions>
  27. <exclusion>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-tomcat</artifactId>
  30. </exclusion>
  31. </exclusions>-->
  32. </dependency>
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-tomcat</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-test</artifactId>
  40. <!--<scope>test</scope>-->
  41. </dependency>
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-aop</artifactId>
  45. </dependency>
  46. <!-- 数据库连接池 -->
  47. <dependency>
  48. <groupId>com.alibaba</groupId>
  49. <artifactId>druid-spring-boot-starter</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>mysql</groupId>
  53. <artifactId>mysql-connector-java</artifactId>
  54. </dependency>
  55. <!-- mybatis-plus配置 -->
  56. <dependency>
  57. <groupId>com.baomidou</groupId>
  58. <artifactId>mybatis-plus-boot-starter</artifactId>
  59. </dependency>
  60. <!-- fastdfs配置 -->
  61. <dependency>
  62. <groupId>com.github.tobato</groupId>
  63. <artifactId>fastdfs-client</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>com.google.code.gson</groupId>
  67. <artifactId>gson</artifactId>
  68. </dependency>
  69. <!--<dependency>
  70. <groupId>org.springframework.data</groupId>
  71. <artifactId>spring-data-redis</artifactId>
  72. <scope>provided</scope>
  73. </dependency>-->
  74. <dependency>
  75. <groupId>org.springframework.data</groupId>
  76. <artifactId>spring-data-commons</artifactId>
  77. <version>1.13.9.RELEASE</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>cn.ubitech.ttc</groupId>
  81. <artifactId>ttc-backen</artifactId>
  82. <version>1.0-SNAPSHOT</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>javax.servlet</groupId>
  86. <artifactId>javax.servlet-api</artifactId>
  87. <version>3.0.1</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>io.springfox</groupId>
  91. <artifactId>springfox-swagger2</artifactId>
  92. </dependency>
  93. <dependency>
  94. <groupId>io.springfox</groupId>
  95. <artifactId>springfox-swagger-ui</artifactId>
  96. </dependency>
  97. <dependency>
  98. <groupId>commons-lang</groupId>
  99. <artifactId>commons-lang</artifactId>
  100. <version>2.6</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.elasticsearch</groupId>
  104. <artifactId>elasticsearch</artifactId>
  105. <version>2.3.2</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>com.tencentcloudapi</groupId>
  109. <artifactId>tencentcloud-sdk-java</artifactId>
  110. <version>3.1.20</version>
  111. </dependency>
  112. </dependencies>
  113. <build>
  114. <finalName>ttc-app</finalName>
  115. <plugins>
  116. <plugin>
  117. <groupId>org.springframework.boot</groupId>
  118. <artifactId>spring-boot-maven-plugin</artifactId>
  119. <configuration>
  120. <mainClass>cn.ubitech.ttc.TtcAppApplication</mainClass>
  121. </configuration>
  122. </plugin>
  123. <!--<plugin>
  124. <artifactId>maven-compiler-plugin</artifactId>
  125. <configuration>
  126. <source>1.8</source>
  127. <target>1.8</target>
  128. <encoding>UTF-8</encoding>
  129. </configuration>
  130. </plugin>-->
  131. </plugins>
  132. </build>
  133. <!-- <build>
  134. <plugins>
  135. <plugin>
  136. <groupId>org.springframework.boot</groupId>
  137. <artifactId>spring-boot-maven-plugin</artifactId>
  138. <executions>
  139. <execution>
  140. <goals>
  141. <goal>repackage</goal>
  142. </goals>
  143. </execution>
  144. </executions>
  145. </plugin>
  146. </plugins>
  147. </build>-->
  148. </project>