From a065d4941f1c4ae468b781314acc9f549451429e Mon Sep 17 00:00:00 2001 From: liaozan <378024053@qq.com> Date: Sat, 13 May 2023 02:41:38 +0800 Subject: [PATCH] Update maven plugin settings --- pom.xml | 146 ++++++++++++++++++++++++++++++-------------------------- 1 file changed, 78 insertions(+), 68 deletions(-) diff --git a/pom.xml b/pom.xml index 4f7f54e..1e16b0c 100644 --- a/pom.xml +++ b/pom.xml @@ -77,7 +77,6 @@ 1.2.83 2.0.31 31.1-jre - 5.1.0 5.8.18 3.0.2 7.3 @@ -366,11 +365,6 @@ guava ${guava.version} - - com.google.inject - guice - ${guice.version} - cn.hutool hutool-all @@ -669,86 +663,102 @@ + + org.apache.maven.plugins + maven-resources-plugin + + + copy-configuration-metadata + compile + + copy-resources + + + + + ${project.build.outputDirectory}/META-INF + + spring-configuration-metadata.json + + true + + + ${project.basedir}/src/main/resources/META-INF + true + + + + + + org.apache.maven.plugins + maven-source-plugin + + + source + + jar-no-fork + + package + + + + + org.codehaus.mojo + flatten-maven-plugin + ${flatten-maven-plugin.version} + + + flatten + + flatten + + process-resources + + true + ${project.build.directory} + resolveCiFriendliesOnly + + + + + + org.apache.maven.plugins + maven-enforcer-plugin + + + enforce-java + + enforce + + + + + ${java.version} + 需要 Java${java.version} 及以上的版本, 请检查 Java 版本设置 + + + + + + org.apache.maven.plugins maven-resources-plugin - - - copy-configuration-metadata - compile - - copy-resources - - - - - ${project.build.outputDirectory}/META-INF - - spring-configuration-metadata.json - - true - - - ${project.basedir}/src/main/resources/META-INF - true - - - org.apache.maven.plugins maven-source-plugin - - - source - - jar-no-fork - - package - - org.codehaus.mojo flatten-maven-plugin - ${flatten-maven-plugin.version} - - - flatten - - flatten - - process-resources - - true - ${project.build.directory} - resolveCiFriendliesOnly - - - org.apache.maven.plugins maven-enforcer-plugin - - - enforce-java - - enforce - - - - - ${java.version} - 需要 Java${java.version} 及以上的版本, 请检查 Java 版本设置 - - - - - -- GitLab