From eb5f9da285f87db2526946b5fc8c10195e1cde43 Mon Sep 17 00:00:00 2001 From: Christian Beikov Date: Mon, 16 Oct 2023 12:51:52 +0200 Subject: [PATCH] HHH-17323 Add annotation processor for tests explicitly --- .../hibernate/jpamodelgen/test/util/CompilationStatement.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/util/CompilationStatement.java b/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/util/CompilationStatement.java index 6acc644b20..38b0147c05 100644 --- a/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/util/CompilationStatement.java +++ b/tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/util/CompilationStatement.java @@ -139,6 +139,8 @@ public class CompilationStatement extends Statement { List options = new ArrayList(); options.add( "-d" ); options.add( TestUtil.getOutBaseDir().getAbsolutePath() ); + options.add( "-processor" ); + options.add( JPAMetaModelEntityProcessor.class.getName() ); // pass orm files if specified if ( !xmlMappingFiles.isEmpty() ) {