o Applying Rodney's patch for date checking in javadoc generation.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112729 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -23,7 +23,17 @@
|
||||
|
||||
<!-- Get the year to display in the Javadocs -->
|
||||
<tstamp>
|
||||
<format property="year" pattern="${pom.inceptionYear}-yyyy"/>
|
||||
<format property="currentYear" pattern="yyyy"/>
|
||||
</tstamp>
|
||||
<tstamp>
|
||||
<j:choose>
|
||||
<j:when test="${pom.inceptionYear.equals(currentYear)}">
|
||||
<format property="year" pattern="yyyy"/>
|
||||
</j:when>
|
||||
<j:otherwise>
|
||||
<format property="year" pattern="${pom.inceptionYear}-yyyy"/>
|
||||
</j:otherwise>
|
||||
</j:choose>
|
||||
</tstamp>
|
||||
|
||||
<property name="copyright"
|
||||
|
||||
Reference in New Issue
Block a user