HHH-17323 Add annotation processor for tests explicitly

This commit is contained in:
Christian Beikov 2023-10-16 12:51:52 +02:00
parent 0d2f55e4c8
commit eb5f9da285
1 changed files with 2 additions and 0 deletions

View File

@ -139,6 +139,8 @@ public class CompilationStatement extends Statement {
List<String> options = new ArrayList<String>(); List<String> options = new ArrayList<String>();
options.add( "-d" ); options.add( "-d" );
options.add( TestUtil.getOutBaseDir().getAbsolutePath() ); options.add( TestUtil.getOutBaseDir().getAbsolutePath() );
options.add( "-processor" );
options.add( JPAMetaModelEntityProcessor.class.getName() );
// pass orm files if specified // pass orm files if specified
if ( !xmlMappingFiles.isEmpty() ) { if ( !xmlMappingFiles.isEmpty() ) {