使用 maven-assembly-plugin 我可以根据我的项目特定要求创建一个 *.jar。它解包所有依赖项和传递依赖项。但除此之外,我还有一个第三方 jar,它不在 maven 存储库中。这在我的项目中本地引用。有没有办法指示 maven-assembly-plugin 也解压缩给定的 jar 文件?
我的 jar 创建程序集描述符是:
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
  <id>packing-jar</id>  
  <formats>
    <format>jar</format>
  </formats>
  <includeBaseDirectory>false</includeBaseDirectory>
  <fileSets>
    <fileSet>
        <directory>${project.build.outputDirectory}/com</directory>
        <outputDirectory>/com</outputDirectory>
    </fileSet>
  </fileSets>
  <dependencySets>
    <dependencySet>
        <outputDirectory>/</outputDirectory>
        <unpack>true</unpack>
        <useProjectArtifact>false</useProjectArtifact>
    </dependencySet>
  </dependencySets>
</assembly>