I'm deploying a web application to a service which requires me to package some of the classes to a Jar file.
So in example having the following source tree:
com.enterprise
|------ package1
|------ package2
|------ package3
How can I create a jar including only classes from package1 and package3 but not package2?