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

Fix mapping of dependencies described as key/value maps to the source #4918

Merged
merged 2 commits into from
Nov 8, 2022

Conversation

sdedic
Copy link
Member

@sdedic sdedic commented Nov 4, 2022

The implementation of DependencyResult.getDeclarationRange failed to find a dependency that was specified using a map, e.g.

implementation group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.17.0'

parser was ok, but matching ignored such dependency text. Relevant tests for various dependency entry syntaxes were added.

Additional: a subtle bug in Oracle Cloud Vulnerability Audit feature was found that resulted in NPE in some cases, so a cached audit might not appear.

@MartinBalin might be also included in NB16, if it is not too late. Please decide, I'll eventually rebase.

@sdedic sdedic added Gradle [ci] enable "build tools" tests VSCode Extension [ci] enable VSCode Extension tests enterprise [ci] enable enterprise job labels Nov 4, 2022
@sdedic sdedic added this to the NB17 milestone Nov 4, 2022
@sdedic sdedic self-assigned this Nov 4, 2022
@MartinBalin
Copy link
Contributor

I will not add it to NB 16 at this moment as such syntax is rarely used. Can wait.

@sdedic sdedic merged commit b8900c1 into apache:master Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enterprise [ci] enable enterprise job Gradle [ci] enable "build tools" tests VSCode Extension [ci] enable VSCode Extension tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants