wildfly-jar-maven-plugin icon indicating copy to clipboard operation
wildfly-jar-maven-plugin copied to clipboard

Remove unnecessary files from executable JAR

Open jamezp opened this issue 4 years ago • 2 comments

Looking at the wildfly.zip inside the executable JAR there are some files that may not be required. For example the standalone.sh file. I don't see many others that could be removed, but it may be worth analyzing.

jamezp avatar Jul 09 '20 21:07 jamezp

@jamezp , yes. Good you logged it. Having standalone.sh (and bin dir) is convenient (at least for now), in order to "test" launching with standalone.sh.

jfdenise avatar Jul 10 '20 08:07 jfdenise

Ah that makes sense for sure. I suppose, if we think it's useful, we could have some kind of "dev" flag which would include those. I was just thinking of a way to shrink the size as much as possible. Though these files are very small and won't amount to much :)

jamezp avatar Jul 10 '20 15:07 jamezp