How to skip lifecycle phase in multi maven module

后端 未结 3 389
南笙
南笙 2021-01-12 15:41

I have a maven multi module project which call two sub modules. please note that this child module do not use the parent markup tag. Now I need to have the deploy phase exe

3条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-12 16:20

    As mentioned in this FAQ for maven deploy plugin, as well as in this SO discussion, you should add the following in the pom of the module you do not want to deploy.

            
               maven-deploy-plugin
               X.Y
               
                 true
              
            
    

提交回复
热议问题