Author: echatellier Date: 2009-11-13 19:04:45 +0100 (Fri, 13 Nov 2009) New Revision: 2690 Modified: trunk/pom.xml trunk/src/main/resources/org/chorem/jtimer/ui/resources/HelpFrame.properties trunk/src/main/resources/org/chorem/jtimer/ui/resources/HelpFrame_fr.properties Log: Fix maven3 pom warnings. Add build date in about box. Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2009-11-06 13:27:59 UTC (rev 2689) +++ trunk/pom.xml 2009-11-13 18:04:45 UTC (rev 2690) @@ -175,6 +175,25 @@ <plugins> <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>buildnumber-maven-plugin</artifactId> + <version>1.0-beta-3</version> + <executions> + <execution> + <phase>validate</phase> + <goals> + <goal>create</goal> + </goals> + <configuration> + <format>{0,date,yyyy-MM-dd}</format> + <items> + <item>timestamp</item> + </items> + </configuration> + </execution> + </executions> + </plugin> + <plugin> <artifactId>maven-assembly-plugin</artifactId> <executions> <execution> @@ -200,7 +219,7 @@ <plugins> <plugin> <artifactId>maven-checkstyle-plugin</artifactId> - <!-- <version>2.4</version>--> + <version>2.3</version> <configuration> <!-- <configLocation>checkstyle.xml</configLocation>--> <excludes>**/Xss.java,**/X11.java,**/Kernel32.java,**/User32.java</excludes> @@ -208,7 +227,6 @@ </plugin> <plugin> <artifactId>maven-project-info-reports-plugin</artifactId> - <!-- fix french characters --> <version>2.1.2</version> <configuration> <developerConnection>${project.scm.connection}</developerConnection> @@ -240,6 +258,7 @@ </plugin> <plugin> <artifactId>maven-changelog-plugin</artifactId> + <version>2.1</version> <configuration> <type>range</type> <range>365</range> @@ -247,6 +266,7 @@ </plugin> <plugin> <artifactId>maven-changes-plugin</artifactId> + <version>2.1</version> <reportSets> <reportSet> <reports> @@ -257,15 +277,18 @@ </plugin> <plugin> <artifactId>maven-pmd-plugin</artifactId> + <version>2.4</version> <configuration> <targetJdk>${maven.compiler.source}</targetJdk> </configuration> </plugin> <plugin> <artifactId>maven-jxr-plugin</artifactId> + <version>2.1</version> </plugin> <plugin> <artifactId>maven-surefire-report-plugin</artifactId> + <version>2.4.3</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> Modified: trunk/src/main/resources/org/chorem/jtimer/ui/resources/HelpFrame.properties =================================================================== --- trunk/src/main/resources/org/chorem/jtimer/ui/resources/HelpFrame.properties 2009-11-06 13:27:59 UTC (rev 2689) +++ trunk/src/main/resources/org/chorem/jtimer/ui/resources/HelpFrame.properties 2009-11-13 18:04:45 UTC (rev 2690) @@ -4,7 +4,7 @@ #�About i18n aboutTitle = About ${Application.title} aboutHtmlTitle = About ${Application.title} -aboutHtml = <html><b>${Application.title} (${Application.version})</b><br /><br />Copyright 2007 - 2009, Code Lutin.<br /><br /><a href=\"${project.url}\">${project.url}</a><br /><br />Please, report any bug you can found.<html> +aboutHtml = <html><b>${Application.title} - ${Application.version} (${buildNumber})</b><br /><br />Copyright 2007 - 2009, Code Lutin.<br /><br /><a href=\"${project.url}\">${project.url}</a><br /><br />Please, report any bug you can found.<html> aboutLicenseTitle = License aboutLicense = You can modify and redistribute the program under the conditions of the GNU General Public License (version 2 or later). A copy of the GPL is in the file "LICENSE.txt" provided with ${Application.title}. All rights reserved. No guarantees are provided for use of this program. Modified: trunk/src/main/resources/org/chorem/jtimer/ui/resources/HelpFrame_fr.properties =================================================================== --- trunk/src/main/resources/org/chorem/jtimer/ui/resources/HelpFrame_fr.properties 2009-11-06 13:27:59 UTC (rev 2689) +++ trunk/src/main/resources/org/chorem/jtimer/ui/resources/HelpFrame_fr.properties 2009-11-13 18:04:45 UTC (rev 2690) @@ -1,7 +1,7 @@ #�About i18n aboutTitle = \u00C0 propos de ${Application.title} aboutHtmlTitle = \u00C0 propos de ${Application.title} -aboutHtml = <html><b>${Application.title} (${Application.version})</b><br /><br />Copyright 2007 - 2009, Code Lutin.<br /><br /><a href=\"${project.url}\">${project.url}</a><br /><br />Merci de rapporter les bugs de ${Application.title}.<html> +aboutHtml = <html><b>${Application.title} - ${Application.version} (${buildNumber})</b><br /><br />Copyright 2007 - 2009, Code Lutin.<br /><br /><a href=\"${project.url}\">${project.url}</a><br /><br />Merci de rapporter les bugs de ${Application.title}.<html> aboutLicenseTitle = Licence aboutLicense = Vous pouvez modifier et redistribuer ce programme sous les conditions \u00E9nonc\u00E9es par la licence GNU GPL (version 2 ou ult\u00E9rieure). Une copie de la licence GPL est dans le fichier \u00AB\u00A0LICENSE.txt\u00A0\u00BB fourni avec ${Application.title}. Tous droits r\u00E9serv\u00E9s. Aucune garantie n'est fournie pour l'utilisation de ce programme.