HADOOP-8500. Fix javadoc jars to not contain entire target directory.

This commit is contained in:
Andrew Wang 2016-10-31 16:37:25 -07:00
parent 733aa99313
commit 7ba74befcf
2 changed files with 45 additions and 3 deletions

View File

@ -68,6 +68,51 @@
<configuration>
</configuration>
</plugin>
<!--
The "dist" profile automatically attaches many artifacts
to the module.
Disable these, since we are only concerned with assembling
the dist layout.
-->
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<id>default-jar</id>
<phase>never</phase>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>hadoop-java-sources</id>
<phase>never</phase>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>module-javadocs</id>
<phase>never</phase>
</execution>
</executions>
</plugin>
<!-- Disable install plugin too, since we disabled all the artifacts -->
<plugin>
<artifactId>maven-install-plugin</artifactId>
<executions>
<execution>
<id>default-install</id>
<phase>never</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>

View File

@ -1568,9 +1568,6 @@
<goals>
<goal>jar</goal>
</goals>
<configuration>
<destDir>${project.build.directory}</destDir>
</configuration>
</execution>
</executions>
</plugin>