Skip to content

Commit

Permalink
HSEARCH-3337 Enable javadoc generation in non-legacy modules when the…
Browse files Browse the repository at this point in the history
… -Pdist profile is enabled
  • Loading branch information
yrodiere committed Sep 7, 2018
1 parent 3f74562 commit e0febcb
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 22 deletions.
22 changes: 0 additions & 22 deletions legacy/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -793,31 +793,9 @@
<profiles>
<profile>
<id>dist</id>

<properties>
<failOnJavaDocError>true</failOnJavaDocError>
</properties>

<modules>
<module>distribution</module>
</modules>

<build>
<plugins>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>generate-javadoc</id>
<goals>
<goal>javadoc-no-fork</goal>
</goals>
<phase>prepare-package</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>

<profile>
Expand Down
23 changes: 23 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1570,6 +1570,29 @@
</properties>
</profile>

<profile>
<id>dist</id>
<properties>
<failOnJavaDocError>true</failOnJavaDocError>
</properties>
<build>
<plugins>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>generate-javadoc</id>
<goals>
<goal>javadoc-no-fork</goal>
</goals>
<phase>prepare-package</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>

<profile>
<id>jdk8</id>
<activation>
Expand Down

0 comments on commit e0febcb

Please sign in to comment.