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

Support for pom file parsing for maven repos with username/password #286

Open
renypaul opened this issue Jan 22, 2024 · 0 comments
Open

Comments

@renypaul
Copy link

renypaul commented Jan 22, 2024

Currently maven repos with credentials doesn't seems to be supported for fetching the packages. Adding the support will be useful for private repositories like which has credentials set
Error when using repo with password

2024-01-22T21:46:39.200+0530    DEBUG   parent POM not found: 2 errors occurred:
        * 'parent.relativePath' points at wrong local POM
        * com.test:sdk-parent:1.0.34 was not found in local/remote repositories
renypaul added a commit to renypaul/go-dep-parser that referenced this issue Jan 31, 2024
  Issue: aquasecurity#286
  ## Description
  This change allows packages to be fetched from repository other than https://repo.maven.apache.org/maven2/
  - Get username and password from settings file for the corresponding server ID mentioned in the pom file
  - Added support for authentication if username and password mentioned while fetching the package
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

No branches or pull requests

1 participant