且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用Maven从单个项目创建多个jar文件

更新时间:2022-05-25 22:38:02

以某种方式,可以从单个maven模块中获取更多JAR文件.但是不建议这样做. 此外,您的要求听起来像是一个多模块项目的示例:2个驱动程序模块,定义了它们自己的依赖关系,并且您的主应用程序使用这些drinvers.

Somehow, it is possible to get more JAR-files from a single maven module. But it is not recommended. In addition, your requirements sound like an example for a multi-module project: 2 driver modules with their own dependencies defined and your main-application using these drinvers.