The following command must be used to generate the Java classes:
After the plugin execution you should find the generated Java classes in the folder you specified through the configuration property targetPath.
Currently it isn't possible to automatically use the folder of the generated classes as source folder. We have an open issue regarding that and will probably add this feature later on.
Add the folder manually as source-folder within your IDE.
Generate classes directly into the regular source folder by defining
src/main/java as targetPath.
Note: with this solution you will probably end up having the generated files committed to the repo
Add the resources using the build-helper-maven-plugin: