HHH-12095 - do not fork execution of hibernate-maven-plugin as it causes compilation to run twice
This commit is contained in:
parent
c490e94755
commit
ec211b9699
|
@ -48,7 +48,6 @@ import org.sonatype.plexus.build.incremental.BuildContext;
|
|||
* @author Luis Barreiro
|
||||
*/
|
||||
@Mojo(name = "enhance", defaultPhase = LifecyclePhase.COMPILE, requiresDependencyResolution = ResolutionScope.COMPILE_PLUS_RUNTIME)
|
||||
@Execute(goal = "enhance", phase = LifecyclePhase.COMPILE)
|
||||
public class MavenEnhancePlugin extends AbstractMojo {
|
||||
|
||||
/**
|
||||
|
|
|
@ -26,8 +26,6 @@
|
|||
<inheritedByDefault>true</inheritedByDefault>
|
||||
<requiresDependencyResolution>compile+runtime</requiresDependencyResolution>
|
||||
<phase>compile</phase>
|
||||
<executePhase>compile</executePhase>
|
||||
<executeGoal>enhance</executeGoal>
|
||||
<implementation>org.hibernate.orm.tooling.maven.MavenEnhancePlugin</implementation>
|
||||
<language>java</language>
|
||||
<instantiationStrategy>per-lookup</instantiationStrategy>
|
||||
|
|
Loading…
Reference in New Issue