pom.xml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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>file-move-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.alibaba</groupId>
  22. <artifactId>fastjson</artifactId>
  23. <version>1.2.47</version>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.apache.httpcomponents</groupId>
  27. <artifactId>httpclient</artifactId>
  28. <version>${org.apache.httpcomponents.version}</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.apache.httpcomponents</groupId>
  32. <artifactId>httpclient-cache</artifactId>
  33. <version>${org.apache.httpcomponents.version}</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.apache.httpcomponents</groupId>
  37. <artifactId>httpclient-win</artifactId>
  38. <version>${org.apache.httpcomponents.version}</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.apache.httpcomponents</groupId>
  42. <artifactId>httpmime</artifactId>
  43. <version>${org.apache.httpcomponents.version}</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.apache.httpcomponents</groupId>
  47. <artifactId>httpcore</artifactId>
  48. <version>4.4.9</version>
  49. </dependency>
  50. </dependencies>
  51. <repositories>
  52. <repository>
  53. <id>alimaven</id>
  54. <name>aliyun maven</name>
  55. <url>http://maven.aliyun.com/nexus/content/groups/public</url>
  56. </repository>
  57. </repositories>
  58. <build>
  59. <finalName>file-move-tool</finalName>
  60. <plugins>
  61. <plugin>
  62. <groupId>org.apache.maven.plugins</groupId>
  63. <artifactId>maven-compiler-plugin</artifactId>
  64. <version>2.5.1</version>
  65. <inherited>true</inherited>
  66. <configuration>
  67. <source>1.8</source>
  68. <target>1.8</target>
  69. </configuration>
  70. </plugin>
  71. <plugin>
  72. <groupId>org.apache.maven.plugins</groupId>
  73. <artifactId>maven-shade-plugin</artifactId>
  74. <version>3.1.0</version>
  75. <executions>
  76. <execution>
  77. <phase>package</phase>
  78. <goals>
  79. <goal>shade</goal>
  80. </goals>
  81. <configuration>
  82. <transformers>
  83. <transformer
  84. implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  85. <mainClass>com.persagy.filemove.app.SagaFileMoveApp</mainClass>
  86. </transformer>
  87. </transformers>
  88. </configuration>
  89. </execution>
  90. </executions>
  91. </plugin>
  92. </plugins>
  93. </build>
  94. </project>