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

963: replace hardcoded dependency for mvn #996

Open
wants to merge 19 commits into
base: main
Choose a base branch
from

Conversation

yurii-yu
Copy link
Contributor

@yurii-yu yurii-yu commented Jan 30, 2025

fixes #963

replace hardcoded dependency with pre-configured dependencies.json

  • add dependencies.json in ide_urls (in another repository)
  • change unit test to make sure the configured dependencies in dependencies.json are correctly loaded and parsed
  • remove hardcoded installation of dependencies

@yurii-yu yurii-yu requested a review from hohwille January 30, 2025 07:33
@yurii-yu yurii-yu requested review from jan-vcapgemini and removed request for hohwille January 30, 2025 07:33
@yurii-yu yurii-yu added enhancement New feature or request configuration should be configurable or configuration change labels Jan 30, 2025
Copy link
Contributor

@jan-vcapgemini jan-vcapgemini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yurii-yu thanks for implementing the dependencies.json for Maven. I've added some CRs please check.

@hohwille hohwille changed the title 963: replace hardcoded dependency 963: replace hardcoded dependency for mvn Jan 30, 2025
@coveralls
Copy link
Collaborator

coveralls commented Jan 31, 2025

Pull Request Test Coverage Report for Build 13081302052

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 33 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+0.009%) to 68.388%

Files with Coverage Reduction New Missed Lines %
com/devonfw/tools/ide/tool/mvn/Mvn.java 33 65.38%
Totals Coverage Status
Change from base Build 13072995567: 0.009%
Covered Lines: 7390
Relevant Lines: 10388

💛 - Coveralls

@yurii-yu
Copy link
Contributor Author

@yurii-yu thanks for implementing the dependencies.json for Maven. I've added some CRs please check.

I tried with your changes but unfortunately it does not work, because the actual version of maven we are using is 3.9.6. If we remove the configuration part of maven 3.0 to 4.0 from the dependencies.json, then the dependency configuration is missing

@yurii-yu yurii-yu closed this Jan 31, 2025
@yurii-yu yurii-yu reopened this Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
configuration should be configurable or configuration change enhancement New feature or request
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

Introduce dependencies.json for mvn and remove hardcoded dependency
4 participants