According to EJB3 SPECIFICATION !!!!!. entity beans are stored in par-files, unfortunatelly par files (types) do not apperar in maven.dependency.classpath.
My personal recomendation is to create variable containing a set of types that are added to the maven.dependency.classpath or remove all calls of method Dependency. isAddedToClasspath().
I think that the world of extensions of "jar" archives is dynamic and that this kind of restriction is CONTRAPRODUCTIVE!
Please please could you at least add this one type we (developers) need.
-------------------------------------------------------------------------------------------------
Thanks
best regards
J.Burian
p.s. sorry for strong language 
A similar problem I had recently: why are dependencies of type plugin not added to the classpath?