Skip to content

Commit 9aa4c21

Browse files
committed
Bump to use avaje-inject 8.3
1 parent 7a199a6 commit 9aa4c21

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

http-hibernate-validator/pom.xml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@
44

55
<groupId>io.avaje</groupId>
66
<artifactId>avaje-http-hibernate-validator</artifactId>
7-
<version>2.6</version>
7+
<version>2.8</version>
88

99
<parent>
1010
<groupId>org.avaje</groupId>
1111
<artifactId>java8-oss</artifactId>
12-
<version>3.2</version>
12+
<version>3.8</version>
13+
<relativePath/>
1314
</parent>
1415

1516
<scm>
@@ -22,7 +23,7 @@
2223
<dependency>
2324
<groupId>org.hibernate.validator</groupId>
2425
<artifactId>hibernate-validator</artifactId>
25-
<version>6.2.0.Final</version>
26+
<version>6.2.3.Final</version>
2627
</dependency>
2728

2829
<dependency>
@@ -41,7 +42,7 @@
4142
<dependency>
4243
<groupId>io.avaje</groupId>
4344
<artifactId>avaje-inject</artifactId>
44-
<version>6.12</version>
45+
<version>8.3</version>
4546
<scope>provided</scope>
4647
</dependency>
4748

@@ -50,7 +51,7 @@
5051
<dependency>
5152
<groupId>io.avaje</groupId>
5253
<artifactId>avaje-inject-generator</artifactId>
53-
<version>6.12</version>
54+
<version>8.3</version>
5455
<scope>provided</scope>
5556
</dependency>
5657

http-hibernate-validator/src/main/java/io/avaje/http/hibernate/validator/BeanValidator.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33

44
import io.avaje.http.api.ValidationException;
55
import io.avaje.http.api.Validator;
6-
7-
import jakarta.inject.Singleton;
6+
import io.avaje.inject.Component;
87

98
import javax.validation.ConstraintViolation;
109
import javax.validation.Path;
@@ -14,7 +13,7 @@
1413
import java.util.Map;
1514
import java.util.Set;
1615

17-
@Singleton
16+
@Component
1817
public class BeanValidator implements Validator {
1918

2019
private static final ValidatorFactory factory = Validation.buildDefaultValidatorFactory();

0 commit comments

Comments
 (0)