Public class outside a jar file containing multiple packages
===

So, I have a Java project containing several packages (like com.myapp.a , com.myapp.b, com.myapp.c) for better readability and I want to build a jar to use as a library in another project.
But I want to expose just some classes and interfaces from this jar, the problem is that if I don't declare these classes Public the can't be seen inside the jar file between the packages (for example I have a class A in com.myapp.a package that is used in com.myapp.b package)
So how can I expose just what I want outside of the jar when I have multiple packages defined inside ?
