[jboss-jira] [JBoss JIRA] (DROOLS-2462) kie-docs 6.5.x doesn't build offline
Geoffrey De Smet (JIRA)
issues at jboss.org
Wed Apr 11 10:10:00 EDT 2018
[ https://issues.jboss.org/browse/DROOLS-2462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13559612#comment-13559612 ]
Geoffrey De Smet commented on DROOLS-2462:
------------------------------------------
[~manaRH] the maven-jdocbook-plugin switch "build offline" isn't covering all of "offline" cases... This is last decade technology that grew organically and is nowhere near the asciidoc plugin quality.
That being said, the jdocbook-core (used by that plugin), does support seeing that HTTP import and replacing it by something from a jar on the classpath:
https://github.com/pressgang/jdocbook-core
The problem is - when that doesn't happen, even if it's offline, it just gets it online as fallback and effectively eats the bug.
Combine that with the fact that the url's contain version numbers and the structure in the docbook jars (yet another artifact, jaay!) changes between versions,
and you have a perfect storm. It's basically very fragile - any docbook version number upgrade probably broke it working offline too.
But it did work offline in some version...
This rabbit hole for this bug goes deep... Good luck if you want/need to fix it.
> kie-docs 6.5.x doesn't build offline
> ------------------------------------
>
> Key: DROOLS-2462
> URL: https://issues.jboss.org/browse/DROOLS-2462
> Project: Drools
> Issue Type: Bug
> Components: docs
> Affects Versions: 6.5.0.Final
> Reporter: Michael Biarnes Kiefer
> Assignee: Marek Novotny
>
> when the repository kie-docs 6.5.x is build offline
> _man clean install -Dfull -o_ (and without internet connection) this error is thrown: [error|https://gist.github.com/mbiarnes/bb3a46bebf788225f663f249fc9dc361]
> The general suspicion is that <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.76.1/fo/docbook.xsl"/> can't be downloaded and this causes the error.
> We have on Jenkins each "some days" period that kie-docs fails, but when building again it builds successful. So when it fails it has no connection problems and this file can't be downloaded.
> A build without internet connection is not possible.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list