hive icon indicating copy to clipboard operation
hive copied to clipboard

HIVE-28328:Hive Compilation Failed Due to License-Maven-Plugin URL Mismatch Error

Open basapuram-kumar opened this issue 1 year ago • 5 comments

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.

basapuram-kumar avatar Jun 14 '24 07:06 basapuram-kumar

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

sonarqubecloud[bot] avatar Jun 17 '24 07:06 sonarqubecloud[bot]

@basapuram-kumar, this is not failing for me, I tried with the same command present in the JIRA. Attaching the screenshot Screenshot 2024-06-17 at 8 54 03 PM

I have seen license related error in my org artifactory but not in opensource.

Aggarwal-Raghav avatar Jun 17 '24 15:06 Aggarwal-Raghav

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 avatar Jun 18 '24 04:06 basapuram-kumar

@basapuram-kumar, I can't repro it either

deniskuzZ avatar Jul 19 '24 09:07 deniskuzZ

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

ayushtkn avatar Jul 21 '24 19:07 ayushtkn

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.

github-actions[bot] avatar Sep 20 '24 00:09 github-actions[bot]