pom.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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. </dependencies>
  52. <repositories>
  53. <repository>
  54. <id>alimaven</id>
  55. <name>aliyun maven</name>
  56. <url>http://maven.aliyun.com/nexus/content/groups/public</url>
  57. </repository>
  58. </repositories>
  59. <build>
  60. <finalName>file-move-tool</finalName>
  61. <resources>
  62. <resource>
  63. <directory>src/main/java</directory>
  64. <includes>
  65. <include>**/*.fxml</include>
  66. </includes>
  67. </resource>
  68. <resource>
  69. <directory>src/main/resources</directory>
  70. <includes>
  71. <include>**/*.fxml</include>
  72. </includes>
  73. </resource>
  74. </resources>
  75. <plugins>
  76. <plugin>
  77. <groupId>org.apache.maven.plugins</groupId>
  78. <artifactId>maven-compiler-plugin</artifactId>
  79. <version>2.5.1</version>
  80. <inherited>true</inherited>
  81. <configuration>
  82. <source>1.8</source>
  83. <target>1.8</target>
  84. </configuration>
  85. </plugin>
  86. <plugin>
  87. <groupId>org.apache.maven.plugins</groupId>
  88. <artifactId>maven-shade-plugin</artifactId>
  89. <version>3.1.0</version>
  90. <executions>
  91. <execution>
  92. <phase>package</phase>
  93. <goals>
  94. <goal>shade</goal>
  95. </goals>
  96. <configuration>
  97. <transformers>
  98. <transformer
  99. implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  100. <mainClass>com.persagy.dptool.MainApp</mainClass>
  101. </transformer>
  102. </transformers>
  103. </configuration>
  104. </execution>
  105. </executions>
  106. </plugin>
  107. </plugins>
  108. </build>
  109. </project>