-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resource copy in multi-module does not work #838
Labels
Comments
Thanks! I was able to find an issue in Lines 123 to 126 in 41a3fce
new File() takes the working directory as root, so when running from the parent module it's expecting resources to be in that parent.We simply need to pass the project baseDir from the Mojo. I can't but laugh π at those small un-noticed issues lingering for a long time. Happy to assist if you want to contribute it btw. In the meantime, you can add it to the configuration. <directory>${project.basedir}/src/docs/asciidoc/images/</directory> PS: not sure what you is the goal, but all non-AciiDoc sources are copied by default. There's no need to specify the resources bloc if you have some images. |
schastlivcev
added a commit
to schastlivcev/asciidoctor-maven-plugin
that referenced
this issue
May 15, 2024
8 tasks
Hi, I've tried to fix it in #841. Can you please see if I updated the tests correctly? |
abelsromero
pushed a commit
that referenced
this issue
Jun 1, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What is this issue about?
Description
Considering the following multi-module maven project:
The
module-doc\pom.xml
contains the plugin execution with the followingresources
:The
sample.png
image is not copied in the output directory as expected.Environment information
The text was updated successfully, but these errors were encountered: