Skip to content

Commit

Permalink
Don't run process-aot or process-test-aot on reactor projects
Browse files Browse the repository at this point in the history
  • Loading branch information
ls-urs-keller authored and wilkinsona committed Jul 21, 2023
1 parent 6a2a3e2 commit 0308de1
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -97,6 +97,10 @@ public abstract class AbstractAotMojo extends AbstractDependencyFilterMojo {

@Override
public void execute() throws MojoExecutionException, MojoFailureException {
if (this.project.getPackaging().equals("pom")) {
getLog().debug("process-*aot goals could not be applied to pom project.");
return;
}
if (this.skip) {
getLog().debug("Skipping AOT execution as per configuration");
return;
Expand Down

0 comments on commit 0308de1

Please sign in to comment.