HIVE-28328:Hive Compilation Failed Due to License-Maven-Plugin URL Mismatch Error
What changes were proposed in this pull request?
HIVE-28328 as per the above jira, hive compilation is failing on both master and branch-4.0 with the mentioned failures. This PR handles the failures.
Why are the changes needed?
HIve compilation is failing with branch-4.0 and master master too.
Does this PR introduce any user-facing change?
No
Is the change a dependency upgrade?
No
How was this patch tested?
compiled with the patch, it went well.
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
No data about Duplication
@basapuram-kumar, this is not failing for me, I tried with the same command present in the JIRA. Attaching the screenshot
I have seen license related error in my org artifactory but not in opensource.
Hello @Aggarwal-Raghav,
Thank you for looking into this issue. The compilation error I'm encountering is related to the 'APACHE-2.0' license keys. This error occurs consistently across different machines I've tried.
The solution I provided addresses the issue by adding the Apache-2.0 license file URLs in the pom.xml. This change appears to resolve the problem. I don't see any failures related to our organization's Artifactory.
@basapuram-kumar, I can't repro it either
not sure what you are doing here. if master build was broken all PRs build would be failing. Not sure about the Profiles you are putting in, half of them don't exist in hive.
try a simple
mvn clean install -DskipTests -Pdist
and see if it work, if it does, then there ain't any problem, I doubt the use of -pl :hive-packaging in your command as well, try without that
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Feel free to reach out on the [email protected] list if the patch is in need of reviews.