在我的maven项目中,我想要组装一个ipkg文件(这类似于Debian包,但适用于嵌入式系统)。为此,我需要使用汇编插件创建AR存档。在plugin documentation中,我找到了这样的内容:“以及为ArchiveManager配置的任何其他格式”。但我找不到如何“配置”"ArchiveManager“。我该怎么做呢?或者更好:也许有人已经这样做了,我可以使用已经存在的插件?
发布于 2010-04-19 02:31:32
如果你是maven的新手,那么它几乎是“不可能完成的任务”。在理论上,这应该是这样工作的:
实现您自己的Archiver.
的
..。
<component-set>
<components>
<component>
<role>org.codehaus.plexus.archiver.Archiver</role>
<role-hint>myformat</role-hint>
<implementation>com.acme.foo.MyArchiverImplementation</implementation>
<instantiation-strategy>per-lookup</instantiation-strategy>
</component>
</components>
</component-set>请参见plexus-archiver示例。
发布于 2010-04-19 02:23:35
你检查过maven-pkg-plugin (提到的here和here)了吗?
https://stackoverflow.com/questions/2663286
复制相似问题