Skip to content

Commit 627608e

Browse files
committed
HHH-17323 Add annotation processor for tests explicitly
1 parent 0057454 commit 627608e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/util/CompilationStatement.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ private List<String> createJavaOptions() {
137137
List<String> options = new ArrayList<String>();
138138
options.add( "-d" );
139139
options.add( TestUtil.getOutBaseDir().getAbsolutePath() );
140+
options.add( "-processor" );
141+
options.add( JPAMetaModelEntityProcessor.class.getName() );
140142

141143
// pass orm files if specified
142144
if ( !xmlMappingFiles.isEmpty() ) {

0 commit comments

Comments
 (0)