[ https://issues.apache.org/jira/browse/DOXIA-585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hervé Boutemy updated DOXIA-585: -------------------------------- Description: The exceptions are swallowed this is really unpractical when using the library (example building a site using mvn-site plugin). The 3 cases of failure (macro execution failure, parameter issue and undefined macro) give following ouotput: {noformat}[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.7.1:site (default-site) on project xxx: Error parsing 'src/site/xhtml/macro-failure.xhtml': line [-1] Error parsing the model: Unable to execute macro in the document: toc -> [Help 1]{noformat} {noformat}[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.7.1:site (default-site) on project xxx: Error parsing src/site/xhtml/macro-param.xhtml': line [-1] Error parsing the model: Missing 'key=value' pair for macro parameter: fail-param -> [Help 1]{noformat} {noformat}[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.7.1:site (default-site) on project xxx: Error parsing 'src/site/xhtml/macro-undefined.xhtml': line [-1] Error parsing the model: Macro not found: undefined-macro -> [Help 1]{noformat} was:The exceptions are swallowed this is really unpractical when using the library (example building a site using mvn-site plugin). > Propagate macro related exceptions to caller in xhtml parser > ------------------------------------------------------------ > > Key: DOXIA-585 > URL: https://issues.apache.org/jira/browse/DOXIA-585 > Project: Maven Doxia > Issue Type: Improvement > Components: Module - Xhtml > Affects Versions: 1.8 > Reporter: Hervé Boutemy > Priority: Major > Fix For: 1.9 > > Attachments: macro-failure.xhtml, macro-param.xhtml, > macro-undefined.xhtml > > > The exceptions are swallowed this is really unpractical when using the > library (example building a site using mvn-site plugin). > The 3 cases of failure (macro execution failure, parameter issue and > undefined macro) give following ouotput: > {noformat}[ERROR] Failed to execute goal > org.apache.maven.plugins:maven-site-plugin:3.7.1:site (default-site) on > project xxx: Error parsing 'src/site/xhtml/macro-failure.xhtml': line [-1] > Error parsing the model: Unable to execute macro in the document: toc -> > [Help 1]{noformat} > {noformat}[ERROR] Failed to execute goal > org.apache.maven.plugins:maven-site-plugin:3.7.1:site (default-site) on > project xxx: Error parsing src/site/xhtml/macro-param.xhtml': line [-1] Error > parsing the model: Missing 'key=value' pair for macro parameter: fail-param > -> [Help 1]{noformat} > {noformat}[ERROR] Failed to execute goal > org.apache.maven.plugins:maven-site-plugin:3.7.1:site (default-site) on > project xxx: Error parsing 'src/site/xhtml/macro-undefined.xhtml': line [-1] > Error parsing the model: Macro not found: undefined-macro -> [Help > 1]{noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)