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

Resources not copied when assembling book

Open dsyer opened this issue 11 years ago • 2 comments

I believe that #67 solved this problem when building an article in the current project. But I also need to assemble a book using content from submodules and that doesn't seem to be working. I have to resort to the (ugly) Maven resources plugin to work around the fact that the static resources are not copied from the submodules automatically (despite being used in content included in the book).

dsyer avatar Oct 07 '14 09:10 dsyer

My apologies for not answering, If I understand correctly, the isse is that when setting the plugin in a parent module, submodules don't inherit the copy behaviour, is that right? Or do you mean that you need to copy resources from one module to another? In either case, it would help a lot if you can provide some example of what you're doing right now so that I can test alternatives.

abelsromero avatar Jan 19 '15 08:01 abelsromero

Or do you mean that you need to copy resources from one module to another?

That. Simple example: parent project has a child. Both contain asciidoctor documentation and both include images alongside the adoc sources. The parent is a book and it includes the child as a chapter. If you do that now the images from the child are all going to be missing in the completed asciidoctor output from the parent.

dsyer avatar Jan 19 '15 09:01 dsyer