pom.xml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>yiqi-manage-project</artifactId>
  7. <groupId>com.yiqi</groupId>
  8. <version>3.8.5</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>yiqi-api</artifactId>
  12. <packaging>jar</packaging>
  13. <description>
  14. api服务入口
  15. </description>
  16. <dependencies>
  17. <!-- spring-boot-devtools -->
  18. <!-- <dependency>-->
  19. <!-- <groupId>org.springframework.boot</groupId>-->
  20. <!-- <artifactId>spring-boot-devtools</artifactId>-->
  21. <!-- <optional>true</optional> &lt;!&ndash; 表示依赖不会传递 &ndash;&gt;-->
  22. <!-- </dependency>-->
  23. <dependency>
  24. <groupId>com.alibaba</groupId>
  25. <artifactId>fastjson</artifactId>
  26. <version>1.2.78</version>
  27. </dependency>
  28. <!-- Mysql驱动包 -->
  29. <dependency>
  30. <groupId>mysql</groupId>
  31. <artifactId>mysql-connector-java</artifactId>
  32. </dependency>
  33. <!-- 核心模块-->
  34. <dependency>
  35. <groupId>com.yiqi</groupId>
  36. <artifactId>yiqi-framework</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>com.yiqi</groupId>
  40. <artifactId>yiqi-core</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.qcloud</groupId>
  44. <artifactId>cos_api</artifactId>
  45. <version>5.6.89</version>
  46. </dependency>
  47. </dependencies>
  48. <build>
  49. <plugins>
  50. <plugin>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-maven-plugin</artifactId>
  53. <version>2.1.1.RELEASE</version>
  54. <!-- <configuration>-->
  55. <!-- <fork>true</fork> &lt;!&ndash; 如果没有该配置,devtools不会生效 &ndash;&gt;-->
  56. <!-- </configuration>-->
  57. <executions>
  58. <execution>
  59. <goals>
  60. <goal>repackage</goal>
  61. </goals>
  62. </execution>
  63. </executions>
  64. </plugin>
  65. <plugin>
  66. <groupId>org.apache.maven.plugins</groupId>
  67. <artifactId>maven-war-plugin</artifactId>
  68. <version>3.1.0</version>
  69. <configuration>
  70. <failOnMissingWebXml>false</failOnMissingWebXml>
  71. <warName>${project.artifactId}</warName>
  72. </configuration>
  73. </plugin>
  74. </plugins>
  75. <finalName>${project.artifactId}</finalName>
  76. </build>
  77. <properties>
  78. <maven.compiler.source>8</maven.compiler.source>
  79. <maven.compiler.target>8</maven.compiler.target>
  80. </properties>
  81. </project>