Mavanagaiata – [maˈvanaˈɡaːjaˈta] – is a Maven plugin providing information about the Git repository of your project.
Mavanagaiata is available from the Central Repository and will be automatically installed by Maven once you add it as a plugin to your project.
To use the Mavanagaiata plugin in your Maven project you will have to include the plugin in your POM and add the configuration suitable for your needs:
<project ...>
...
<build>
<plugins>
<plugin>
<groupId>com.github.koraktor</groupId>
<artifactId>mavanagaiata</artifactId>
<executions>
<execution>
<id>load-git-branch</id>
<goals>
<goal>branch</goal>
<goal>commit</goal>
<goal>tag</goal>
</goals>
</execution>
</executions>
</plugin>
...
</plugins>
...
</build>
</project>
For more information on the existing goals and their configuration can be found in the Plugin Documentation.
A more complete usage example can be found in Mavanagaiata’s own
pom.xml
. Yes, Mavanagaiata is used to build Mavanagaiata.
Mavanagaiata is an open-source project. Therefore you are free to help improving it. There are several ways of contributing to Mavanagaiata’s development:
If you want to hack on the code you are free to clone the Git repository. You can do so using the following commands:
$ git clone git://github.com/koraktor/mavanagaiata.git
$ cd mavanagaiata
$ mvn install
The name is a completely invented word hopefully sounding like a mighty god of an ancient, Southeast Asian primitive people or a similar mighty monster that same primitive people is afraid of.
Instead, it’s just a combination of the command-line tools of Maven and Git:
mvn
and git
. Each character is suffixed with the character a
.
In Java code you would write this as:
("mvn" + "git").replaceAll("(.)", "$1a")
=> "mavanagaiata"
This code is free software; you can redistribute it and/or modify it under the terms of the new BSD License. A copy of this license can be found in the included LICENSE file.