pom.xml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>org.example</groupId>
  7. <artifactId>data-platform-tool</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <properties>
  10. <org.apache.httpcomponents.version>4.5.5</org.apache.httpcomponents.version>
  11. </properties>
  12. <dependencies>
  13. <!-- log -->
  14. <dependency>
  15. <groupId>org.slf4j</groupId>
  16. <artifactId>slf4j-log4j12</artifactId>
  17. <version>1.7.25</version>
  18. </dependency>
  19. <!--json-->
  20. <dependency>
  21. <groupId>com.fasterxml.jackson.core</groupId>
  22. <artifactId>jackson-databind</artifactId>
  23. <version>2.9.8</version>
  24. </dependency>
  25. <!-- httpclient -->
  26. <dependency>
  27. <groupId>org.apache.httpcomponents</groupId>
  28. <artifactId>httpclient</artifactId>
  29. <version>${org.apache.httpcomponents.version}</version>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.apache.httpcomponents</groupId>
  33. <artifactId>httpclient-cache</artifactId>
  34. <version>${org.apache.httpcomponents.version}</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.apache.httpcomponents</groupId>
  38. <artifactId>httpclient-win</artifactId>
  39. <version>${org.apache.httpcomponents.version}</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.apache.httpcomponents</groupId>
  43. <artifactId>httpmime</artifactId>
  44. <version>${org.apache.httpcomponents.version}</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.apache.httpcomponents</groupId>
  48. <artifactId>httpcore</artifactId>
  49. <version>4.4.9</version>
  50. </dependency>
  51. <!-- activeMQ -->
  52. <dependency>
  53. <groupId>org.apache.activemq</groupId>
  54. <artifactId>activemq-client</artifactId>
  55. <version>5.15.0</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.apache.activemq</groupId>
  59. <artifactId>activemq-core</artifactId>
  60. <version>5.7.0</version>
  61. </dependency>
  62. <!-- rabbitMQ -->
  63. <dependency>
  64. <groupId>com.rabbitmq</groupId>
  65. <artifactId>amqp-client</artifactId>
  66. <version>5.7.3</version>
  67. </dependency>
  68. </dependencies>
  69. <repositories>
  70. <repository>
  71. <id>alimaven</id>
  72. <name>aliyun maven</name>
  73. <url>http://maven.aliyun.com/nexus/content/groups/public</url>
  74. </repository>
  75. </repositories>
  76. <build>
  77. <finalName>data-platform-tool</finalName>
  78. <plugins>
  79. <plugin>
  80. <groupId>org.apache.maven.plugins</groupId>
  81. <artifactId>maven-compiler-plugin</artifactId>
  82. <version>2.5.1</version>
  83. <inherited>true</inherited>
  84. <configuration>
  85. <source>1.8</source>
  86. <target>1.8</target>
  87. </configuration>
  88. </plugin>
  89. <plugin>
  90. <groupId>org.apache.maven.plugins</groupId>
  91. <artifactId>maven-shade-plugin</artifactId>
  92. <version>3.1.0</version>
  93. <executions>
  94. <execution>
  95. <phase>package</phase>
  96. <goals>
  97. <goal>shade</goal>
  98. </goals>
  99. <configuration>
  100. <transformers>
  101. <transformer
  102. implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  103. <mainClass>com.persagy.dptool.MainApp</mainClass>
  104. </transformer>
  105. </transformers>
  106. </configuration>
  107. </execution>
  108. </executions>
  109. </plugin>
  110. </plugins>
  111. </build>
  112. </project>