pom.xml 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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. <!--feign依赖-->
  32. <dependency>
  33. <groupId>com.ytpm</groupId>
  34. <artifactId>advertise-feign</artifactId>
  35. <version>1.0-SNAPSHOT</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>com.ytpm</groupId>
  39. <artifactId>risk-feign</artifactId>
  40. <version>1.0-SNAPSHOT</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.ytpm</groupId>
  44. <artifactId>agent-feign</artifactId>
  45. <version>1.0-SNAPSHOT</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.ytpm</groupId>
  49. <artifactId>yt-question-feign</artifactId>
  50. <version>1.0-SNAPSHOT</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.ytpm</groupId>
  54. <artifactId>lemon-ios-feign</artifactId>
  55. <version>1.0-SNAPSHOT</version>
  56. </dependency>
  57. </dependencies>
  58. <build>
  59. <finalName>agent-service</finalName>
  60. <plugins>
  61. <plugin>
  62. <groupId>org.apache.maven.plugins</groupId>
  63. <artifactId>maven-compiler-plugin</artifactId>
  64. <version>3.8.1</version>
  65. <configuration>
  66. <source>8</source>
  67. <target>8</target>
  68. <encoding>utf-8</encoding>
  69. </configuration>
  70. </plugin>
  71. <plugin>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-maven-plugin</artifactId>
  74. <version>2.5.3</version>
  75. <executions>
  76. <execution>
  77. <phase>package</phase>
  78. <goals>
  79. <goal>repackage</goal>
  80. </goals>
  81. </execution>
  82. </executions>
  83. <configuration>
  84. <includeSystemScope>true</includeSystemScope>
  85. <mainClass>com.ytpm.AgentApplication</mainClass>
  86. </configuration>
  87. </plugin>
  88. </plugins>
  89. </build>
  90. </project>