How to add one package with all classes and subpackage from provided dependency into the Jar.
I have got dependency like :
<dependency>
<groupId>com.a</groupId>
<artifactId>dependencyA</artifactId>
<scope>provided</scope>
</dependency>
What I want to achieve is to add all classes and subpackage into jar file. For example Is there any plugin that allow me to specify which package should be added something like:
<include>com.a.package.*</include>
As a result, I expect that all classes under package com.a.package.*
from dependencyA would be added into jar.