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>hdfs-over-ftp</groupId>
  7. <artifactId>hdfs-over-ftp</artifactId>
  8. <version>1.0</version>
  9. <parent>
  10. <groupId>org.springframework.boot</groupId>
  11. <artifactId>spring-boot-starter-parent</artifactId>
  12. <version>2.4.3</version>
  13. </parent>
  14. <dependencies>
  15. <dependency>
  16. <groupId>org.springframework.boot</groupId>
  17. <artifactId>spring-boot-starter</artifactId>
  18. </dependency>
  19. <dependency>
  20. <groupId>org.springframework.boot</groupId>
  21. <artifactId>spring-boot-starter-web</artifactId>
  22. </dependency>
  23. <dependency>
  24. <groupId>io.springfox</groupId>
  25. <artifactId>springfox-swagger2</artifactId>
  26. <version>2.9.2</version>
  27. </dependency>
  28. <dependency>
  29. <groupId>io.springfox</groupId>
  30. <artifactId>springfox-swagger-ui</artifactId>
  31. <version>2.10.0</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.apache.hadoop</groupId>
  35. <artifactId>hadoop-common</artifactId>
  36. <version>3.2.4</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.apache.hadoop</groupId>
  40. <artifactId>hadoop-client</artifactId>
  41. <version>3.2.1</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.apache.ftpserver</groupId>
  45. <artifactId>ftpserver-core</artifactId>
  46. <version>1.1.1</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.seaweedfs</groupId>
  50. <artifactId>seaweedfs-hadoop3-client</artifactId>
  51. <version>1.6.2</version>
  52. </dependency>
  53. </dependencies>
  54. <build>
  55. <plugins>
  56. <plugin>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-maven-plugin</artifactId>
  59. </plugin>
  60. <plugin>
  61. <groupId>org.apache.maven.plugins</groupId>
  62. <artifactId>maven-compiler-plugin</artifactId>
  63. <version>3.1</version>
  64. <configuration>
  65. <source>1.8</source>
  66. <target>1.8</target>
  67. <encoding>UTF-8</encoding>
  68. <compilerArguments>
  69. <verbose />
  70. <bootclasspath>${java.home}/lib/rt.jar</bootclasspath>
  71. </compilerArguments>
  72. </configuration>
  73. </plugin>
  74. <plugin>
  75. <groupId>org.apache.maven.plugins</groupId>
  76. <artifactId>maven-jar-plugin</artifactId>
  77. <version>2.6</version>
  78. <configuration>
  79. <archive>
  80. <manifest>
  81. <mainClass>org.apache.hadoop.seaweed.ftp.ApplicationServer</mainClass>
  82. <addClasspath>true</addClasspath>
  83. <classpathPrefix>lib/</classpathPrefix>
  84. </manifest>
  85. <manifestEntries>
  86. <Class-Path>./</Class-Path>
  87. </manifestEntries>
  88. </archive>
  89. </configuration>
  90. </plugin>
  91. <plugin>
  92. <artifactId>maven-assembly-plugin</artifactId>
  93. <configuration>
  94. <appendAssemblyId>false</appendAssemblyId>
  95. <descriptors>
  96. <descriptor>src/main/resources/assembly.xml</descriptor>
  97. </descriptors>
  98. </configuration>
  99. <executions>
  100. <execution>
  101. <id>make-assembly</id>
  102. <phase>package</phase>
  103. <goals>
  104. <goal>single</goal>
  105. </goals>
  106. </execution>
  107. </executions>
  108. </plugin>
  109. </plugins>
  110. </build>
  111. </project>