You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Daniel Collins (JIRA)" <ji...@apache.org> on 2018/04/09 21:02:00 UTC

[jira] [Created] (SOLR-12205) SOLR-7887 broke javadoc:jar in maven

Daniel Collins created SOLR-12205:
-------------------------------------

             Summary: SOLR-7887 broke javadoc:jar in maven
                 Key: SOLR-12205
                 URL: https://issues.apache.org/jira/browse/SOLR-12205
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: Build
    Affects Versions: 7.3, master (8.0)
            Reporter: Daniel Collins


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:
{code:java}
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>
{code}
The ant build is fine, its just the maven build which is affected.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org