Thank you Chantal,

Thats a very easy solution. Didn't think about that.


Kind regards,

Sjoerd Schunselaar


On Wed, Dec 14, 2011 at 1:02 PM, Chantal Ackermann <
[email protected]> wrote:

> Hi Sjoerd,
>
> my way of doing this is directly from pom to html using filtering.
>
> Add ${project.version} into the markup (for me, I add it into a top bar
> shared by all pages). Change the pom.xml resources configuration to
> filter either all html files or only that specific one. (I've simply
> changed the original "false" to "true" as I am sure that there is no
> other Dollar-notation in the html files.)
>
> <resource>
>        <filtering>true</filtering>
>        <directory>src/main/java</directory>
>        <includes>
>                <include>**</include>
>        </includes>
>        <excludes>
>                <exclude>**/*.java</exclude>
>        </excludes>
> </resource>
>
>
> Cheers,
> Chantal
>
>
>
> On Wed, 2011-12-14 at 11:33 +0100, Sjoerd Schunselaar wrote:
> > Hi all,
> >
> > Is there a easy way to display the artifact version which can be set in
> de
> > maven pom.xml file?
> > I would like to display that artifact version in the title bar.
> >
> >
> > met vriendelijke groet,
> >
> > Sjoerd Schunselaar
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to