dependency-reduced-pom.xml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <parent>
  4. <artifactId>oss-parent</artifactId>
  5. <groupId>org.sonatype.oss</groupId>
  6. <version>9</version>
  7. <relativePath>../pom.xml/pom.xml</relativePath>
  8. </parent>
  9. <modelVersion>4.0.0</modelVersion>
  10. <groupId>com.github.chrislusf</groupId>
  11. <artifactId>seaweedfs-hadoop2-client</artifactId>
  12. <version>${seaweedfs.client.version}</version>
  13. <build>
  14. <plugins>
  15. <plugin>
  16. <artifactId>maven-compiler-plugin</artifactId>
  17. <configuration>
  18. <source>7</source>
  19. <target>7</target>
  20. </configuration>
  21. </plugin>
  22. <plugin>
  23. <artifactId>maven-shade-plugin</artifactId>
  24. <version>3.2.1</version>
  25. <executions>
  26. <execution>
  27. <phase>package</phase>
  28. <goals>
  29. <goal>shade</goal>
  30. </goals>
  31. <configuration>
  32. <filters>
  33. <filter>
  34. <artifact>*:*</artifact>
  35. <excludes>
  36. <exclude>META-INF/*.SF</exclude>
  37. <exclude>META-INF/*.DSA</exclude>
  38. <exclude>META-INF/*.RSA</exclude>
  39. <exclude>org/slf4j/**</exclude>
  40. <exclude>META-INF/maven/org.slf4j/**</exclude>
  41. </excludes>
  42. </filter>
  43. </filters>
  44. <transformers>
  45. <transformer />
  46. </transformers>
  47. <relocations>
  48. <relocation>
  49. <pattern>com.google</pattern>
  50. <shadedPattern>shaded.com.google</shadedPattern>
  51. </relocation>
  52. <relocation>
  53. <pattern>io.grpc.internal</pattern>
  54. <shadedPattern>shaded.io.grpc.internal</shadedPattern>
  55. </relocation>
  56. <relocation>
  57. <pattern>org.apache.commons</pattern>
  58. <shadedPattern>shaded.org.apache.commons</shadedPattern>
  59. <excludes>
  60. <exclude>org.apache.hadoop</exclude>
  61. <exclude>org.apache.log4j</exclude>
  62. </excludes>
  63. </relocation>
  64. <relocation>
  65. <pattern>org.apache.http</pattern>
  66. <shadedPattern>shaded.org.apache.http</shadedPattern>
  67. </relocation>
  68. </relocations>
  69. </configuration>
  70. </execution>
  71. </executions>
  72. </plugin>
  73. <plugin>
  74. <artifactId>maven-gpg-plugin</artifactId>
  75. <version>1.5</version>
  76. <executions>
  77. <execution>
  78. <id>sign-artifacts</id>
  79. <phase>verify</phase>
  80. <goals>
  81. <goal>sign</goal>
  82. </goals>
  83. </execution>
  84. </executions>
  85. </plugin>
  86. <plugin>
  87. <groupId>org.sonatype.plugins</groupId>
  88. <artifactId>nexus-staging-maven-plugin</artifactId>
  89. <version>1.6.7</version>
  90. <extensions>true</extensions>
  91. <configuration>
  92. <serverId>ossrh</serverId>
  93. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  94. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  95. </configuration>
  96. </plugin>
  97. <plugin>
  98. <artifactId>maven-source-plugin</artifactId>
  99. <version>2.2.1</version>
  100. <executions>
  101. <execution>
  102. <id>attach-sources</id>
  103. <goals>
  104. <goal>jar-no-fork</goal>
  105. </goals>
  106. </execution>
  107. </executions>
  108. </plugin>
  109. <plugin>
  110. <artifactId>maven-javadoc-plugin</artifactId>
  111. <version>2.9.1</version>
  112. <executions>
  113. <execution>
  114. <id>attach-javadocs</id>
  115. <goals>
  116. <goal>jar</goal>
  117. </goals>
  118. </execution>
  119. </executions>
  120. </plugin>
  121. </plugins>
  122. </build>
  123. <distributionManagement>
  124. <snapshotRepository>
  125. <id>ossrh</id>
  126. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  127. </snapshotRepository>
  128. </distributionManagement>
  129. <properties>
  130. <seaweedfs.client.version>1.2.4</seaweedfs.client.version>
  131. <hadoop.version>2.9.2</hadoop.version>
  132. </properties>
  133. </project>