thank you Lukas and Dennis for your feedback
in a wiki in general, like Confluence, both creation and last updated date are 
displayed: IMHO, both can be useful


I did some investigations:

1. Doxia Sink API just tells "date" [1] without any hint on which one

2. APT does the same [2]

3. xdoc in its xsd [3] says "Optional creation/last updated date for the 
document element": hehe, do what you want :)

4. Doxia Sitetools SiteRenderer [4] says "dateCreation  The date specified in 
the source document, in the format "yyyyMMdd""


IMHO, there is an issue: the most clear definition is in SiteRenderer, with 
the variable named "dateCreation"
But it is against our current use, which is more "last modified"

Should we rename the variable in SiteRenderer to "lastModifiedDate" (and 
update Sink API and every other place)?

notice: this date is not really visible in rendered documents, nor is it 
available in reports for example.
Then I don't think we're causing strong issue: we're just stopping not being 
clear

Regards,

Hervé


[1] 
http://maven.apache.org/doxia/doxia/doxia-sink-api/apidocs/org/apache/maven/doxia/sink/Sink.html#date()

[2] http://maven.apache.org/doxia/references/apt-format.html#Title

[3] http://maven.apache.org/xsd/xdoc-2.0.xsd

[4] 
http://maven.apache.org/doxia/doxia-sitetools-archives/doxia-sitetools-1.3/doxia-site-renderer/

