You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Guillaume Nodet (Jira)" <ji...@apache.org> on 2024/07/04 07:38:00 UTC

[jira] [Created] (DOXIASITETOOLS-343) Rewrite DefaultSiteTools project management

Guillaume Nodet created DOXIASITETOOLS-343:
----------------------------------------------

             Summary: 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


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)