[
https://issues.apache.org/jira/browse/SOLR-15972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17489129#comment-17489129
]
Mike Drob commented on SOLR-15972:
----------------------------------
There's an option we can set for {{git archive}} that will ignore certain files,
{noformat}
export-ignore
Files and directories with the attribute export-ignore won’t be
added to archive files. See gitattributes(5) for details.{noformat}
That might work for this. Or if we check it in, but leave the entry in
{{.gitignore}} as well, then I think that does the same thing for archive?
> If you CI can download from maven, can't you pull gradle-wrapper.jar from
>maven repo?
The wrapper unfortunately isn't in maven anywhere that I can find... We pull it
directly from GitHub sources, and apparently this is kind of a backdoor way to
do it anyway.
> Remove gradle-wrapper.jar from source
> -------------------------------------
>
> Key: SOLR-15972
> URL: https://issues.apache.org/jira/browse/SOLR-15972
> Project: Solr
> Issue Type: Task
> Security Level: Public(Default Security Level. Issues are Public)
> Components: Build
> Reporter: Jan Høydahl
> Assignee: Jan Høydahl
> Priority: Blocker
> Fix For: 9.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Now that we use git export to produce the source release, there is
> gradle-wrapper binary jar file in
> [https://github.com/apache/solr/tree/main/gradle/wrapper] that we are not
> allowed to include legally (LEGAL-570). Comparing with lucene, they do not
> have the jar file in git and thus not in the source release either.
> So I believe the solution is to remove the jar from Solr's git and let
> "gradlew" script download it for you...
> At first I hacked the smoketester to allow this one jar file, but that was
> wrong, will revert that change...
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]