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

后端 未结 6 722
抹茶落季
抹茶落季 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:45

    This work file for me. Might help with just version number and no need of scm.

    
                org.codehaus.mojo
                buildnumber-maven-plugin
                1.4
                
                 no.scm.config.in.pom
                     
                
                
                    
                        buildnumber
                        validate
                        
                            create
                        
                        
                            {0,number}
                            
                                buildNumber
                            
                            false
                            false
                            unknownbuild
                        
                    
                
            
    

提交回复
热议问题