hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andras Bokor (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7793) mvn clean package -Dsrc does not work
Date Wed, 12 Jul 2017 21:12:00 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-7793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16084690#comment-16084690

Andras Bokor commented on HADOOP-7793:

src is a profile, not a property. "-Psrc" is the correct call.

> mvn clean package -Dsrc does not work
> -------------------------------------
>                 Key: HADOOP-7793
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7793
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.23.0
>            Reporter: Bruno Mahé
>              Labels: bigtop
> "mvn clean package -Dsrc" is supposed to create a source tarball in hadoop-dist/target/
but some interactions with the clean target will prevent this to happen.
> The following would happen:
> * -Dsrc makes maven create a source tarball in hadoop-dist/target/ for the root module
as well as each submodule
> 1. The root module would first create a source tarball correctly in hadoop-dist/target/
> 2. Each submodule will also create a source tarball for their module in <MODULE>/hadoop-dist/target/.
But not before executing the clean target and therefore deleting the main source tarball created
at 1.

This message was sent by Atlassian JIRA

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

View raw message