Coder Social home page Coder Social logo

ethomasjoseph / buildnumber-maven-plugin Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 296 KB

Clone of buildnumber-maven-plugin project from Codehaus repo at http://svn.codehaus.org/mojo/trunk/mojo/buildnumber-maven-plugin

License: MIT License

Java 98.52% Groovy 1.48%

buildnumber-maven-plugin's Introduction

What is Build Number Maven Plugin

This mojo is designed to get a unique build number for each time you build your project. So while your version may remain constant at 1.0-SNAPSHOT for many iterations until release, you will have a build number that can uniquely identify each build during that time. The build number is obtained from scm, and in particular, at this time, from svn. You can then place that build number in metadata, which can be accessed from your app, if desired.

The mojo also has a couple of extra functions to ensure you get the proper build number. First, your local repository is checked to make sure it is up to date. Second, your local repository is automatically updated, so that you get the latest build number. Both these functions can be suppressed, if desired.

Optionally, you can configure this mojo to produce a revision based on a timestamp, or on a sequence, without requiring any interaction with an SCM system. Note that currently, supported SCMs are : subversion, git and mercurial.

Project Origin

This is a clone of buildnumber-maven-plugin project from Codehaus repo at http://svn.codehaus.org/mojo/trunk/mojo/buildnumber-maven-plugin

This repository has been cloned with the following command:

git svn clone http://svn.codehaus.org/mojo/trunk/mojo/buildnumber-maven-plugin 
	--no-metadata -A authors-transform.txt --no-minimize-url 
	--trunk=http://svn.codehaus.org/mojo/trunk/mojo/buildnumber-maven-plugin 
	--branches=http://svn.codehaus.org/mojo/branches 
	--tags=http://svn.codehaus.org/mojo/tags 
	buildnumber-maven-plugin

where authors-transform.txt can be created as explained at http://john.albin.net/git/convert-subversion-to-git

buildnumber-maven-plugin's People

Contributors

ethomasjoseph avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.