Then again, you can utilize an expert gathering plugin, as demonstrated in the underneath example:
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>com.package.MainClass</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</plugin>
In this model, all the reliance containers as indicated in the segment will be automatically remembered for your single container. Note that container with conditions ought to be in a real sense put as, not to be supplanted with the container document names you need to incorporate.