Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Release build with mvn option -P source-javadoc FAILED #4631

Closed
NvTimLiu opened this issue Jan 26, 2022 · 0 comments · Fixed by #4529
Closed

[BUG] Release build with mvn option -P source-javadoc FAILED #4631

NvTimLiu opened this issue Jan 26, 2022 · 0 comments · Fixed by #4529
Assignees
Labels
bug Something isn't working

Comments

@NvTimLiu
Copy link
Collaborator

NvTimLiu commented Jan 26, 2022

Describe the bug
When running release build, we need to build javadoc.jar and source.jar with mvn option -P source-javadoc (the only diff from the nightly build) , but build FAILED in this line https://github.com/NVIDIA/spark-rapids/blob/branch-22.02/jenkins/spark-nightly-build.sh#L30, error output as below:

[ERROR] [ERROR] Could not find the selected project in the reactor: dist @
[ERROR] Could not find the selected project in the reactor: dist -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MavenExecutionException

Quick repro

cd spark-rapids
mvn help:evaluate -q -pl dist  -P mirror-apache-to-urm,source-javadoc  -Dcuda.version=cuda11 -DforceStdout -Dexpression=project.artifactId
 mvn clean package -pl dist  -P mirror-apache-to-urm,source-javadoc  -Dcuda.version=cuda11 -DforceStdout -Dexpression=project.artifactId

Note:

Build PASS when we remove -P source-javadoc

Build PASS if we revert root pom.xml changed in the PR : https://github.com/NVIDIA/spark-rapids/pull/4529/files#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8

@NvTimLiu NvTimLiu added bug Something isn't working ? - Needs Triage Need team to review and classify labels Jan 26, 2022
@NvTimLiu NvTimLiu linked a pull request Jan 26, 2022 that will close this issue
GaryShen2008 added a commit to GaryShen2008/spark-rapids that referenced this issue Jan 27, 2022
Fix NVIDIA#4631

Signed-off-by: Gary Shen <gashen@nvidia.com>
@nvauto nvauto closed this as completed in cfe79a8 Jan 28, 2022
@sameerz sameerz removed the ? - Needs Triage Need team to review and classify label Jan 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants