devacfr / reflow-maven-skin

Reflow is an Apache Maven site skin built on Bootstrap. It allows various structural and stylistic customizations to create a modern-looking Maven-generated website.
http://devacfr.github.io/reflow-maven-skin/
Apache License 2.0
8 stars 3 forks source link

If "publishDate position" is set to "none" don't generate the date into the comments #24

Closed chrisdutz closed 6 years ago

chrisdutz commented 6 years ago

We are using this skin to automatically generate the Apache PLC4X website (https://plc4x.apache.org) by our CI server.

We have one little issue with this skin in its current state: It always modifies every generated file at least once a day. This is due to the fact that the day is always generated into the comment at the top.

with the default Maven skins, usually you prevent it generating such dates by setting: <publishDate position="none"/>.

This pull request simply prevents the date from being output, if this is set.

chrisdutz commented 6 years ago

This is the default way to configure this: http://maven.apache.org/plugins-archives/maven-site-plugin-3.0/examples/sitedescriptor.html

devacfr commented 6 years ago

Thank you. Do you want I release this change ?

chrisdutz commented 6 years ago

Well if it's no problem ... that would be super awesome ;-)

devacfr commented 6 years ago

I tell you when it's available (before end of this week).

chrisdutz commented 6 years ago

Will definitely make my life easier :-) thanks for that.

devacfr commented 6 years ago

I do not think so :P

devacfr commented 6 years ago

I published release 1.4.0 on https://oss.sonatype.org/content/repositories/releases/. You need wait for replication on maven central http://central.maven.org/maven2/.