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

后端 未结 6 734
抹茶落季
抹茶落季 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 11:53

    The following used to work, if I'm not mistaken:

      
        org.codehaus.mojo
        buildnumber-maven-plugin
        1.0-beta-3
        
          buildNumber.value
          buildNumber.timestamp
          {0,date,yyyyMMdd-HHmm}
          
            timestamp
          
        
        
          
            validate
            
              create
            
          
        
      
    
    

提交回复
热议问题