asciidoctor-maven-plugin: Remote include not working in the Maven plugin
A remote include from GitHub is not working when using the Maven plugin. It’s resolving the include to an empty string.
Here’s an example:
[indent=0]
....
include::https://raw.githubusercontent.com/cometd/cometd/master/pom.xml[tag=jetty-version]
....
This works when using both the Asciidoctor and AsciidoctorJ commandline tools. For some reason, it fails in the Maven plugin. We should include a test for this so we can ensure it doesn’t break once we fix it.
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 19 (18 by maintainers)
Commits related to this issue
- Updated dependencies as per https://github.com/asciidoctor/asciidoctor-maven-plugin/issues/153#issuecomment-99280861. — committed to cometd/cometd-documentation by sbordet 9 years ago
- reminder for issue #153 — committed to abelsromero/asciidoctor-maven-plugin by abelsromero 8 years ago
- Merge pull request #205 from abelsromero/issue_153_github_includes Reminder for issue #153 — committed to asciidoctor/asciidoctor-maven-plugin by abelsromero 8 years ago
This has been fixed in release 1.5.5 after upgrading jRuby. I will close this.