If I add
<dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-jpamodelgen</artifactId> <version>5.2.10.Final</version> <scope>provided</scope> </dependency>
alone no classes are generated. I have to add
<dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-core</artifactId> <version>5.2.10.Final</version> <scope>provided</scope> </dependency>
also. Could hibernate-jpamodelgen be set up so it brings in the dependencies it needs?