Skip to content

Commit

Permalink
fix actual javadoc error, and revert some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
stoty committed Aug 15, 2024
1 parent 0cce057 commit c7e56c8
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ jobs:
uses: actions/setup-java@v4
with:
java-version: 8
# cannot ignore javadoc violations on Zulu
distribution: 'temurin'
- name: Test
run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

/**
* IndexSearchCondition represents an individual search condition found by
* {@link IndexPredicateAnalyzer}.
* {@link PhoenixPredicateAnalyzer}.
*
*/
public class PhoenixSearchCondition {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

/**
* IndexSearchCondition represents an individual search condition found by
* {@link IndexPredicateAnalyzer}.
* {@link PhoenixPredicateAnalyzer}.
*
*/
public class PhoenixSearchCondition {
Expand Down
16 changes: 13 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -361,9 +361,6 @@
<configuration>
<source>8</source>
<quiet>true</quiet>
<!-- Without this javadoc warnings fail the build on most JDKs.
Remove once javadoc is cleaned up -->
<additionalJOptions>-Xdoclint:none</additionalJOptions>
</configuration>
</plugin>
<plugin>
Expand Down Expand Up @@ -430,6 +427,9 @@
<goals>
<goal>jar</goal>
</goals>
<configuration>
<additionalparam>${javadoc.opts}</additionalparam>
</configuration>
</execution>
</executions>
</plugin>
Expand Down Expand Up @@ -988,6 +988,16 @@
<argLine>${phoenix-surefire.jdk11.flags} ${phoenix-surefire.jdk17.flags} ${phoenix-surefire.jdk17.tuning.flags} ${phoenix-surefire.argLine}</argLine>
</properties>
</profile>
<!-- disable doclint with 1.8+ JDKs -->
<profile>
<id>java8-doclint-disabled</id>
<activation>
<jdk>[1.8,)</jdk>
</activation>
<properties>
<javadoc.opts>-Xdoclint:none</javadoc.opts>
</properties>
</profile>
<!-- Skip Javadoc for 1.8+ See PHOENIX-6922 -->
<profile>
<id>disable-javadoc-for-spark</id>
Expand Down

0 comments on commit c7e56c8

Please sign in to comment.