From 6131d608ede4a08a7bf7d318978e042dcef1143b Mon Sep 17 00:00:00 2001 From: "he.xinyu" <1355670147@qq.com> Date: Tue, 9 Nov 2021 23:10:02 +0800 Subject: [PATCH] =?UTF-8?q?feat(maven):=20=E5=AE=8C=E5=96=84maven=20instal?= =?UTF-8?q?l=E5=90=8E=E5=A4=8D=E5=88=B6jar=E5=8C=85=E5=88=B0docker/ruoyi?= =?UTF-8?q?=E7=9B=AE=E5=BD=95=E4=B8=8B=EF=BC=8C=E4=B8=94=E6=94=AF=E6=8C=81?= =?UTF-8?q?mvn=20clean=E6=B8=85=E9=99=A4=E5=A4=8D=E5=88=B6=E7=9A=84jar?= =?UTF-8?q?=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 4 +++- pom.xml | 47 +++++++++++++++++++++++++++++++++++------------ ruoyi-api/pom.xml | 10 ++++++++++ 3 files changed, 48 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index 4916f7a2..02b099d5 100644 --- a/.gitignore +++ b/.gitignore @@ -40,4 +40,6 @@ nbdist/ !*/build/*.java !*/build/*.html -!*/build/*.xml \ No newline at end of file +!*/build/*.xml + +docker/**/jar/*.jar \ No newline at end of file diff --git a/pom.xml b/pom.xml index c3bb3652..d781f67d 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ 4.0.0 com.ruoyi - ${root.id} + ruoyi 3.2.0 ruoyi @@ -13,7 +13,6 @@ 若依微服务系统 - ruoyi 3.2.0 UTF-8 UTF-8 @@ -41,7 +40,7 @@ 2.10.0 3.2.2 2.12.2 - ${rootlocation}/docker-test/ruoyi + ${rootlocation}/docker/ruoyi ${publish.root} ${project.artifactId} @@ -280,11 +279,6 @@ - - - - - org.apache.maven.plugins @@ -301,6 +295,7 @@ build-helper-maven-plugin 3.2.0 + register-root-location-var validate @@ -308,6 +303,14 @@ rootlocation + + + register-root-location-var-clean + pre-clean + + rootlocation + + @@ -315,26 +318,46 @@ org.apache.maven.plugins maven-resources-plugin - + - copy-private-config + copy-jar package copy-resources UTF-8 - ${publish.dir}/${jardir} + ${publish.dir}/jar ${project.build.directory} - ${project.build.directory}/*.jar + + *.jar + + + + org.apache.maven.plugins + maven-clean-plugin + 3.1.0 + + + + + ${publish.dir}/jar + + *.jar + + + + + + diff --git a/ruoyi-api/pom.xml b/ruoyi-api/pom.xml index b4db8741..5ca22def 100644 --- a/ruoyi-api/pom.xml +++ b/ruoyi-api/pom.xml @@ -22,4 +22,14 @@ ${publish.root}/api + + + + + org.apache.maven.plugins + maven-resources-plugin + false + + +