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

后端 未结 6 721
抹茶落季
抹茶落季 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条回答
  •  [愿得一人]
    2020-12-25 12:05

    With version 1.4 the following works:

    
        org.codehaus.mojo
        buildnumber-maven-plugin
        1.4
        
            no.scm.config.in.pom
        
        
            
                create-timestamp-id
                validate
                
                    create-timestamp
                
                
                    yyyy-MM-dd HH:mm:ss.S
                    myBuildNumberVariable
                    
                
            
        
    
    

提交回复
热议问题