I use maven-assembly-plugin to collect some files and folders in a .tar.gz file. In my destination directory, I have several folders with these names (for example):
Lib oracle lib lib mysql libserver.
and each folder contains some jar files.
I want to copy these folders (as well as their contents) into the final .tar.gz file. I know that I can copy them separately as follows:
<fileSet> <directory>target/lib-oracle</directory> <outputDirectory>lib-oracle</outputDirectory> </fileSet>
but I am interested to know if there is a way to copy them all together?
maybe something like this:
<fileSet> <directory>target/lib*</directory> </fileSet>
Saeed source share