Build against a library but not include it in the jar
I'm converting an existing codebase to build via Maven. I set up my dependencies properly, but Maven is actually including all of the compiled dependency files in the resulting jar. I want to be able to choose which dependencies are included and which are merely linked against but not included. How do I do this?
You want to look at this link and read up on "dependency scopes"