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

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

     [ https://issues.apache.org/jira/browse/SOLR-12205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Varun Thacker updated SOLR-12205:
---------------------------------
    Affects Version/s:     (was: 7.3)
                       7.4

> 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.4, master (8.0)
>            Reporter: Daniel Collins
>            Assignee: Steve Rowe
>            Priority: Major
>              Labels: maven
>             Fix For: 7.4
>
>
> 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