[
https://issues.apache.org/jira/browse/DOXIASITETOOLS-227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17463433#comment-17463433
]
Abel Salgado Romero commented on DOXIASITETOOLS-227:
----------------------------------------------------
Hi, I was checking the issue, but I am confused. Forcing `doxia-site-renderer`
version in the `maven-site-plugin`it seems the fix is not in v1.9.2 as stated
in this issue, but 1.10.
Also, most recent `maven-site-plugin` (v3.9.1) still uses `doxia-site-renderer`
v1.9.2. ¿What should be the recommended approach to use newer versions?
> Throwing "new ParseException(message)" shows message with "line [-1]"
> ---------------------------------------------------------------------
>
> Key: DOXIASITETOOLS-227
> URL: https://issues.apache.org/jira/browse/DOXIASITETOOLS-227
> Project: Maven Doxia Sitetools
> Issue Type: Bug
> Components: Site renderer
> Affects Versions: 1.9.1
> Reporter: Abel Salgado Romero
> Assignee: Michael Osipov
> Priority: Minor
> Labels: intern
> Fix For: 1.9.2
>
>
> When throwing a 'org.apache.maven.doxia.parser.ParseException' from a Doxia
> module indicating only a message or source exception a message pointing to
> line -1 is show in console.
> Exemple:
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-site-plugin:3.7.1:site (default-cli) on
> project asciidoc-maven-site-example: Error parsing
> '/home/asalgadr/github/asciidoctor-maven-examples/asciidoc-maven-site-example/src/site/asciidoc/article.adoc':
> line [-1] Found 1 issue(s) of severity DEBUG or higher during rendering ->
> [Help 1]
>
> I would expect that in case the line is not initialized, no reference to it
> is shown in the console.
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)