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

Guillaume Nodet commented on DOXIASITETOOLS-343:
------------------------------------------------

One problem is that Maven itself creates `MavenProject` object for all parents, 
even when loaded from the local repository.

> Rewrite DefaultSiteTools project management
> -------------------------------------------
>
>                 Key: DOXIASITETOOLS-343
>                 URL: https://issues.apache.org/jira/browse/DOXIASITETOOLS-343
>             Project: Maven Doxia Sitetools
>          Issue Type: Improvement
>            Reporter: Guillaume Nodet
>            Priority: Major
>
> The code loads MavenProject from local repositories and uses 
> {{project.getBasedir() == null}} to check if the project was loaded from the 
> local repository or if it is a real project.
> This is wrong imho (and was broken in 4.0.0-alpha-8 to beta-3).  To load a 
> model from the local repository, one should use {{ModelBuilder}} and only use 
> {{ProjectBuilder}} to load projects which are _real_ projects.



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

Reply via email to