hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rake...@apache.org
Subject [30/50] [abbrv] hadoop git commit: HADOOP-8500. Fix javadoc jars to not contain entire target directory.
Date Wed, 02 Nov 2016 17:39:09 GMT
HADOOP-8500. Fix javadoc jars to not contain entire target directory.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/7ba74bef
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/7ba74bef
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/7ba74bef

Branch: refs/heads/HDFS-10285
Commit: 7ba74befcff2f1836c2d5123d64e92a3c7a8898c
Parents: 733aa99
Author: Andrew Wang <wang@apache.org>
Authored: Mon Oct 31 16:37:25 2016 -0700
Committer: Andrew Wang <wang@apache.org>
Committed: Mon Oct 31 16:37:25 2016 -0700

----------------------------------------------------------------------
 hadoop-dist/pom.xml    | 45 +++++++++++++++++++++++++++++++++++++++++++++
 hadoop-project/pom.xml |  3 ---
 2 files changed, 45 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/7ba74bef/hadoop-dist/pom.xml
----------------------------------------------------------------------
diff --git a/hadoop-dist/pom.xml b/hadoop-dist/pom.xml
index 4a7feaa..ad30db9 100644
--- a/hadoop-dist/pom.xml
+++ b/hadoop-dist/pom.xml
@@ -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>
 

http://git-wip-us.apache.org/repos/asf/hadoop/blob/7ba74bef/hadoop-project/pom.xml
----------------------------------------------------------------------
diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml
index 7e3b1cc..ca567c5 100644
--- a/hadoop-project/pom.xml
+++ b/hadoop-project/pom.xml
@@ -1568,9 +1568,6 @@
                 <goals>
                   <goal>jar</goal>
                 </goals>
-                <configuration>
-                  <destDir>${project.build.directory}</destDir>
-                </configuration>
               </execution>
             </executions>
           </plugin>


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message