pom.xml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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. </dependencies>
  42. <build>
  43. <finalName>agent-service</finalName>
  44. <plugins>
  45. <plugin>
  46. <groupId>org.apache.maven.plugins</groupId>
  47. <artifactId>maven-compiler-plugin</artifactId>
  48. <version>3.8.1</version>
  49. <configuration>
  50. <source>8</source>
  51. <target>8</target>
  52. <encoding>utf-8</encoding>
  53. </configuration>
  54. </plugin>
  55. <plugin>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-maven-plugin</artifactId>
  58. <version>2.5.3</version>
  59. <executions>
  60. <execution>
  61. <phase>package</phase>
  62. <goals>
  63. <goal>repackage</goal>
  64. </goals>
  65. </execution>
  66. </executions>
  67. <configuration>
  68. <includeSystemScope>true</includeSystemScope>
  69. <mainClass>com.ytpm.AgentApplication</mainClass>
  70. </configuration>
  71. </plugin>
  72. </plugins>
  73. </build>
  74. </project>