Skip to content

vndly/incrementor-maven-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License Download

Incrementor

A Maven plugin that increments the version number after an execution phase (e.g. compile, install, deploy, etc.).

Configuration

Add the following code to your pom.xml:

<build>
    <plugins>
        <plugin>
            <groupId>com.mauriciotogneri</groupId>
            <artifactId>incrementormavenplugin</artifactId>
            <version>1.2.0</version>
            <executions>
                <execution>
                    <phase>compile</phase>
                    <goals>
                        <goal>incrementor</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
    </plugins>
</build>

<repositories>
    <repository>
        <id>jcenter</id>
        <url>https://jcenter.bintray.com</url>
    </repository>
</repositories>

If you want to run the plugin after another phase than compile, replace it by any of this values:

  • validate
  • test
  • package
  • verify
  • install
  • deploy

About

Maven plugin that increments the version number after an execution phase (e.g. compile, install, deploy, etc.).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages