Closed kameshsampath closed 7 years ago
I'm thinking about another way to describe the content of the fat jar. Something closed to the Assembly plugin.
It should provide:
I was thinking about something like this:
<content>
<dependencySet>
<includes>
<include>*:jar</include>
</includes>
<excludes>
<exclude>foo</exclude>
</exclude>
</dependencySet>
<fileSets>
<fileSet>
<useDefaultExcludes>false</useDefaultExcludes>
<excludes>
<exclude>**/target/**</exclude>
</excludes>
</fileSet>
</fileSets>
</content>
Basically doing something like in: http://maven.apache.org/plugins/maven-assembly-plugin/advanced-descriptor-topics.html (reusing the same classes and logic)
closing this as @cescoffier has reimplemented this in the other PR.
just to be clear - it's not yet implemented ;-)
WIP: excluding transitive dependency of excludes as well
@cescoffier / @rhuss - i have made the first iteration of the exclude implemetation, can you please review and let me know your comments. I am adding a bunch of IT cases, but thought to get the review done early.
currently the excludes happens but I see the transitive dependencies stills get carried in .. need your thoughts ..