You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/02/17 23:13:00 UTC
[jira] [Commented] (LUCENE-9780) Only validate JARs for tasks that
are enabled.
[ https://issues.apache.org/jira/browse/LUCENE-9780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17286191#comment-17286191 ]
ASF subversion and git services commented on LUCENE-9780:
---------------------------------------------------------
Commit 4bd4f7063bb5b796422857c9790ad4673ede3411 in lucene-solr's branch refs/heads/master from Houston Putman
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=4bd4f70 ]
LUCENE-9780: Only validate JARs for tasks that are enabled (#2382)
> Only validate JARs for tasks that are enabled.
> ----------------------------------------------
>
> Key: LUCENE-9780
> URL: https://issues.apache.org/jira/browse/LUCENE-9780
> Project: Lucene - Core
> Issue Type: Improvement
> Affects Versions: master (9.0)
> Reporter: Houston Putman
> Priority: Major
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Currently if you disable parts of the build, such as the tasks in {{solr-ref-guide}}, the {{checkDanglingLicenseFiles}} task can fail. This is because if all tasks for a module are disabled, then the {{jarInfos}} task will be disabled, resulting in a missing {{jarInfos}} property.
> I understand this isn't a normal use case for the gradle check functionality, but because you can't build the {{solr-ref-guide}} with proxy repos, it's necessary to disable the project when trying to build in a restricted environment. (The solr-ref-guide is meant to be ignored from the Licenses checks, however it still fails when you disable tasks for the project.)
> An easy fix would be to merely check to make sure a task is enabled before trying to get the {{jarInfos}} for it's project.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org