pom.xml 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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-agent</artifactId>
  7. <version>1.0-SNAPSHOT</version>
  8. </parent>
  9. <artifactId>agent-service</artifactId>
  10. <packaging>jar</packaging>
  11. <description>代理商后台</description>
  12. <name>agent-service</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>mysql</groupId>
  20. <artifactId>mysql-connector-java</artifactId>
  21. </dependency>
  22. <dependency>
  23. <groupId>org.springframework.cloud</groupId>
  24. <artifactId>spring-cloud-starter-oauth2</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>com.google.guava</groupId>
  28. <artifactId>guava</artifactId>
  29. <version>31.0-jre</version>
  30. </dependency>
  31. <dependency>
  32. <groupId>com.ytpm</groupId>
  33. <artifactId>agent-feign</artifactId>
  34. <version>1.0-SNAPSHOT</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>com.ytpm</groupId>
  38. <artifactId>risk-feign</artifactId>
  39. <version>1.0-SNAPSHOT</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>com.ytpm</groupId>
  43. <artifactId>app-feign</artifactId>
  44. <version>1.0-SNAPSHOT</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>com.ytpm</groupId>
  48. <artifactId>advertise-feign</artifactId>
  49. <version>1.0-SNAPSHOT</version>
  50. </dependency>
  51. </dependencies>
  52. <build>
  53. <finalName>agent-service</finalName>
  54. <plugins>
  55. <plugin>
  56. <groupId>org.apache.maven.plugins</groupId>
  57. <artifactId>maven-compiler-plugin</artifactId>
  58. <version>3.8.1</version>
  59. <configuration>
  60. <source>8</source>
  61. <target>8</target>
  62. <encoding>utf-8</encoding>
  63. </configuration>
  64. </plugin>
  65. <plugin>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-maven-plugin</artifactId>
  68. <version>2.5.3</version>
  69. <executions>
  70. <execution>
  71. <phase>package</phase>
  72. <goals>
  73. <goal>repackage</goal>
  74. </goals>
  75. </execution>
  76. </executions>
  77. <configuration>
  78. <includeSystemScope>true</includeSystemScope>
  79. <mainClass>com.ytpm.AgentApplication</mainClass>
  80. </configuration>
  81. </plugin>
  82. </plugins>
  83. </build>
  84. </project>