[SPARK-48079][BUILD] Upgrade maven-install/deploy-plugin to 3.1.2

### What changes were proposed in this pull request?
The pr aims to upgrade:
- `maven-install-plugin` from `3.1.1` to `3.1.2`
- `maven-deploy-plugin` from `3.1.1` to `3.1.2`

### Why are the changes needed?
1.maven-install-plugin
https://github.com/apache/maven-install-plugin/releases/tag/maven-install-plugin-3.1.2
[MINSTALL-190](https://issues.apache.org/jira/browse/MINSTALL-190)] - Fix Temporary File Information Disclosure Vulnerability

2.maven-deploy-plugin
https://github.com/apache/maven-deploy-plugin/releases/tag/maven-deploy-plugin-3.1.2

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
Pass GA.

### Was this patch authored or co-authored using generative AI tooling?
No.

Closes #46330 from panbingkun/SPARK-48079.

Authored-by: panbingkun <panbingkun@baidu.com>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
diff --git a/pom.xml b/pom.xml
index 8103865..05c6f98 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3375,12 +3375,12 @@
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-install-plugin</artifactId>
-          <version>3.1.1</version>
+          <version>3.1.2</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-deploy-plugin</artifactId>
-          <version>3.1.1</version>
+          <version>3.1.2</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>