Border
Author: Bruce Grant, Jr. (BX)
Published: February 24, 2010
Building a Jar and Including Classes from Dependencies using Maven
I finally figured out how to build a jar file using Maven that will include the class files from dependent jars in the resulting jar I build.

There's a Maven plugin named shade that will include all the classes from all dependent jar files by default.

Here's my pom.xml file that makes it happen.

Tags
   
Comments
Be the first to add a comment.
Add a Comment
User:
Anonymous (Login or Create Account or Help)
Border