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"

Need Your Help

Login Script Not Executing - Bluehost

php mysql security login bluehost

I have the following log in script that is run when a user hits the submit button on the login form on I have removed the DB login info for security reasons.

Node.js / Javascript - Wait until method is finished

javascript node.js for-loop methods wait

I'm writing a steam trade bot but I have the problem that the for-loop doesn't wait until the method which is inside the for-loop is finished. So the code doesn't work as it should.