处理单个maven项目中的多个工件 [英] Handling multiple artifacts from single maven project
问题描述
对于我来说,将所有的swf模块作为一个zip压缩文件来处理将非常方便。 zip档案将是我的神器。
所以我正在寻找方式来打包和解压缩我的zip文件与maven。
$ b $如果您有任何想法,请与我分享。
祝好,
最大
nofollow> http://maven.apache.org/plugins/maven-assembly-plugin/ 和Maven依赖插件 http://maven.apache.org/plugins/maven-dependency-plugin/
I have a maven project that produces many artifacts. Of course it is kind of against maven best practice (one pom one artifact), but it is Adobe Flex project that produces many *swf modules and it is really makes no sence to create a separate project for each module.
For me it would be very convinient to handle all swf modules as a single zip archive eg. zip archive would be my artifact.
So I am looking for the way to pack and unpack my zip artifact with maven.
If you have any ideas, please share then with me.
Best regards, Max
Answer: Maven Assembly Plugin http://maven.apache.org/plugins/maven-assembly-plugin/ and Maven Dependency Plugin http://maven.apache.org/plugins/maven-dependency-plugin/
这篇关于处理单个maven项目中的多个工件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!