pom.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  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.vip</groupId>
  12. <artifactId>vip-file-upload</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>vip-file-upload</name>
  15. <description>文件上传下载服务</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-web</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.projectlombok</groupId>
  26. <artifactId>lombok</artifactId>
  27. <optional>true</optional>
  28. </dependency>
  29. <!--属性文件依赖-->
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-configuration-processor</artifactId>
  33. <optional>true</optional>
  34. </dependency>
  35. <!--接口文档依赖-->
  36. <dependency>
  37. <groupId>com.github.wgbvirtuals</groupId>
  38. <artifactId>vip-swagger</artifactId>
  39. <version>1.0.1</version>
  40. </dependency>
  41. <!--druid 依赖-->
  42. <dependency>
  43. <groupId>com.alibaba</groupId>
  44. <artifactId>druid-spring-boot-starter</artifactId>
  45. <version>1.1.21</version>
  46. </dependency>
  47. <!-- mysql数据库连接依赖 -->
  48. <dependency>
  49. <groupId>mysql</groupId>
  50. <artifactId>mysql-connector-java</artifactId>
  51. <version>5.1.47</version>
  52. </dependency>
  53. <!-- 分页插件 -->
  54. <dependency>
  55. <groupId>com.github.pagehelper</groupId>
  56. <artifactId>pagehelper-spring-boot-starter</artifactId>
  57. <version>1.2.13</version>
  58. <exclusions>
  59. <exclusion>
  60. <groupId>org.mybatis</groupId>
  61. <artifactId>mybatis</artifactId>
  62. </exclusion>
  63. </exclusions>
  64. </dependency>
  65. <!-- commons-lang3 -->
  66. <dependency>
  67. <groupId>org.apache.commons</groupId>
  68. <artifactId>commons-lang3</artifactId>
  69. <version>3.9</version>
  70. </dependency>
  71. <!-- JSON转换依赖 -->
  72. <dependency>
  73. <groupId>com.alibaba</groupId>
  74. <artifactId>fastjson</artifactId>
  75. <version>1.2.47</version>
  76. </dependency>
  77. <!--mybatis plus 相关jar begin-->
  78. <dependency>
  79. <groupId>com.baomidou</groupId>
  80. <artifactId>mybatis-plus-boot-starter</artifactId>
  81. <version>3.3.0</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>com.baomidou</groupId>
  85. <artifactId>mybatis-plus-generator</artifactId>
  86. <version>3.3.0</version>
  87. </dependency>
  88. <!--Mybatis Plus 模板引擎-->
  89. <dependency>
  90. <groupId>org.apache.velocity</groupId>
  91. <artifactId>velocity-engine-core</artifactId>
  92. <version>2.1</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>javax.validation</groupId>
  96. <artifactId>validation-api</artifactId>
  97. <version>2.0.1.Final</version>
  98. </dependency>
  99. <!--断点续传依赖-->
  100. <dependency>
  101. <groupId>cn.novelweb</groupId>
  102. <artifactId>tool-core</artifactId>
  103. <version>1.3.3</version>
  104. </dependency>
  105. </dependencies>
  106. <build>
  107. <finalName>vip-file-upload</finalName>
  108. <plugins>
  109. <plugin>
  110. <groupId>org.springframework.boot</groupId>
  111. <artifactId>spring-boot-maven-plugin</artifactId>
  112. <configuration>
  113. <mainClass>com.vip.file.FileApplication</mainClass>
  114. </configuration>
  115. <executions>
  116. <execution>
  117. <goals>
  118. <goal>repackage</goal>
  119. </goals>
  120. </execution>
  121. </executions>
  122. </plugin>
  123. <!--打包忽略项-->
  124. <plugin>
  125. <groupId>org.apache.maven.plugins</groupId>
  126. <artifactId>maven-jar-plugin</artifactId>
  127. <version>3.0.2</version>
  128. <configuration>
  129. <excludes>
  130. <exclude>application.yml</exclude>
  131. </excludes>
  132. </configuration>
  133. </plugin>
  134. </plugins>
  135. </build>
  136. </project>