Skip to content

Commit cd7d10b

Browse files
gavinkingdreab8
authored andcommitted
rename hibernate-jpamodelgen to hibernate-processor
1 parent c191d5f commit cd7d10b

File tree

15 files changed

+76
-17
lines changed

15 files changed

+76
-17
lines changed

documentation/documentation.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ dependencies {
128128
reportAggregation project(':hibernate-vibur')
129129
reportAggregation project(':hibernate-ant')
130130
reportAggregation project(':hibernate-enhance-maven-plugin')
131-
reportAggregation project(':hibernate-jpamodelgen')
131+
reportAggregation project(':hibernate-processor')
132132

133133
asciidoctorGems 'rubygems:rouge:4.1.1'
134134

@@ -162,8 +162,8 @@ dependencies {
162162
jcache project( ':hibernate-jcache' )
163163
javadocSources project( path: ':hibernate-jcache', configuration: 'javadocSources' )
164164

165-
jpamodelgen project( ':hibernate-jpamodelgen' )
166-
javadocSources project( path: ':hibernate-jpamodelgen', configuration: 'javadocSources' )
165+
jpamodelgen project( ':hibernate-processor' )
166+
javadocSources project( path: ':hibernate-processor', configuration: 'javadocSources' )
167167

168168
javadocClasspath libs.loggingAnnotations
169169
javadocClasspath jakartaLibs.validation

documentation/src/main/asciidoc/introduction/Configuration.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ or `org.slf4j:slf4j-jdk14`
102102
| A JDBC connection pool, for example, {agroal}[Agroal] |
103103
`org.hibernate.orm:hibernate-agroal` +
104104
and `io.agroal:agroal-pool`
105-
| The {generator}[Hibernate Metamodel Generator], especially if you're using the JPA criteria query API | `org.hibernate.orm:hibernate-jpamodelgen`
105+
| The {generator}[Hibernate Metamodel Generator], especially if you're using the JPA criteria query API | `org.hibernate.orm:hibernate-processor`
106106
| The {query-validator}[Query Validator], for compile-time checking of HQL | `org.hibernate:query-validator`
107107
| {validator}[Hibernate Validator], an implementation of {bean-validation}[Bean Validation] |
108108
`org.hibernate.validator:hibernate-validator` +

documentation/src/main/asciidoc/introduction/Introduction.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ dependencies {
168168
implementation 'org.apache.logging.log4j:log4j-core:2.20.0'
169169
170170
// JPA Metamodel Generator
171-
annotationProcessor 'org.hibernate.orm:hibernate-jpamodelgen:{fullVersion}'
171+
annotationProcessor 'org.hibernate.orm:hibernate-processor:{fullVersion}'
172172
173173
// Compile-time checking for HQL
174174
//implementation 'org.hibernate:query-validator:2.0-SNAPSHOT'

documentation/src/main/asciidoc/quickstart/guides/obtaining.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ transitive dependencies based on the features being used or not.
4242
|hibernate-core| The core object/relational mapping engine
4343
|hibernate-envers| Entity versioning and auditing
4444
|hibernate-spatial| Support for spatial/GIS data types using https://github.com/GeoLatte/geolatte-geom[GeoLatte]
45-
|hibernate-jpamodelgen| An annotation processor that generates a JPA-compliant metamodel, plus optional Hibernate extras
45+
|hibernate-processor| An annotation processor that generates a JPA-compliant metamodel, plus optional Hibernate extras
4646
|===
4747

4848
[cols="40m,~"]

documentation/src/main/asciidoc/userguide/chapters/tooling/extras/maven-example-metamodel.pom

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<annotationProcessorPaths>
1010
<path>
1111
<groupId>org.hibernate.orm</groupId>
12-
<artifactId>hibernate-jpamodelgen</artifactId>
12+
<artifactId>hibernate-processor</artifactId>
1313
<version>$currentHibernateVersion</version>
1414
<!-- Optionally exclude transitive dependencies -->
1515
<exclusions>

documentation/src/main/asciidoc/userguide/chapters/tooling/gradle.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ It also exposes the following method forms:
6060
==== Static Metamodel Generation
6161

6262
Static metamodel generation can be incorporated into Gradle builds via the
63-
annotation processor provided by the `org.hibernate.orm:hibernate-jpamodelgen` artifact. Applying
63+
annotation processor provided by the `org.hibernate.orm:hibernate-processor` artifact. Applying
6464
an annotation processor in Gradle is super easy -
6565

6666

6767
[source,gradle]
6868
----
6969
dependencies {
70-
annotationProcessor "org.hibernate.orm:hibernate-jpamodelgen:${hibernateVersion}"
70+
annotationProcessor "org.hibernate.orm:hibernate-processor:${hibernateVersion}"
7171
}
7272
----

documentation/src/main/asciidoc/userguide/chapters/tooling/modelgen.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
Jakarta Persistence defines a typesafe Criteria API which allows <<criteria,`Criteria`>>
1515
queries to be constructed in a strongly-typed manner, utilizing so-called static metamodel
1616
classes. The Hibernate Static Metamodel Generator, available via the published
17-
`org.hibernate.orm:hibernate-jpamodelgen` artifact, is an link:{ann-proc}[annotation processor]
17+
`org.hibernate.orm:hibernate-processor` artifact, is an link:{ann-proc}[annotation processor]
1818
used to generate these static metamodel classes.
1919

2020
[NOTE]

hibernate-core/hibernate-core.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ dependencies {
7272
testRuntimeOnly libs.jacksonXml
7373
testRuntimeOnly libs.jacksonJsr310
7474

75-
testAnnotationProcessor project( ':hibernate-jpamodelgen' )
75+
testAnnotationProcessor project( ':hibernate-processor' )
7676

7777
// NOTE: it seems like, since 4.10, the Antlr Tool no longer defines
7878
// transitive dep on the corresponding Antlr Runtime. At least, I get

hibernate-core/src/main/java/org/hibernate/annotations/processing/package-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* <p>
2323
* Annotations in this package control Hibernate's compile-time
2424
* tooling, and depend on the use of the annotation processors
25-
* in the {@code hibernate-jpamodelgen} or {@code query-validator}
25+
* in the {@code hibernate-processor} or {@code query-validator}
2626
* modules. If the appropriate annotation processor is not enabled
2727
* at build time, these annotations have no effect.
2828
* <p>

hibernate-envers/hibernate-envers.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ dependencies {
2020

2121
compileOnly libs.ant
2222

23-
annotationProcessor project( ':hibernate-jpamodelgen' )
23+
annotationProcessor project( ':hibernate-processor' )
2424
compileOnly jakartaLibs.annotation
2525

2626
testImplementation project( ':hibernate-testing' )

0 commit comments

Comments
 (0)