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

前端 未结 6 776
既然无缘
既然无缘 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条回答
  •  -上瘾入骨i
    2021-01-31 08:50

    You can configure the maven-deploy-plugin in the POM of a module to exclude it from the deploy:

    
      
         org.apache.maven.plugins
         maven-deploy-plugin
         2.4
         
           true
         
       
       ...
    
    

提交回复
热议问题