Maven plugin for generating ISO file

Is there a maven plugin capable of generating ISO images?

I need to draw the output of some modules (mainly zip files containing banks) and combine them into a single ISO image.

thanks

+4
source share
5 answers

Now there is an i9696 maven plugin that does the job:

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

The documentation is sparse, but it works 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> 
+6
source

I am not aware of any built-in integration (of course, in the build plugin), but it looks like the following library is available: http://jiic.berlios.de/

This can be wrapped in a Maven plugin, or for easier integration, used with the Maven AntRun plugin and given an ant task.

+2
source

From this mail archive exchange , it seems maven plugin collector could do the trick. But this is only third-party information.

0
source
 <plugin> <groupId>com.github.stephenc.java-iso-tools</groupId> <artifactId>iso9660-maven-plugin</artifactId> <version>2.0.1</version> <executions> <execution> <id>generate-iso-windows</id> <goals> <goal>iso</goal> </goals> <phase>prepare-package</phase> <configuration> <enableRockRidge>true</enableRockRidge> <enableJoliet>true</enableJoliet> <hideMovedDirectoriesStore>true</hideMovedDirectoriesStore> <finalName>IsoFileName.iso</finalName> <inputDirectory>target/input</inputDirectory> </configuration> </execution> </executions> </plugin> 
0
source
  <plugin> <!-- ISO generation. --> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>1.2.1</version> <executions> <execution> <goals> <goal>exec</goal> </goals> <phase>verify</phase> </execution> </executions> <configuration> <executable>genisoimage</executable> <arguments> <argument>-V</argument> <argument>${iso.name}</argument> <argument>-m</argument> <argument>*.iso</argument> <argument>-dir-mode</argument> <argument>0555</argument> <argument>-file-mode</argument> <argument>0555</argument> <argument>-gid</argument> <argument>0</argument> <argument>-uid</argument> <argument>0</argument> <argument>-iso-level</argument> <argument>2</argument> <argument>-J</argument> <argument>-joliet-long</argument> <argument>-r</argument> <argument>-o</argument> <argument>${project.build.directory}/${ iso.name }</argument> <argument>${iso.preparation.dir}</argument> </arguments> </configuration> </plugin> 
0
source

Source: https://habr.com/ru/post/1306662/


All Articles