Skip to content

Commit

Permalink
HV-1147 Making distribution build work on JDK 9 by adding required "-…
Browse files Browse the repository at this point in the history
…-add-modules" to javadoc execution
  • Loading branch information
gunnarmorling committed Nov 8, 2016
1 parent 7cce6f1 commit b9cdd15
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions distribution/pom.xml
Expand Up @@ -23,6 +23,7 @@
<!-- Skip artifact deployment -->
<maven.deploy.skip>true</maven.deploy.skip>
<maven.javadoc.skip>false</maven.javadoc.skip>
<javadoc.additional.param></javadoc.additional.param>
</properties>

<dependencies>
Expand Down Expand Up @@ -131,6 +132,7 @@
<packages>org.hibernate.validator.ap*</packages>
</group>
</groups>
<additionalparam>${javadoc.additional.param}</additionalparam>
</configuration>
<executions>
<execution>
Expand Down Expand Up @@ -164,4 +166,15 @@
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>jdk9</id>
<activation>
<jdk>9</jdk>
</activation>
<properties>
<javadoc.additional.param>--add-modules=${jigsaw.modules}</javadoc.additional.param>
</properties>
</profile>
</profiles>
</project>
2 changes: 1 addition & 1 deletion engine/src/main/java/org/hibernate/validator/overview.html
Expand Up @@ -14,6 +14,7 @@
</p>
<p>
All classes fall into three categories:
</p>
<ul>
<li><i>spi</i>: Classes with <i>spi</i> in the package name are service provider interfaces intended to be implemented
or extended by users of Hibernate Validator.
Expand All @@ -26,6 +27,5 @@
extended by users. If changes to this classes are necessary there will be a deprecation first.
</li>
</ul>
</p>
</body>
</html>

0 comments on commit b9cdd15

Please sign in to comment.