You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by shinsato <ha...@shinsato.com> on 2007/04/03 01:22:06 UTC

Re: [m2][javadoc-plugin] currentYear, inceptionYear

Here's an answer for anyone else who may have stumbled around unnecessarily
for this one, as did I.  The unclear documentation in the javadoc-mojo is
only really clarified if you look at the source code.  The {x} items
referenced are place holders for different things, they are not standard
${x} property values.  The organizationName is converted to
MavenProject.getOrganization, which is set in the project's pom.xml. 
<organization/> is an object right under the top level <project/> root.  The
same is true for inceptionYear, for example...

<project>
  ...
  <organization>
    <name>Codehaus Mojo</name>
    <url>http://mojo.codehaus.org</url>
  </organization>
  <inceptionYear>2006</inceptionYear>
  ...
</project>

The {currentYear} is a placeholder for the current Calendar year which the
javadoc mojo programmatically looks up.  You can't set that one.

     Harold
-- 
View this message in context: http://www.nabble.com/-m2--javadoc-plugin--currentYear%2C-inceptionYear-tf2507450s177.html#a9800936
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org