What is the default exclusion strategy?


(John Ament) #1

Assuming I have a JAR task defined, what is the default exclusion strategy if none is specified? With Apache DeltaSpike, we list out some requirements for gradle based builds, since CDI expects a JAR file to be exploded in the proper format. https://deltaspike.apache.org/documentation/test-control.html#Gradle Some users are reporting that this causes duplicate entries in their JAR files, however my experience is that the duplicate entries are excluded.


(Mark Vieira) #2

I’ll assume you mean DuplicatesStrategy, and the default is INCLUDE, which in the case of an archive, will result in duplicate entries as you’ve observed.