diff --git a/pom.xml b/pom.xml index a8b2f39b33048bdbdc27d5c0be49ff025684ef44..4d703a46d283bb4a600789a39e2cb8c9ff595a0b 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ <modelVersion>4.0.0</modelVersion> <groupId>fr.agrometinfo</groupId> <artifactId>www</artifactId> - <version>0.1.5-SNAPSHOT</version> + <version>0.1.5</version> <packaging>pom</packaging> <name>AgroMetInfo web app</name> <description>Website for AgroMetInfo in Jakarta EE 10 and GWT.</description> @@ -65,14 +65,14 @@ <checkstyle.includeResources>false</checkstyle.includeResources> <checkstyle.includeTestResources>false</checkstyle.includeTestResources> <checkstyle.includeTestSourceDirectory>true</checkstyle.includeTestSourceDirectory> - <checkstyle.version>3.3.0</checkstyle.version> + <checkstyle.version>3.3.1</checkstyle.version> <compiler-plugin.version>3.11.0</compiler-plugin.version> <jacoco.version>0.8.10</jacoco.version> - <javadoc.version>3.5.0</javadoc.version> + <javadoc.version>3.6.2</javadoc.version> <javase.api.link>https://docs.oracle.com/en/java/javase/17/docs/api/</javase.api.link> <pmd.version>3.21.0</pmd.version> <sloccount.path>bin/sloccount.sh</sloccount.path> - <spotbugs.version>4.7.2.0</spotbugs.version> + <spotbugs.version>4.8.1.0</spotbugs.version> <!-- Text format --> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> @@ -226,7 +226,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> - <version>3.1.0</version> + <version>3.1.2</version> </plugin> <!-- Compute buildNumber --> @@ -453,7 +453,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> - <version>3.2.1</version> + <version>3.3.0</version> <executions> <execution> <id>attach-sources</id> @@ -504,7 +504,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> - <version>3.4.3</version> + <version>3.5.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> @@ -551,7 +551,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jxr-plugin</artifactId> - <version>3.0.0</version> + <version>3.3.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> diff --git a/www-client/config/cpd-suppressions.properties b/www-client/config/cpd-suppressions.properties index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..016017d554d39bad5a1d54a5c0df173340d06051 100644 --- a/www-client/config/cpd-suppressions.properties +++ b/www-client/config/cpd-suppressions.properties @@ -0,0 +1 @@ +# See https://maven.apache.org/plugins/maven-pmd-plugin/examples/violation-exclusions.html diff --git a/www-client/pom.xml b/www-client/pom.xml index ce67e874ff5e85b66e157f9938287dcc0f6c1b1e..37cf75ab2090462b9b34546a9968ee2496311eb6 100644 --- a/www-client/pom.xml +++ b/www-client/pom.xml @@ -7,7 +7,7 @@ <parent> <groupId>fr.agrometinfo</groupId> <artifactId>www</artifactId> - <version>0.1.5-SNAPSHOT</version> + <version>0.1.5</version> </parent> <artifactId>www-client</artifactId> diff --git a/www-server/config/cpd-suppressions.properties b/www-server/config/cpd-suppressions.properties new file mode 100644 index 0000000000000000000000000000000000000000..016017d554d39bad5a1d54a5c0df173340d06051 --- /dev/null +++ b/www-server/config/cpd-suppressions.properties @@ -0,0 +1 @@ +# See https://maven.apache.org/plugins/maven-pmd-plugin/examples/violation-exclusions.html diff --git a/www-server/pom.xml b/www-server/pom.xml index c153b7cd7987a9cd67a5e5c76a59d36054687238..182a39fe365e61369b3b4ba7cb646f47fb7c24ea 100644 --- a/www-server/pom.xml +++ b/www-server/pom.xml @@ -7,7 +7,7 @@ <parent> <groupId>fr.agrometinfo</groupId> <artifactId>www</artifactId> - <version>0.1.5-SNAPSHOT</version> + <version>0.1.5</version> </parent> <artifactId>www-server</artifactId> diff --git a/www-server/src/main/java/fr/agrometinfo/www/server/service/MailService.java b/www-server/src/main/java/fr/agrometinfo/www/server/service/MailService.java index 54ec3c61ead352de89aecc7bceb3423fde8f10e8..187f500005afe83c38685b6c2ebeb060ca1fc842 100644 --- a/www-server/src/main/java/fr/agrometinfo/www/server/service/MailService.java +++ b/www-server/src/main/java/fr/agrometinfo/www/server/service/MailService.java @@ -108,6 +108,7 @@ public class MailService { send(mail); } catch (AgroMetInfoException e) { // do nothing + LOGGER.info("Cannot send email: {}", e.getMessage()); } } } diff --git a/www-shared/pom.xml b/www-shared/pom.xml index f9cff15ddffe85daae955e3843c1e7de608ac02e..b74f786a11dee9a69f67721714498c3d9580bd93 100644 --- a/www-shared/pom.xml +++ b/www-shared/pom.xml @@ -7,7 +7,7 @@ <parent> <groupId>fr.agrometinfo</groupId> <artifactId>www</artifactId> - <version>0.1.5-SNAPSHOT</version> + <version>0.1.5</version> </parent> <artifactId>www-shared</artifactId>