[
https://issues.apache.org/jira/browse/HADOOP-13689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15898512#comment-15898512
]
Andrew Wang commented on HADOOP-13689:
--------------------------------------
I ran "mvn package -Pdist -Dtar -DskipTests -Dmaven.javadoc.skip", extracted
the resulting tarball, and found this:
{noformat}
-> % find . -name "hadoop-common*.jar"
./hadoop-2.8.1-SNAPSHOT/share/hadoop/httpfs/tomcat/webapps/webhdfs/WEB-INF/lib/hadoop-common-2.8.1-SNAPSHOT.jar
./hadoop-2.8.1-SNAPSHOT/share/hadoop/kms/tomcat/webapps/kms/WEB-INF/lib/hadoop-common-2.8.1-SNAPSHOT.jar
./hadoop-2.8.1-SNAPSHOT/share/hadoop/common/hadoop-common-2.8.1-SNAPSHOT.jar
./hadoop-2.8.1-SNAPSHOT/share/hadoop/common/sources/hadoop-common-2.8.1-SNAPSHOT-test-sources.jar
./hadoop-2.8.1-SNAPSHOT/share/hadoop/common/sources/hadoop-common-2.8.1-SNAPSHOT-sources.jar
./hadoop-2.8.1-SNAPSHOT/share/hadoop/common/hadoop-common-2.8.1-SNAPSHOT-tests.jar
{noformat}
This looks right to me. We have the source jars even too.
Is there a JIRA with more details? Have you tried reverting this pom change
locally in bigtop to verify your error is caused by this change? There's a lot
that went into 2.8.0, chances are things have moved around.
> 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]