Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-12205

SOLR-7887 broke javadoc:jar in maven

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.4, 8.0
    • Fix Version/s: 7.4
    • Component/s: Build
    • Labels:

      Description

      Commit 27e5c8dd31 added the -proc:none option both to the compiler and to the javadoc command line.  That is not a javadoc option, so mvn javadoc:jar fails both on master and branch_7x.

      The following fix works for me:

      diff --git a/dev-tools/maven/pom.xml.template b/dev-tools/maven/pom.xml.template
      index 4e21ca0e13..50299a3cda 100644
      --- a/dev-tools/maven/pom.xml.template
      +++ b/dev-tools/maven/pom.xml.template
      @@ -238,7 +238,6 @@
      <quiet>true</quiet>
      <additionalparam>-Xdoclint:all</additionalparam>
      <additionalparam>-Xdoclint:-missing</additionalparam>
      - <additionalparam>-proc:none</additionalparam>
      </configuration>
      </plugin>
      <plugin>
      

      The ant build is fine, its just the maven build which is affected.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sarowe Steven Rowe
                Reporter:
                dancollins Daniel Collins
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: