Download libraries from maven repository
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 126
- Forks
- 63
- Avg merge
- 2m
- Merged PRs (30d)
- 1
Description
I download many versions of paper, every few days. Each time this server jar is ~35mb. Most of this is libraries, which do not change frequently. Without libraries bundled, jar will only be ~16mb.
Because Mojang vanilla server is already downloaded, this gets me to think... why not download libraries from maven as well? This can be done with maven resolver, or the more simple jboss shrinkwrap resolver.
This will only need to redownload libraries on change, not every time.
Multiply the 19mb saving this will cause by every user and you have so many tb saved on the end of PaperMC.
I can make pr for this if desired, it is feature I want. I'd like feedback first before taking time to do this.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing Paperclip's server-jar packaging and library-download flow, then compare Maven Resolver with JBoss ShrinkWrap Resolver. The work is done when libraries are fetched from Maven and reused across downloads, while the server jar no longer bundles unchanged libraries and remains functional.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100