dormog-inc / package-zipper

download java package with or with out its transitive dependencies
8 stars 0 forks source link

Package Zipper

A simple online packages dwnloader. package-zipper is a java project for downloading and streaming java packages and there dependencies as zip files from maven repository. this project depends on zipstreamer for streaming all the package dependencies into a zip file. Demo here.

Highlights include:

Why

This project has been started from a need of downloading java jar files online. The thing is that as for today, there is no way of installing java packages transitively. From the maven repository it is only possible to download standalone jar files or poms, but there's no way of installing a package with its transitive dependencies. Another website, named download jar enables to download a zip of transitive jars by a specific artifact name, but it doesn't install pom, and its jars are flat in a single zip file, while we needed it in a maven .m2 like hierarchy (the same way Artifactory / Nexus usually consumes dependencies). We have decided to write a simple java project that solve this problem.

Deploy

First go to here, give this project a star and follow the deployment instructions on heroku. after the deployment take the app url and use it as the ZIP_STREAMER env variable.

Deploy

Config

These ENV vars can be used to config the server: