Skip to content

Commit

Permalink
update maven-processor-plugin for Maven 4
Browse files Browse the repository at this point in the history
  • Loading branch information
yagee-de committed Jul 3, 2024
1 parent e42a34b commit 92868d2
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -263,19 +263,7 @@ Applications based on MyCoRe use a common core, which provides the functionality
<plugin>
<groupId>org.bsc.maven</groupId>
<artifactId>maven-processor-plugin</artifactId>
<version>4.5</version>
<dependencies>
<dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
<version>3.0.1</version>
</dependency>
<dependency>
<groupId>org.hibernate.orm</groupId>
<artifactId>hibernate-jpamodelgen</artifactId>
<version>${hibernate.version}</version>
</dependency>
</dependencies>
<version>5.1</version>
<executions>
<execution>
<id>generate-jpa-model</id>
Expand All @@ -284,6 +272,13 @@ Applications based on MyCoRe use a common core, which provides the functionality
</goals>
<phase>generate-sources</phase>
<configuration>
<annotationProcessorPaths>
<path>
<groupId>org.hibernate.orm</groupId>
<artifactId>hibernate-jpamodelgen</artifactId>
<version>${hibernate.version}</version>
</path>
</annotationProcessorPaths>
<compilerArguments>-implicit:none -AaddGeneratedAnnotation=false</compilerArguments>
<processors>
<processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor>
Expand Down

0 comments on commit 92868d2

Please sign in to comment.