Le samedi 12 mars 2016 10:50:48 Dennis Lundberg a écrit :
> Hi,
> 
> I've always used it as an update date. From a user/reader point of view
> that is the most interesting thing to know.
> 
> Den 9 mar 2016 08:28 skrev "Hervé BOUTEMY" <[email protected]>:
> > question to old Doxia developers: is date in title of a Doxia source file
> > expected to be *creation* or *update* date
> > 
> > since it seems we use this field inconsistently for these 2 purposes,
> > depending on who and when does an update
> > 
> > what is it intended to represent precisely?
> > in apt format doc [1], there is documentation about the format but not
> > about
> > which date it is...
> > 
> > 
> > Regards,
> > 
> > Hervé
> > 
> > 
> > [1] http://maven.apache.org/doxia/references/apt-format.html#Title
> > 
> > Le mardi 8 mars 2016 13:06:31 [email protected] a écrit :
> > > Author: dennisl
> > > Date: Tue Mar  8 13:06:31 2016
> > > New Revision: 1734070
> > > 
> > > URL: http://svn.apache.org/viewvc?rev=1734070&view=rev
> > > Log:
> > > Update links to ex-codehaus plugins which are now at mojohaus.
> > > 
> > > Modified:
> > >     maven/site/trunk/content/apt/guides/mini/guide-using-toolchains.apt
> > > 
> > > Modified:
> > 
> > > maven/site/trunk/content/apt/guides/mini/guide-using-toolchains.apt URL:
> > http://svn.apache.org/viewvc/maven/site/trunk/content/apt/guides/mini/guid
> > e
> > 
> > > -using-toolchains.apt?rev=1734070&r1=1734069&r2=1734070&view=diff
> > 
> > ==========================================================================
> > =
> > 
> > > === ---
> > 
> > maven/site/trunk/content/apt/guides/mini/guide-using-toolchains.apt
> > 
> > > (original) +++
> > > maven/site/trunk/content/apt/guides/mini/guide-using-toolchains.apt Tue
> > 
> > Mar
> > 
> > >  8 13:06:31 2016 @@ -5,7 +5,7 @@
> > >  
> > >   Dennis Lundberg
> > >   Karl Heinz Marbaise
> > >   ------
> > > 
> > > - 2015-06-12
> > > + 2016-03-08
> > > 
> > >   ------
> > >  
> > >  ~~ Licensed to the Apache Software Foundation (ASF) under one
> > > 
> > > @@ -59,15 +59,15 @@ Guide to Using Toolchains
> > 
> > *-----------------*-------------------------------------------------------
> > -
> > 
> > --------------------------------------+---------------------+-------------
> > --> 
> > > -+
> > > 
> > >  | jdk             |
> > >  | <<<{{{/plugins/maven-surefire-plugin/}maven-surefire-plugin}}>>>
> > >  | 
> > >  |                     | 2.5                 | Apache Maven
> > 
> > *-----------------*-------------------------------------------------------
> > -
> > 
> > --------------------------------------+---------------------+-------------
> > --> 
> > > -+ -| jdk             |
> > > <<<{{{
> > 
> > http://mojo.codehaus.org/animal-sniffer-maven-plugin/}animal-sniffer->
> > maven-plugin}}>>> | 1.3                 | Codehaus Mojo +| jdk            
> > |> 
> > > <<<{{{
> > 
> > http://www.mojohaus.org/animal-sniffer/animal-sniffer-maven-plugin/}a
> > 
> > > nimal-sniffer-maven-plugin}}>>> | 1.3   | Codehaus Mojo
> > 
> > *-----------------*-------------------------------------------------------
> > -
> > 
> > --------------------------------------+---------------------+-------------
> > --> 
> > > -+ -| jdk             |
> > > <<<{{{
> > 
> > http://mojo.codehaus.org/cassandra-maven-plugin/}cassandra-maven-plug
> > 
> > > in}}>>>           | 0.7.0-1             | Codehaus Mojo +| jdk
> > > 
> > > <<<{{{
> > 
> > http://www.mojohaus.org/cassandra-maven-plugin/}cassandra-maven-plugi
> > 
> > > n}}>>>            | 0.7.0-1             | Codehaus Mojo
> > 
> > *-----------------*-------------------------------------------------------
> > -
> > 
> > --------------------------------------+---------------------+-------------
> > --> 
> > > -+ -| jdk             |
> > > <<<{{{http://www.mojohaus.org/exec-maven-plugin/}exec-maven-plugin}}>>>
> > > 
> > >                 | 1.1.1               | Codehaus Mojo +| jdk
> > > 
> > > <<<{{{http://www.mojohaus.org/exec-maven-plugin/}exec-maven-plugin}}>>>
> > > 
> > >                  | 1.1.1               | Codehaus Mojo
> > 
> > *-----------------*-------------------------------------------------------
> > -
> > 
> > --------------------------------------+---------------------+-------------
> > --> 
> > > -+ -| jdk             |
> > > <<<{{{http://www.mojohaus.org/jdiff-maven-plugin/}jdiff-maven-plugin}
> > 
> > }>>>
> > 
> > >                 | 1.0-beta-1-SNAPSHOT | Codehaus Mojo +| jdk
> > > 
> > > <<<{{{http://www.mojohaus.org/jdiff-maven-plugin/}jdiff-maven-plugin}
> > 
> > }>>>
> > 
> > >                  | 1.0-beta-1-SNAPSHOT | Codehaus Mojo
> > 
> > *-----------------*-------------------------------------------------------
> > -
> > 
> > --------------------------------------+---------------------+-------------
> > --> 
> > > -+ -| jdk             |
> > > <<<{{{
> > 
> > http://mojo.codehaus.org/keytool-maven-plugin/}keytool-maven-plugin}}
> > 
> > > >>>               | 1.4                 | Codehaus Mojo +| jdk
> > > 
> > > <<<{{{
> > 
> > http://www.mojohaus.org/keytool/keytool-maven-plugin/}keytool-maven-p
> > 
> > > lugin}}>>>        | 1.4                 | Codehaus Mojo
> > 
> > *-----------------*-------------------------------------------------------
> > -
> > 
> > --------------------------------------+---------------------+-------------
> > --> 
> > > -+
> > > 
> > >  | protobuf        |
> > >  | <<<{{{
> > 
> > http://sergei-ivanov.github.io/maven-protoc-plugin/examples/protob
> > 
> > >  | uf-toolchain.html}maven-protoc-plugin}}>>> | 0.3.2 | github
> > 
> > *-----------------*-------------------------------------------------------
> > -
> > 
> > --------------------------------------+---------------------+-------------
> > --> 
> > > -+
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to