I couldn't find any documentation for what an execution project is supposed to be. Based on what I can glean from https://issues.apache.org/jira/browse/MNG-3941, it sounds like it's not appropriate in this use case.
, I don't see any harm in making the change you've suggested, but I also don't think it's necessary. I see you were using 5.2.5 - can you please try again using 5.2.6-SNAPSHOT? The changes made in (included in 5.2.6-SNAPSHOT) impact this issue as well.
always returns an empty array. The logic at:
https://github.com/hibernate/hibernate-orm/blob/5.2.5/tooling/hibernate-enhance-maven-plugin/src/main/java/org/hibernate/orm/tooling/maven/MavenEnhancePlugin.java#L170
appears to be incorrect (at least, it is in my testing - I'm using maven 3.3.9).
I couldn't find any documentation for what an execution project is supposed to be. Based on what I can glean from https://issues.apache.org/jira/browse/MNG-3941, it sounds like it's not appropriate in this use case.
Therefore, I'm attaching a PR that remove the use of executionProject and makes work as intended:
https://github.com/hibernate/hibernate-orm/pull/1657