I have a project in Netbeans which is dependant on an external jar (added reference to external jar within netbeans). This external jar is appearing in the manifest file and when I deploy my built jar I have to also deploy the external jar with it. Is there a way I can compile project so it extracts what I need from the external jar (classes) and builds it into my jar so I only have to deploy a single jar file?