Skip to content
This repository was archived by the owner on Jun 23, 2022. It is now read-only.

Commit 0e8c4aa

Browse files
committed
Merge pull request apache#4 from hortonworks/hadoop_vijayk_BUG-39629
BUG-39626 Publish source jar for all the HDP stack components.
2 parents c4081c4 + 043013b commit 0e8c4aa

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

pom.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs
102102
<wagon-ssh.version>1.0</wagon-ssh.version>
103103
<maven-clover2-plugin.version>3.3.0</maven-clover2-plugin.version>
104104
<maven-bundle-plugin.version>2.5.0</maven-bundle-plugin.version>
105+
<maven-source-plugin.version>2.4</maven-source-plugin.version>
105106
</properties>
106107

107108
<modules>
@@ -184,6 +185,11 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs
184185
<artifactId>maven-bundle-plugin</artifactId>
185186
<version>${maven-bundle-plugin.version}</version>
186187
</plugin>
188+
<plugin>
189+
<groupId>org.apache.maven.plugins</groupId>
190+
<artifactId>maven-source-plugin</artifactId>
191+
<version>${maven-source-plugin.version}</version>
192+
</plugin>
187193
</plugins>
188194
</pluginManagement>
189195

@@ -249,6 +255,20 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs
249255
<inherited>true</inherited>
250256
<extensions>true</extensions>
251257
</plugin>
258+
<plugin>
259+
<groupId>org.apache.maven.plugins</groupId>
260+
<artifactId>maven-source-plugin</artifactId>
261+
<executions>
262+
<execution>
263+
<id>attach-sources</id>
264+
<phase>verify</phase>
265+
<goals>
266+
<goal>jar-no-fork</goal>
267+
<goal>test-jar-no-fork</goal>
268+
</goals>
269+
</execution>
270+
</executions>
271+
</plugin>
252272
</plugins>
253273
</build>
254274

0 commit comments

Comments
 (0)