[
https://issues.apache.org/jira/browse/HADOOP-13689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15969826#comment-15969826
]
eddie luo commented on HADOOP-13689:
------------------------------------
I think is expected behavior of maven since we removed
diff --git a/hadoop-project-dist/pom.xml b/hadoop-project-dist/pom.xml
+ <executions>
+ <execution>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>jar</goal>
+ <goal>test-jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <attach>true</attach>
+ </configuration>
+ </plugin>
+ <plugin>
then when we run -Pdist -Psrc will not put the hadoop-common and test jar into
./hadoop-2.8.1-SNAPSHOT/share/hadoop/common/
So we are good. Thanks!
> Do not attach javadoc and sources jars during non-dist build
> ------------------------------------------------------------
>
> Key: HADOOP-13689
> URL: https://issues.apache.org/jira/browse/HADOOP-13689
> Project: Hadoop Common
> Issue Type: Improvement
> Affects Versions: 2.8.0
> Reporter: Andrew Wang
> Assignee: Andrew Wang
> Fix For: 2.8.0, 3.0.0-alpha2
>
> Attachments: HADOOP-13689.001.patch
>
>
> Looking at maven output when running with "-Pdist", the source plugin
> "test-jar" and "jar" goals are invoked twice. This is because it's turned on
> by both the dist profile and on by default.
> Outside of the release context, it's not that important to have javadoc and
> source JARs, so I think we can turn it off by default.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]