Maven assembly plugin add dependencies
问题 I have a java application and using maven-assembly-plugin I want to add my dependencies to a /lib folder in my release. In a web project its simple because jars are already in the war file. I coudln't figure out to do it in standart java application since all external jars are in my local .m2 repository. 回答1: I often work with this assembly configuration <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"