Recently I have been developing an aplication which uses Google Prediction API. It contains 3 modules:
All modules are configured with Maven with parent project on top. Parent project holds all common dependencies. Both webapp and data parser utilize JDO to access DB. Now I have two the same jdoconfig.xml files in webapp and parser module.
I tried to put it in src/main/resources of common module but it gave me NucleusUserException: No "persistence.xml" file was found in the CLASSPATH.
Is it possible to move it to common module and use it everywhere in whole project?
Yes, it is possible, and easy. In all likelihood, you want to move those common files to your "common components" project, or possibly to a new project. So long as
you should be able to use those files without a problem.