On 21 October 2014 08:12, David Hoffer <dhoff...@gmail.com> wrote: > I'm trying to use iso9660-maven-plugin to generate an iso image and I'm > getting string index out of range errors. My input has long file names, > e.g. > > 7b0a8ad702ee0be0b971a082023550bd71bd33d3cbb4fa17f1de6af66f1871d4-comps-Server.x86_64.xml.gz > and I suspect this is causing the problem. > > How can I resolve this? I don't technically need/want an 9660 image as I'm > creating DVD images (actually these will be used by vSphere and I think > it's quite tolerant of ISO format). Is there a way to configure > iso9660-maven-plugin to allow long file names or is there a different > goal/plugin that I should be using that supports this? Currently I'm > running the 'iso' goal on iso9660-maven-plugin. > > Example error: > Execution generate-iso of goal > com.github.stephenc.java-iso-tools:iso9660-maven-plugin:2.0.0:iso failed: > String index out of range: -2
This is the Maven users list. We don't own that plugin, you might try contact the author of that plugin https://github.com/stephenc/java-iso-tools/commits/master/iso9660-maven-plugin (Although Stephen is here as well this isn't the place for that discussion) Also you might want to try mvn -X as that will give you more debug output to pinpoint your problem. Plus you might want to clone that plugin and provide back a patch for your problem.