[ 
https://issues.apache.org/jira/browse/DOXIASITETOOLS-334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17833263#comment-17833263
 ] 

Konrad Windszus commented on DOXIASITETOOLS-334:
------------------------------------------------

Because the parser does otherwise not know the basedir and since DOXIA-723 uses 
the reference argument to emit log messages you see logs like
{code}
[WARNING] analyze-classes-mojo.xml, line 7, column 56: Anchor name "myanchor" 
used more than once
{code}
instead of 
{code}
[WARNING] target/generated-site/xdoc/analyze-classes-mojo.xml, line 7, column 
56: Anchor name "myanchor" used more than once
{code}

> Pass basedir relative source path to Parser.parse(...) as reference argument
> ----------------------------------------------------------------------------
>
>                 Key: DOXIASITETOOLS-334
>                 URL: https://issues.apache.org/jira/browse/DOXIASITETOOLS-334
>             Project: Maven Doxia Sitetools
>          Issue Type: Improvement
>          Components: Site renderer
>            Reporter: Konrad Windszus
>            Priority: Major
>             Fix For: 2.0.0-M18
>
>
> Currently only the file name (without its path) is passed in 
> https://github.com/apache/maven-doxia-sitetools/blob/96e245055fa90689ab5464a39b2bea5d4477cedf/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java#L369.
>  In order to ease identifying the file the relative path should be passed.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to