pom.xml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>com.jzg</groupId>
  6. <artifactId>jzg</artifactId>
  7. <version>1.0-SNAPSHOT</version>
  8. <relativePath>../pom.xml</relativePath>
  9. </parent>
  10. <artifactId>platform</artifactId>
  11. <packaging>jar</packaging>
  12. <name>platform Maven Webapp</name>
  13. <url>http://maven.apache.org</url>
  14. <dependencies>
  15. <!-- sleuth服务追踪的启动依赖-->
  16. <!-- <dependency>-->
  17. <!-- <groupId>org.springframework.cloud</groupId>-->
  18. <!-- <artifactId>spring-cloud-starter-sleuth</artifactId>-->
  19. <!-- <version>3.0.0</version>-->
  20. <!-- </dependency>-->
  21. <!-- &lt;!&ndash; zipkin服务追踪的启动依赖&ndash;&gt;-->
  22. <!-- <dependency>-->
  23. <!-- <groupId>org.springframework.cloud</groupId>-->
  24. <!-- <artifactId>spring-cloud-starter-zipkin</artifactId>-->
  25. <!-- <version>2.2.8.RELEASE</version>-->
  26. <!-- </dependency>-->
  27. <dependency>
  28. <groupId>org.springframework.cloud</groupId>
  29. <artifactId>spring-cloud-starter-openfeign</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-web</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>io.minio</groupId>
  37. <artifactId>minio</artifactId>
  38. <version>${minio.version}</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>mysql</groupId>
  42. <artifactId>mysql-connector-java</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>com.baomidou</groupId>
  46. <artifactId>mybatis-plus-spring-boot3-starter</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.baomidou</groupId>
  50. <artifactId>mybatis-plus</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.baomidou</groupId>
  54. <artifactId>mybatis-plus-extension</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.jzg</groupId>
  58. <artifactId>commons</artifactId>
  59. <version>1.0-SNAPSHOT</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.projectlombok</groupId>
  63. <artifactId>lombok</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.redisson</groupId>
  67. <artifactId>redisson</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.redisson</groupId>
  71. <artifactId>redisson-spring-boot-starter</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.redisson</groupId>
  75. <artifactId>redisson-spring-data-27</artifactId>
  76. </dependency>
  77. </dependencies>
  78. <build>
  79. <plugins>
  80. <plugin>
  81. <groupId>org.springframework.boot</groupId>
  82. <artifactId>spring-boot-maven-plugin</artifactId>
  83. <executions>
  84. <execution>
  85. <id>repackage</id>
  86. <phase>none</phase>
  87. </execution>
  88. </executions>
  89. </plugin>
  90. <plugin>
  91. <groupId>org.apache.maven.plugins</groupId>
  92. <artifactId>maven-dependency-plugin</artifactId>
  93. <executions>
  94. <execution>
  95. <id>copy-dependencies</id>
  96. <phase>package</phase>
  97. <goals>
  98. <goal>copy-dependencies</goal>
  99. </goals>
  100. <configuration>
  101. <outputDirectory>${project.build.directory}/lib</outputDirectory>
  102. <overWriteReleases>false</overWriteReleases>
  103. <overWriteSnapshots>false</overWriteSnapshots>
  104. <overWriteIfNewer>true</overWriteIfNewer>
  105. </configuration>
  106. </execution>
  107. </executions>
  108. </plugin>
  109. <plugin>
  110. <groupId>org.apache.maven.plugins</groupId>
  111. <artifactId>maven-jar-plugin</artifactId>
  112. <configuration>
  113. <archive>
  114. <manifest>
  115. <addClasspath>true</addClasspath>
  116. <classpathPrefix>lib/</classpathPrefix>
  117. <mainClass>com.jzg.PlatFormApplication</mainClass> <!-- 替换为你的主类 -->
  118. <useUniqueVersions>false</useUniqueVersions>
  119. </manifest>
  120. <manifestEntries>
  121. <Class-Path>config/</Class-Path>
  122. </manifestEntries>
  123. </archive>
  124. </configuration>
  125. </plugin>
  126. <plugin>
  127. <groupId>org.apache.maven.plugins</groupId>
  128. <artifactId>maven-resources-plugin</artifactId>
  129. <version>3.1.0</version>
  130. </plugin>
  131. </plugins>
  132. </build>
  133. </project>