用于生成ISO文件的Maven插件 [英] Maven plugin for generating ISO file

查看:494
本文介绍了用于生成ISO文件的Maven插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有能够生成ISO映像的maven插件?

Is there a maven plugin capable of generating ISO images?

我需要获取一些模块的输出(主要是包含jar的zip文件)并将它们组合成一个ISO映像。

I need to take the output of some modules (mostly zip files containing jars) and combine them into a single ISO image.

谢谢

推荐答案

现在有一个ISO9660 maven插件可以做工作:

There is now an ISO9660 maven plugin that does the job:

https://github.com/stephenc/java-iso-tools/commits/master/iso9660-maven-plugin

文档很稀疏,但它使用以下内容:

Documentation is sparse but got it working with the following:

<plugin>
    <groupId>com.github.stephenc.java-iso-tools</groupId>
    <artifactId>iso9660-maven-plugin</artifactId>
    <version>1.2.2</version>
    <executions>
        <execution>
            <id>generate-iso</id>
            <goals>
                <goal>iso</goal>
            </goals>
            <phase>package</phase>
            <configuration>
                <finalName>${project.build.finalName}.iso</finalName>
                <inputDirectory>${project.build.directory}/iso</inputDirectory>
            </configuration>
        </execution>
    </executions>
</plugin>

这篇关于用于生成ISO文件的Maven插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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