pom.xml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>com.ytpm</groupId>
  6. <artifactId>yt_platform</artifactId>
  7. <version>1.0-SNAPSHOT</version>
  8. </parent>
  9. <artifactId>yt-gateway</artifactId>
  10. <packaging>jar</packaging>
  11. <description>网关</description>
  12. <name>yt-gateway</name>
  13. <url>http://maven.apache.org</url>
  14. <properties>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>org.springframework.cloud</groupId>
  20. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  21. </dependency>
  22. <dependency>
  23. <groupId>org.springframework.cloud</groupId>
  24. <artifactId>spring-cloud-alibaba-nacos-discovery</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.springframework.cloud</groupId>
  28. <artifactId>spring-cloud-starter-gateway</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-data-redis-reactive</artifactId>
  33. </dependency>
  34. </dependencies>
  35. <build>
  36. <finalName>yt-gateway</finalName>
  37. <plugins>
  38. <plugin>
  39. <groupId>org.apache.maven.plugins</groupId>
  40. <artifactId>maven-compiler-plugin</artifactId>
  41. <version>3.8.1</version>
  42. <configuration>
  43. <source>8</source>
  44. <target>8</target>
  45. <encoding>utf-8</encoding>
  46. </configuration>
  47. </plugin>
  48. <plugin>
  49. <groupId>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-maven-plugin</artifactId>
  51. <version>2.5.3</version>
  52. <executions>
  53. <execution>
  54. <phase>package</phase>
  55. <goals>
  56. <goal>repackage</goal>
  57. </goals>
  58. </execution>
  59. </executions>
  60. <configuration>
  61. <includeSystemScope>true</includeSystemScope>
  62. <mainClass>com.ytpm.GatewayApplication</mainClass>
  63. </configuration>
  64. </plugin>
  65. </plugins>
  66. </build>
  67. </project>