Browse Source

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

Wei-Chiu Chuang 4 years ago
parent
commit
2c4ab72a60
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>