diff --git a/archiva-webapp/src/main/webapp/WEB-INF/jsp/decorators/default.jsp b/archiva-webapp/src/main/webapp/WEB-INF/jsp/decorators/default.jsp index e74ed8292..28846de98 100644 --- a/archiva-webapp/src/main/webapp/WEB-INF/jsp/decorators/default.jsp +++ b/archiva-webapp/src/main/webapp/WEB-INF/jsp/decorators/default.jsp @@ -19,6 +19,7 @@ <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <%@ taglib prefix="my" tagdir="/WEB-INF/tags" %> <%@ taglib prefix="pss" uri="/plexusSecuritySystem" %> +<%@ page import="java.util.Calendar" %> Maven Archiva :: @@ -146,9 +147,18 @@ <hr/> </div> +<% + int inceptionYear = 2005; + int currentYear = Calendar.getInstance().get( Calendar.YEAR ); + String copyrightRange = String.valueOf( inceptionYear ); + if ( inceptionYear != currentYear ) + { + copyrightRange = copyrightRange + "-" + String.valueOf( currentYear ); + } +%> <div id="footer"> <div class="xright">© - 2005-2006 Apache Software Foundation + Copyright © <%= copyrightRange %> Apache Software Foundation </div> <div class="clear">