microprofile-openapi-api 2.0 switches off hibernate-jpamodelgen

I have a java microservice-project with theese two dependencies defindes in my gradle.build file:

implementation(group: 'org.eclipse.microprofile.openapi', name: 'microprofile-openapi-api', version: '1.2')

annotationProcessor('org.hibernate.orm:hibernate-jpamodelgen:6.1.6.Final')

This works, meaning that i get my JPA metamodels created. But as soon as i bump microprofile-openapi-api to 2.0 or above, jpamodelgen no longer gets run (no errors, it just does not run). It is like clockwork, that going above 1.2 creates the problem.

Any ideas as to what is causing this behavior and what can be done ?



Comments

Popular posts from this blog

Today Walkin 14th-Sept

Spring Elasticsearch Operations

Hibernate Search - Elasticsearch with JSON manipulation