You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Rodney Waldhoff <rw...@apache.org> on 2003/01/24 00:30:35 UTC

[PATCH] don't generate "Copyright 2003-2003" in javadocs

Currently if a project has an <inceptionYear> of the current year, the
copyright statement at the bottom of the docs generated by the javadoc
goal reads:

 Copyright (c) 2003-2003 ...

This patch fixes that by checking if inceptionYear is equal to the current
year, and setting the local ${year} format appropriately (e.g., to just
"2003" in this case).

 - Rod