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

[MNG-7097] Plugin Dependency Resolution improvement #1125

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cstamas
Copy link
Member

@cstamas cstamas commented May 24, 2023

Take two, on master.

Idea: maven plugin dependency resolution could do it smarter: augment it with:

  • depMgmt (apply core)
  • direct dependencies rewritten (if needed)
  • global exclusions applied

These two results, that for example there is only one maven-core version resolved (downloaded POM and JAR), not 10s or 20s versions.

CMD: mvn clean install -Dmaven.repo.local=local -Drat.skip (and always emptying local repo naturally)

w/ master:
Size: 143MB
Files: 4604

w/ master + this PR:
Size: 121MB
Files: 3725

This PR is experimental, and contains limited set of "constituent artifacts".


https://issues.apache.org/jira/browse/MNG-7097

@cstamas cstamas self-assigned this May 24, 2023
Take two, on master.

Idea: maven plugin dependency resolution could do it smarter: augment it with:
* depMgmt (apply core)
* direct dependencies rewritten (if needed)

These two results, that for example there is only one maven-core version
resolved (downloaded POM and JAR), not 10s or 20s versions.

CMD: `mvn clean install -Dmaven.repo.local=local -Drat.skip` (and always emptying local repo naturally)

w/ master:
Size: 143MB
Files: 4604

w/ master + this PR:
Size: 131MB
Files: 3995

This PR is experimental, and contains limited set of "constituent artifacts".

---

https://issues.apache.org/jira/browse/MNG-7097
@cstamas cstamas changed the title [MNG-097] Plugin Dependency Resolution improvement [MNG-7097] Plugin Dependency Resolution improvement Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant