This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository lima. See http://git.chorem.org/lima.git commit b6a5de8556dc84db893fbb4a78222abadaaa47b1 Author: Sylvain Bavencoff <bavencoff@codelutin.com> Date: Mon May 18 10:45:47 2015 +0200 refs #1186 : rendre dynamique l'année du copyright --- lima-swing/pom.xml | 3 +++ lima-swing/src/main/java/org/chorem/lima/LimaSwingConfig.java | 2 +- lima-swing/src/main/resources/lima-swing.config | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lima-swing/pom.xml b/lima-swing/pom.xml index abfe0b2..10aa046 100644 --- a/lima-swing/pom.xml +++ b/lima-swing/pom.xml @@ -41,6 +41,9 @@ <!-- Post Release configuration --> <skipPostRelease>false</skipPostRelease> + <release.year>${maven.build.timestamp}</release.year> + <maven.build.timestamp.format>yyyy</maven.build.timestamp.format> + </properties> <dependencies> diff --git a/lima-swing/src/main/java/org/chorem/lima/LimaSwingConfig.java b/lima-swing/src/main/java/org/chorem/lima/LimaSwingConfig.java index a7dd524..740f3ae 100644 --- a/lima-swing/src/main/java/org/chorem/lima/LimaSwingConfig.java +++ b/lima-swing/src/main/java/org/chorem/lima/LimaSwingConfig.java @@ -77,7 +77,7 @@ public class LimaSwingConfig extends ApplicationConfig implements BigDecimalToSt * @return copyright text */ public String getCopyrightText() { - return "Version " + getVersion() + " Codelutin @ 2008-2012"; + return "Version " + getVersion() + " Codelutin @ 2008-" + getOption("application.year"); } /** diff --git a/lima-swing/src/main/resources/lima-swing.config b/lima-swing/src/main/resources/lima-swing.config index 6c6155f..c0ac4b8 100644 --- a/lima-swing/src/main/resources/lima-swing.config +++ b/lima-swing/src/main/resources/lima-swing.config @@ -21,6 +21,7 @@ ### application.name=Lima application.version=${project.version} +application.year=${release.year} application.site.url=http://lima.chorem.org/v/develop/ #licence.name=${project.licenses[0].license.name} -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.