I have a structure more or less like this:

```
-- ProjectA
+-- ProjectA Persistence
+-- ProjectA EJBs
+- ProjectB
+-- lots of ProjectB children...

```

Supposing that in `ProjectB` I want to write some tests. So, I setup OpenEJB for this job, and it was working, but then I needed some EJBs from `ProjectA EJBs`.

As OpenEJB was not loading the EJBs from `ProjectA`(even if it is a dependency of `ProjectB`), I add the `ProjectA EJBS` as a dependency for `ProjectB` in `test` scope.

As `ProjectA EJBs` dependent on `ProjectA Persistence`, looks like Hibernate tries to load it... but it does some weird things. 

Hibernate `FileZippedJarVisitor` tries to extract something like: `~/.m2/repository/com/example/projecta/1.0.0/projecta-ejbs-1.0.0.jar/project-persistence-1.0.0.jar` instead of `~/.m2/repository/com/example/projecta/1.0.0/projecta-persistence-1.0.0.jar`.

What can I do about that?
Sorry if my explanation was not good enough, please ask me more info if you need.