I have a project where all entities and corresonding JPA repositories are in a common project in order to share them. They are implemented as @Repository-annotated interface