[ 
https://issues.apache.org/jira/browse/MAPREDUCE-7386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17576680#comment-17576680
 ] 

ASF GitHub Bot commented on MAPREDUCE-7386:
-------------------------------------------

ndimiduk commented on PR #4415:
URL: https://github.com/apache/hadoop/pull/4415#issuecomment-1207931102

   > I was just worried like why are we adding dependecies for the build sake, 
maven should take care right?
   > @saintstack if you are convinced nothing blocking from my side, Please go 
ahead
   
   Pardon @ayushtkn are you satisfied with the above justification? Do you have 
further changes you'd like to see or are you satisfied? If the latter, mind 
updating your vote accordingly?
   
   I agree that ideally there's an automated audit that correctly resolves and 
hardens the dependency graph. I've tried using various features of the 
dependency plugin for this in the past, but found it too unreliably to use for 
static build-time checking.




> Maven parallel builds (skipping tests) fail
> -------------------------------------------
>
>                 Key: MAPREDUCE-7386
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7386
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 3.4.0, 3.3.9
>         Environment: The problem occurred while using the Hadoop development 
> environment (Ubuntu)
>            Reporter: Steve Vaughan
>            Priority: Critical
>              Labels: pull-request-available
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> Running a parallel build fails during assembly with the following error when 
> running either package or install:
> {code:java}
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal org.apache.maven.plugins:maven-assembly-plugin:2.4:single 
> (package-mapreduce) on project hadoop-mapreduce: Failed to create assembly: 
> Artifact: org.apache.hadoop:hadoop-mapreduce-client-core:jar:3.4.0-SNAPSHOT 
> (included by module) does not have an artifact with a file. Please ensure the 
> package phase is run before the assembly is generated. {code}
> {code:java}
> Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to create 
> assembly: Artifact: 
> org.apache.hadoop:hadoop-mapreduce-client-core:jar:3.4.0-SNAPSHOT (included 
> by module) does not have an artifact with a file. Please ensure the package 
> phase is run before the assembly is generated.  {code}
> The command executed was:
> {code:java}
> $ mvn -nsu clean install -Pdist,native -DskipTests -Dtar 
> -Dmaven.javadoc.skip=true -T 2C {code}
> Adding dependencies to the assembly plugin configuration addresses the issue 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-h...@hadoop.apache.org

Reply via email to