Uploaded image for project: 'Hibernate ORM'
  1. Hibernate ORM
  2. HHH-11288

Execution project artifacts are always empty, so dependencies are never included

    Details

      Description

      mavenProject.getExecutionProject().getArtifacts()
      

      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 HHH-10145 Closed work as intended:
      https://github.com/hibernate/hibernate-orm/pull/1657

        Attachments

          Issue links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: