I am trying JAXB for xml mapping in a Maven project. I put JAXB jar in a separated project and add it as a dependency to my main project. I am using Eclipse.
Now the functionality of JAXB seems fine and from some XSD schema several Java classes are generated in target/generated-sources/xjc folder. The problem is Eclipse cannot resolve those classes in unit testing in main project. I even manually import those package name but still the class names are not resolvable. Is there anything I am missing?