我想使用maven为每个目录创建多个程序集,而无需使用多模块。 我的项目结构如下:
├───assembly
├───src
│ └───main
│ └───environments
│ ├───dev
│ │ └───some files
│ └───local
│ │ └───some file
│ └───test
│ └───some files
└───target
| ├───dev.zip
| └───local.zip
| ├───test.zip
│
│
│
│
└───pom.xml
在上述项目结构中,我想为目录dev,local和test建立三个zip文件
我发现了一个类似的问题How to create multiple WAR files from single pom.xml?。但是我正在寻找不使用多个模块的解决方案。