Home Dependency on package inside the other package (Maven)
 I have a project with two packages inside each other (packageI and packageO). PackageI is defined inside the packageO. like this packageO |________classA |________packageI |___________classB  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. Any help?