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

前端 未结 6 783
既然无缘
既然无缘 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:29

    This is working on my side Put the plugin declaration in the parent pom , skip=true, but set inherited=false. This prevents from repeating the on each child modules.

            
                org.apache.maven.plugins
                maven-deploy-plugin
                2.8.2
                
                    true
                
                false
            
    

提交回复
热议问题