appbundle-maven-plugin icon indicating copy to clipboard operation
appbundle-maven-plugin copied to clipboard

Need to add more files to the bundle

Open dessalines opened this issue 10 years ago • 3 comments

I need to add more files to the bundle, how do I do this?

Alternately, I have a shaded jar that has everything already bundled, and simply need the .app to run java -jar my_shaded.jar. How would I do this?

dessalines avatar Jun 15 '15 00:06 dessalines

Sorry for the very late reply.

You can bundle resources except an icon using additionalResources configuration. BUT I noticed it has some bugs, when I have checked in my local environment :dizzy_face: . I will fix them soon.

Currently, this plugin doesn't work with Apache Maven Shade Plugin. But I think the it's better to support shaded JAR. So it may support in near future.

federkasten avatar Jun 29 '15 05:06 federkasten

Hello, I found this issue while trying to troubleshoot this plugin (the error I'm getting is that it could not find or load main class null). I'm using the shade plugin (since I'm sending the shaded jar to both launch4j maven plugin and your appbundler plugin). Are there any workarounds for this? even though I specified the main class to both the shaded jar and to your plugin via <mainClass> it doesn't seem to be working. thanks

jdimeo avatar Feb 19 '16 14:02 jdimeo

If there is any chance to fix this with the provided PR?

barthel avatar Apr 01 '18 19:04 barthel