Maven组件插件(maven-assembly-plugin)是否支持EAR格式? [英] Does the Maven Assembly Plugin (maven-assembly-plugin) support the EAR format?

查看:124
本文介绍了Maven组件插件(maven-assembly-plugin)是否支持EAR格式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

maven-assembly-plugin是否支持EAR作为有效格式?该文档似乎表明您可以根据需要配置它:

Does the maven-assembly-plugin support EAR as a valid format? The documentation seems to indicate you can configure it any way you want:

  • zip
  • tar.gz
  • tar.bz2
  • jar
  • dir
  • war和已为ArchiveManager配置的任何其他格式
  • zip
  • tar.gz
  • tar.bz2
  • jar
  • dir
  • war and any other format that the ArchiveManager has been configured for

http://maven.apache.org/plugins/maven-assembly-plugin /

推荐答案

是的.只需在您的程序集描述符中指定:

Yes, it does. Just specify in your assembly descriptor:

<formats>
  <format>ear</format>
</formats>

这篇关于Maven组件插件(maven-assembly-plugin)是否支持EAR格式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