Yes. This was helpful. I was able to upgrade my project to get it working,
per this commit:

https://github.com/nahsra/antisamy/commit/eb27e215edeb5d947357f5fb50f4a7b24848c7ba

Thanks, Dave


On Sun, Oct 15, 2023 at 3:58 PM Michael Osipov <micha...@apache.org> wrote:

> On 2023/10/15 17:50:15 Dave Wichers wrote:
> > Hello,
> >
> > I'm looking at this:
> > https://www.mail-archive.com/commits@maven.apache.org/msg114005.html
> >
> > And see the code change introducing this warning:
> >
> > +                LOGGER.warn(
> > +                        "Site model of '" + project.getId() + "' for "
> > +                                +
> (locale.equals(SiteTool.DEFAULT_LOCALE)
> > +                                        ? "default locale"
> > +                                        : "locale '" + locale + "'")
> > +                                + " is still using the old
> > pre-version 2.0.0 model. You MUST migrate to the new model as soon as
> > possible otherwise your build will break in the future!");
> >
> >
> > I have a project that is getting this warning, but I have no clue how
> > to address it. Is there a migration guide for Doxia for this? Or can
> > you explain to me how to address it? I imagine a number of people are
> > going to see this message, so a guide that people can easily find that
> > explains how to deal with it would be very helpful.
>
> Dave,
>
> you first should look in JIRA at all associated issues to understand the
> purpose of this change. Then the model (old and new one), are generated
> from a Modello model which generates a documentatation:
> * old:
> https://maven.apache.org/doxia/doxia-sitetools/doxia-site-model/decoration.html
> * new:
> https://maven.apache.org/doxia/doxia-sitetools/doxia-site-model/site.html
> then you can map from old to new easily. The change in Doxia Sitetools
> also contains a converter which can assist you as well, if the model
> overview is not sufficient.
>
> If you are looking for handwritten documentation, there is none yet. We
> are always short in docs. I am the only one basically working on this topic
> for almost two years.
>
> Let me know if this answers your question,
>
> Michael
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

Reply via email to