devacfr / reflow-maven-skin

Reflow is an Apache Maven site skin built on Bootstrap. It allows various structural and stylistic customizations to create a modern-looking Maven-generated website.
http://devacfr.github.io/reflow-maven-skin/
Apache License 2.0
8 stars 3 forks source link

Unresolved elements in final HTML pages #102

Open vpinna80 opened 5 months ago

vpinna80 commented 5 months ago

Hi, I'm using version 2.3.4 of the skin with site plugin version 3.12.1. When I generate the site, i have the $resourcePath in final html output.

These are the relevant sections of my site.xml:

<project>
    <skin>
        <groupId>io.github.devacfr.maven.skins</groupId>
        <artifactId>reflow-maven-skin</artifactId>
        <version>${this.reflow.version}</version>
    </skin>

    <custom>
        <reflowSkin>
            <absoluteResourceURL>${this.siteUrl}</absoluteResourceURL>
            <localResources>true</localResources>

            ...other elements...

            <pages>
                    ...pages...
            </pages>
        </reflowSkin>
    </custom>

    <body>
        ...body here...
    </body>
</project>

and I get index.html with these wrong elements:

    <title>#getTitlePage()</title>
    <meta name="generator" content="Generated by Apache Maven Doxia 2024-06-13">
      <meta http-equiv="content-language" content="en" />
    <link href="$resourcePath/css/reflow-skin.css" rel="stylesheet" />
    <link href="$resourcePath/css/lightbox.css" rel="stylesheet" />
    <link href="$resourcePath/css/site.css" rel="stylesheet" />
    <link href="$resourcePath/css/print.css" rel="stylesheet" media="print" />

What could the reason be? Am I missing something elsewhere?

devacfr commented 4 months ago

hello @vpinna80 , sorry for the delay. Are you set the url element in your pom.xml and siteUrl property ? Here is a simple example reflow-test.zip