[ https://issues.apache.org/jira/browse/MAPREDUCE-7386?focusedWorklogId=779224&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-779224 ]
ASF GitHub Bot logged work on MAPREDUCE-7386: --------------------------------------------- Author: ASF GitHub Bot Created on: 07/Jun/22 19:35 Start Date: 07/Jun/22 19:35 Worklog Time Spent: 10m Work Description: snmvaughan opened a new pull request, #4415: URL: https://github.com/apache/hadoop/pull/4415 <!-- Thanks for sending a pull request! 1. If this is your first time, please read our contributor guidelines: https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute 2. Make sure your PR title starts with JIRA issue id, e.g., 'HADOOP-17799. Your PR title ...'. --> ### Description of PR Parallel builds fail because the assembly plugin does not understand the required dependencies. ### How was this patch tested? This patch has been applied to a local build that runs in the Hadoop development environment, and is used to build a distribution. The same changes have been applied to trunk, branch-3.3, and branch-3.3.3. ### For code changes: - [X] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')? - [ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation? - [ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under [ASF 2.0](http://www.apache.org/legal/resolved.html#category-a)? - [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`, `NOTICE-binary` files? Issue Time Tracking ------------------- Worklog Id: (was: 779224) Remaining Estimate: 0h Time Spent: 10m > 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.4 > Environment: The problem occurred while using the Hadoop development > environment (Ubuntu) > Reporter: Steve Vaughan > Priority: Critical > Time Spent: 10m > 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.7#820007) --------------------------------------------------------------------- To unsubscribe, e-mail: mapreduce-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: mapreduce-issues-h...@hadoop.apache.org