Skip to content

Commit c7664ec

Browse files
committed
Merge remote-tracking branch 'upstream/master' into jakarta
2 parents 2882d29 + cf21593 commit c7664ec

File tree

3 files changed

+15
-12
lines changed

3 files changed

+15
-12
lines changed

http-hibernate-validator/pom.xml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,6 @@
4646
<scope>provided</scope>
4747
</dependency>
4848

49-
<!-- java annotation processors -->
50-
51-
<dependency>
52-
<groupId>io.avaje</groupId>
53-
<artifactId>avaje-inject-generator</artifactId>
54-
<version>8.12-RC1</version>
55-
<scope>provided</scope>
56-
</dependency>
57-
5849
</dependencies>
5950

6051
</project>
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@InjectModule(name = "bean-validator", provides = io.avaje.http.api.Validator.class)
1+
/**
2+
* Provides a Hibernate Validator to use with avaje-http.
3+
*/
24
package io.avaje.http.hibernate.validator;
3-
4-
import io.avaje.inject.InjectModule;
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import io.avaje.http.hibernate.validator.ValidatorProvider;
2+
3+
module io.avaje.http.hibernate.validator {
4+
5+
exports io.avaje.http.hibernate.validator;
6+
7+
requires io.avaje.http.api;
8+
requires io.avaje.inject;
9+
requires jakarta.validation;
10+
11+
provides io.avaje.inject.spi.Plugin with ValidatorProvider;
12+
}

0 commit comments

Comments
 (0)