I have 3 sub-projects, the structure is like this:MyProject-all
-----common
----------client
----------server

the client and server depend on the common project, the src/main/java depend
on common is Good. but when I have some base test class in the
common-project. when I try to extend it in the client-project, the mvn pops
compile exception but it's good in the eclipse project.
I think the maven project dependence just exclude the test-class,

I know I can make a common-test-project which depends on all the other
project to solve this problem, but that not good to be. Is there other
resolutions? please tell me.

Reply via email to