Hello,

first of all, I have to explain the project structure.

*XxxEar*: Eclipse Ear Project
Contains all JARs
No Maven build.
Contains a Jar of the XxxCommon Project

*XxxEjb*: Eclipse Ejb Project
Contains the Ejbs. Gets the dependencies from the EAR Libraries.
Maven dependencies for compile time.
Uses the EAR Dependecy of the XxxCommon Project.

*XxxCommon*: Eclipse Java Project
Contains some utility classes.
Maven dependencies.

*XxxTest*: Eclipse Java Project
Contains test classes.
Maven dependencies to XxxCommon and XxxEjb for remote testing. M2Eclipse
resolves both projects as project dependencies

The problem I have is that the XxxTest Projects gets the classes from the
XxxCommon project not directly from project? The classes from the Jar in the
XxxEar Project are being used.

Does anybody know why the behavior is like I described? How can I change it?

Thanks for your help!
Thomas

Reply via email to