I have a project with two packages inside each other (packageI and packageO). PackageI is defined inside the packageO. like this
how should I set the dependencies in Maven.
Also I have another question. classA doesn't like the dependencies of classB. So, I have to set the maven in a way that, dependencies of classB can not be seen by classA.