From 9677644296c0f4fdc36316530d45da4e878410ff Mon Sep 17 00:00:00 2001
From: Olivier Maury <Olivier.Maury@inrae.fr>
Date: Mon, 8 Jan 2024 18:38:47 +0100
Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20des=20versions=20des=20d?=
 =?UTF-8?q?=C3=A9pendances.=20Version=200.1.5.=20refs=20agroclim/agrometin?=
 =?UTF-8?q?fo/AgroMetInfo=5F2.0#69?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 pom.xml                                          | 16 ++++++++--------
 www-client/config/cpd-suppressions.properties    |  1 +
 www-client/pom.xml                               |  2 +-
 www-server/config/cpd-suppressions.properties    |  1 +
 www-server/pom.xml                               |  2 +-
 .../www/server/service/MailService.java          |  1 +
 www-shared/pom.xml                               |  2 +-
 7 files changed, 14 insertions(+), 11 deletions(-)
 create mode 100644 www-server/config/cpd-suppressions.properties

diff --git a/pom.xml b/pom.xml
index a8b2f39..4d703a4 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 e69de29..016017d 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 ce67e87..37cf75a 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 0000000..016017d
--- /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 c153b7c..182a39f 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 54ec3c6..187f500 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 f9cff15..b74f786 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>
-- 
GitLab