How to Deploy only the sub-modules using maven deploy?

前端 未结 6 787
既然无缘
既然无缘 2021-01-31 07:48

How do i deploy only the sub-modules of the project? i have a project as;

ProjectA
 -  Submodule B
 - Submodlue C
 - Submodule D 

The submodule

6条回答
  •  旧巷少年郎
    2021-01-31 08:33

    Put this in module(s)(or module's pom.xml) that you don't want to deploy:

    
      true
    
    

    Since this is inherited by submodules, you have to put this in submodules that you do want to deploy:

    
      false
    
    

提交回复
热议问题