Deploy the pom file of the parent project

When deploy is executed under the parent project, all submodules of the entire project will be deployed to the private server, including the web module. Adding -N after deploy can solve the problem

mvn deploy -Dmaven.test.skip=true -N

Explanation of -N

-N,–non-recursive Do not recurse into sub-projects

Will not recurse into subprojects to execute the current command

Guess you like

Origin blog.csdn.net/bruce128/article/details/122866015