HubSpot / SlimFast

Slimming down jars since 2016

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SlimFast (unrelated to the delicious beverage)

Overview

SlimFast is a tool for Java apps to help them stop building fat jars for deployment (massive jars containing all of the app's dependencies). Building fat jars is slow and adds a lot of complexity (subtle or not so subtle bugs can occur when jars being merged have duplicate files for example).

The first part is the maven plugin, which can be used in place of the maven-assembly-plugin or maven-shade-plugin (which are often used to build fat jars). The other part is a helper library for hadoop to write each job's dependencies to hdfs and add them to the job's classpath.

Usage

See here for usage instructions for the maven plugin or here for the hadoop library.

About

Slimming down jars since 2016

License:Apache License 2.0


Languages

Language:Java 100.0%