Documentation can't be build off-line

Description

Assembly sometimes fails. I suspect there is a DTD reference in the xml ( "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" ), and since my system does not have direct access to the internet, it cannot download it.

[INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------ [INFO] Total time: 4:53.988s
[INFO] Finished at: Fri Feb 11 14:57:53 CET 2011
[INFO] Final Memory: 26M/74M
[INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal com.agilejava.docbkx:docbkx-maven-plugin:2.0.8-onms:generate-html (default) on project opennms-doc: Failed to transform userguide.xml. Failure reading /data/pguillebert_eclipse_ws/opennms/opennms-doc/src/docbkx/userguide.xml: Connection timed out -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :opennms-doc
[ERROR] child exited with value 1

Environment

Linux

Acceptance / Success Criteria

None

Attachments

2
  • 24 Feb 2011, 11:13 AM
  • 23 Feb 2011, 10:00 AM

Lucidchart Diagrams

Activity

Benjamin Reed February 24, 2011 at 11:12 PM

thanks, merged to 1.8 and master

Philippe Guillebert February 24, 2011 at 11:13 AM

This patch should fix the issues with opennms-doc

Benjamin Reed February 24, 2011 at 10:46 AM

Awesome, thanks for doing this. I tried to look into it a little, but had a hard time figuring out where the rabbit-hole went. I'll wait for the second patch and then apply and close this out.

Philippe Guillebert February 24, 2011 at 10:41 AM

Hmm this is related :

SEVERE: Error with opening URL 'http://docbook.sourceforge.net/release/images/draft.png': Connection timed out

We should reference a local file. I will fix this and submit a patch here.

Philippe Guillebert February 23, 2011 at 10:00 AM

A patch against master to fix the issue

Fixed

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

PagerDuty

Created February 11, 2011 at 9:07 AM
Updated January 27, 2017 at 4:21 PM
Resolved February 24, 2011 at 11:12 PM

Flag notifications