Skip to content

Commit d395385

Browse files
committed
Initial setup to enable Jakarta Validation 4.0 development
TODO: revert the changes from this commit once ready to merge to main Signed-off-by: marko-bekhta <[email protected]>
1 parent ea12c2b commit d395385

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

build/build-config/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,13 @@
4848
<!--
4949
We want to make sure that the value we store in the property matches
5050
the version that is imported from the Jakarta EE BOM
51-
-->
51+
5252
<item>
5353
<property>${version.jakarta.validation-api}</property>
5454
<artifact>jakarta.validation:jakarta.validation-api</artifact>
5555
<failOnNotFound>true</failOnNotFound>
5656
</item>
57+
-->
5758
<!--
5859
We want to make sure that the value we store in the property matches
5960
the version that is imported from the Jakarta EE BOM

pom.xml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@
331331
<!-- Set empty default value to avoid Maven leaving property references (${...}) when it doesn't find a value -->
332332
<maven.javadoc.skip>false</maven.javadoc.skip>
333333
<!-- Whether javadoc warnings should fail the build -->
334-
<failOnJavadocWarning>true</failOnJavadocWarning>
334+
<failOnJavadocWarning>false</failOnJavadocWarning>
335335
<javadoc.generate.jar.phase>none</javadoc.generate.jar.phase>
336336
<!-- We control whether we should download javadoc based on this property
337337
that defines the phase of some Maven plugin executions,
@@ -1984,6 +1984,19 @@
19841984
</repository>
19851985
</repositories>
19861986
</profile>
1987+
<profile>
1988+
<id>jakarta-snapshots</id>
1989+
<activation>
1990+
<jdk>[17,)</jdk>
1991+
</activation>
1992+
<repositories>
1993+
<repository>
1994+
<id>${central.snapshots.repo.id}</id>
1995+
<name>Maven Central Snapshots Repository</name>
1996+
<url>${central.snapshots.repo.url}</url>
1997+
</repository>
1998+
</repositories>
1999+
</profile>
19872000

19882001
<profile>
19892002
<id>coverage</id>

0 commit comments

Comments
 (0)