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: fix maven exhortignore #43

Merged
merged 3 commits into from
Sep 10, 2023
Merged

fix: fix maven exhortignore #43

merged 3 commits into from
Sep 10, 2023

Conversation

zvigrinberg
Copy link
Collaborator

@zvigrinberg zvigrinberg commented Sep 10, 2023

Description

  • fix: Fix bug of artifacts being commented with exhortignore comment in pom.xml are included in sbom generation and thus also in reports , happens both in stack analysis and component analysis for maven.

  • feat: add mechanism to determine exhort backend URL address based on EXHORT_DEV_MODE Property/Environment Variable , by default it'll be prod exhort URL.

Checklist

  • I have followed this repository's contributing guidelines.
  • I will adhere to the project's code of conduct.

Additional information

For stack analysis, it seems that mvn:dependency internal parameter excludes (passed as -Dexcludes=[list_of_deps] ) is not working at all in various cases, althgouh the command is built correctly, hence drop the usage of this non working feature and hanlded it differently in this Change.

zvigrinberg and others added 3 commits September 8, 2023 15:55
Signed-off-by: Zvi Grinberg <zgrinber@redhat.com>
…ts - part 2

Signed-off-by: exhort-java-api-tester <tester@exhort-java-api.com>
…EXHORT_DEV_MODE Property/Environment Variabe

Signed-off-by: exhort-java-api-tester <tester@exhort-java-api.com>
@zvigrinberg zvigrinberg changed the title fix: Fix maven exhortignore fix: fix maven exhortignore Sep 10, 2023
@github-actions
Copy link

Test Results

40 tests   40 ✔️  1m 11s ⏱️
  1 suites    0 💤
  1 files      0

Results for commit 093ec78.

@zvigrinberg zvigrinberg merged commit afd9786 into main Sep 10, 2023
4 of 6 checks passed
@zvigrinberg zvigrinberg deleted the fix-maven-exhortignore branch September 10, 2023 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant