[
https://issues.apache.org/jira/browse/CASSANDRA-18690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17747429#comment-17747429
]
Jacek Lewandowski edited comment on CASSANDRA-18690 at 7/26/23 10:33 AM:
-------------------------------------------------------------------------
Fix here: https://github.com/apache/cassandra/pull/2515
Let's see how it goes:
https://app.circleci.com/pipelines/github/jacek-lewandowski/cassandra/817/workflows/edd23a59-3c65-4a81-8848-c5601105156e
(/) - upgrade jvm dtests
was (Author: jlewandowski):
Fix here: https://github.com/apache/cassandra/pull/2515
Let's see how it goes:
https://app.circleci.com/pipelines/github/jacek-lewandowski/cassandra/817/workflows/edd23a59-3c65-4a81-8848-c5601105156e
(?)
> Fix the way we produce a DTest jar
> ----------------------------------
>
> Key: CASSANDRA-18690
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18690
> Project: Cassandra
> Issue Type: Bug
> Components: Build
> Reporter: Ekaterina Dimitrova
> Assignee: Jacek Lewandowski
> Priority: Normal
> Fix For: 5.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The problem is related to how we produce the {{dtest jar}}. That repackages
> all dependencies along with our classes in a single jar. Some dependencies
> might have digital signatures extracted into {{META-INF}} as, say, {{*.SF}}
> files. We need to remove them because they are invalid for the uber-jar we
> produce. Therefore, there are exclusions in {{zipgroupfileset}} operations,
> more or less like this:
> {code:xml}
> <zipgroupfileset dir="${build.lib}" includes="*.jar"
> excludes="META-INF/*.SF"/>
> {code}
> However, this does not work as expected. The {{exclude}} attribute denotes
> jar files we don't want to repackage rather than filter on the content of the
> jar file. The new BouncyCastle jars include signatures in SF and DSA files,
> which all land in the final {{dtest.jar}} regardless of that filter.
> See also
> https://stackoverflow.com/questions/35577351/exclude-jar-from-ant-build-using-zipgroupfileset/35593838#35593838
> The issue was discovered and explained by [~jlewandowski] in CASSANDRA-17992
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]