Whether you are going to .jar (Maven) classes of the framework, which are not used?

There is a library (framework), which contains many classes. If use of this library only a few classes remaining, not used, will be collected in the project .jar?
July 2nd 19 at 14:18
1 answer
July 2nd 19 at 14:20
By default, Maven is not packing classes from libraries in the final jar. There are a number of plugins that allow you to achieve packaging the classes from the libraries, or jar files of the libraries as a whole. To highlight only the desired classes also have separate plug-ins.

Find more questions by tags Apache MavenJava