Skip to content

Commit 86471f5

Browse files
committed
HV-2148 Do not build javadoc when not needed
some of the internal modules don't have the docs Signed-off-by: marko-bekhta <marko.prykladna@gmail.com>
1 parent 495428d commit 86471f5

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

build/enforcer/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
<properties>
2222
<hibernate-validator-parent.path>../..</hibernate-validator-parent.path>
23+
<maven.javadoc.skip>true</maven.javadoc.skip>
2324
</properties>
2425

2526
<dependencies>

performance/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
<properties>
2121
<!-- Disable enforcer as we are using banned dependencies for old versions -->
2222
<enforcer.skip>true</enforcer.skip>
23+
<maven.javadoc.skip>true</maven.javadoc.skip>
2324
<!--
2425
The build-helper-maven-plugin is used to add Bean Validation 2.0 source folder to the BV implementations
2526
that are 2.0+. Since we are also using this plugin to parse versions in the root pom we want to control

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1122,6 +1122,7 @@
11221122
<artifactId>maven-javadoc-plugin</artifactId>
11231123
<version>${version.javadoc.plugin}</version>
11241124
<configuration>
1125+
<skip>${maven.javadoc.skip}</skip>
11251126
<!-- Fail on error alternative -->
11261127
<quiet>true</quiet>
11271128
<verbose>false</verbose>

0 commit comments

Comments
 (0)