Spring과 My Sql 라이브러리 (mysql-connector)에 의존성이있는 간단한 Maven 프로젝트 (패키징 유형 - Jar)를 만들었습니다. $mvn package
으로이 프로젝트를 패키징 할 때이 명령을 성공적으로 실행 한 후에 jar 파일을 얻습니다.jar-with-dependencies Maven 어셈블리
나는 또한 출력 jar 파일에있는 모든 종속성을 포함하도록 노력하고, 그래서 나는 '항아리-와 의존성'조립 기술자를 추가했지만 문서가 말한대로 :
The `jar-with-dependencies` descriptor builds a JAR archive with the contents of the main project jar along with the unpacked contents of all the project’s runtime dependencies.
내가 포함 할 종속성은 JAR
양식이 아니라 unpacked
입니다. 어떻게해야합니까?