3

我需要构建一个 jar 文件,其中包含来自其他兄弟 maven 模块的单个类文件的选择。

我尝试过使用 maven-assembly 和 maven-jar-plugin,但似乎无法提供一个有效的 pom/config。

谁能给出一个例子 pom.xml (可能还有一个 assembly.xml)来做到这一点?

任何帮助,将不胜感激。

4

0 回答 0