Browse Source

HADOOP-16822. Provide source artifacts for hadoop-client-api. Contributed by Karel Kolman.

(cherry picked from commit 2c4ab72a60113e4dd4ef2375e6f9413e519b1044)
Wei-Chiu Chuang 4 years ago
parent
commit
1b8eb2654a
1 changed files with 4 additions and 0 deletions
  1. 4 0
      hadoop-client-modules/hadoop-client-api/pom.xml

+ 4 - 0
hadoop-client-modules/hadoop-client-api/pom.xml

@@ -87,6 +87,10 @@
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-shade-plugin</artifactId>
+            <configuration>
+              <createSourcesJar>true</createSourcesJar>
+              <shadeSourcesContent>true</shadeSourcesContent>
+            </configuration>
             <dependencies>
               <dependency>
                 <groupId>org.apache.hadoop</groupId>