Skip to content

Commit eb5f9da

Browse files
committed
HHH-17323 Add annotation processor for tests explicitly
1 parent 0d2f55e commit eb5f9da

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
@@ -139,6 +139,8 @@ private List<String> createJavaOptions() {
139139
List<String> options = new ArrayList<String>();
140140
options.add( "-d" );
141141
options.add( TestUtil.getOutBaseDir().getAbsolutePath() );
142+
options.add( "-processor" );
143+
options.add( JPAMetaModelEntityProcessor.class.getName() );
142144

143145
// pass orm files if specified
144146
if ( !xmlMappingFiles.isEmpty() ) {

0 commit comments

Comments
 (0)