You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
3.2 KiB

6 years ago
  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>seaweedfs</groupId>
  7. <artifactId>seaweedfs-hadoop-client</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <build>
  10. <plugins>
  11. <plugin>
  12. <groupId>org.apache.maven.plugins</groupId>
  13. <artifactId>maven-compiler-plugin</artifactId>
  14. <configuration>
  15. <source>7</source>
  16. <target>7</target>
  17. </configuration>
  18. </plugin>
  19. <plugin>
  20. <groupId>org.apache.maven.plugins</groupId>
  21. <artifactId>maven-shade-plugin</artifactId>
  22. <version>3.2.1</version>
  23. <executions>
  24. <execution>
  25. <phase>package</phase>
  26. <goals>
  27. <goal>shade</goal>
  28. </goals>
  29. <configuration>
  30. <transformers>
  31. <transformer
  32. implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
  33. </transformers>
  34. <relocations>
  35. <relocation>
  36. <pattern>com.google</pattern>
  37. <shadedPattern>shaded.com.google</shadedPattern>
  38. </relocation>
  39. <relocation>
  40. <pattern>io.grpc.internal</pattern>
  41. <shadedPattern>shaded.io.grpc.internal</shadedPattern>
  42. </relocation>
  43. </relocations>
  44. </configuration>
  45. </execution>
  46. </executions>
  47. </plugin>
  48. </plugins>
  49. </build>
  50. <properties>
  51. <hadoop.version>3.1.1</hadoop.version>
  52. </properties>
  53. <dependencies>
  54. <dependency>
  55. <groupId>org.apache.hadoop</groupId>
  56. <artifactId>hadoop-client</artifactId>
  57. <version>${hadoop.version}</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>seaweedfs</groupId>
  61. <artifactId>seaweedfs-client</artifactId>
  62. <version>1.0-SNAPSHOT</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.apache.hadoop</groupId>
  66. <artifactId>hadoop-common</artifactId>
  67. <version>${hadoop.version}</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.apache.httpcomponents</groupId>
  71. <artifactId>httpmime</artifactId>
  72. <version>4.5.2</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>junit</groupId>
  76. <artifactId>junit</artifactId>
  77. <version>4.12</version>
  78. <scope>test</scope>
  79. </dependency>
  80. </dependencies>
  81. </project>