HHH-12095 - do not fork execution of hibernate-maven-plugin as it causes compilation to run twice

This commit is contained in:
barreiro 2017-11-17 14:54:48 +00:00 committed by Steve Ebersole
parent c490e94755
commit ec211b9699
2 changed files with 0 additions and 3 deletions

View File

@ -48,7 +48,6 @@ import org.sonatype.plexus.build.incremental.BuildContext;
* @author Luis Barreiro * @author Luis Barreiro
*/ */
@Mojo(name = "enhance", defaultPhase = LifecyclePhase.COMPILE, requiresDependencyResolution = ResolutionScope.COMPILE_PLUS_RUNTIME) @Mojo(name = "enhance", defaultPhase = LifecyclePhase.COMPILE, requiresDependencyResolution = ResolutionScope.COMPILE_PLUS_RUNTIME)
@Execute(goal = "enhance", phase = LifecyclePhase.COMPILE)
public class MavenEnhancePlugin extends AbstractMojo { public class MavenEnhancePlugin extends AbstractMojo {
/** /**

View File

@ -26,8 +26,6 @@
<inheritedByDefault>true</inheritedByDefault> <inheritedByDefault>true</inheritedByDefault>
<requiresDependencyResolution>compile+runtime</requiresDependencyResolution> <requiresDependencyResolution>compile+runtime</requiresDependencyResolution>
<phase>compile</phase> <phase>compile</phase>
<executePhase>compile</executePhase>
<executeGoal>enhance</executeGoal>
<implementation>org.hibernate.orm.tooling.maven.MavenEnhancePlugin</implementation> <implementation>org.hibernate.orm.tooling.maven.MavenEnhancePlugin</implementation>
<language>java</language> <language>java</language>
<instantiationStrategy>per-lookup</instantiationStrategy> <instantiationStrategy>per-lookup</instantiationStrategy>