How to skip install phase in Maven build if I already have this version installed in repo

后端 未结 5 1622
甜味超标
甜味超标 2020-12-09 03:41

I have a project that consist of 3 different libraries. When I run install script it takes all libraries from repo and run mvn clean install on them. But this version of lib

5条回答
  •  无人及你
    2020-12-09 04:04

    You can bypass like this

    -Dmaven.install.skip=true
    

    
       
         skipInstall
         
           
             maven.install.skip
             true
           
         
         
           
             
               
                 org.apache.maven.plugins
                 maven-install-plugin
                 
                   
                     default-install
                     none
                   
                 
               
             
           
         
       
    

    Last week Olivier Lamy patched this jira.

    MINSTALL-73

提交回复
热议问题