Is it possible to use maven buildnumber plugin to generate build number without any scm check?

后端 未结 6 736
抹茶落季
抹茶落季 2020-12-25 11:05

Getting the following exception while using maven build number plugin. Is it possible to disable SCM check while using the build number plugin? Can we use this plugin to gen

6条回答
  •  猫巷女王i
    2020-12-25 11:59

    All you need to do is to enclose your plugins within pluginManagement tag

    
        
            
                org.codehaus.mojo
                buildnumber-maven-plugin
                
                    
                        validate
                        
                            create
                        
                    
                
                
                    true
                    true
                
            
        
    
    

提交回复
热议问题