/*
 * This code is free software; you can redistribute it and/or modify it under
 * the terms of the new BSD License.
 *
 * Copyright (c) 2014, Sebastian Staudt
 */

package com.github.koraktor.mavanagaiata.mojo;

/**
 * Helper class that provides the current version of Mavanagaiata to the mojo
 * instances
 *
 * @author Sebastian Staudt
 */
class VersionHelper {

    /**
     * Returns the current version of Mavanagaiata
     *
     * This requires the presence of the generated Git info class. If it's not
     * available {@code null} is returned.
     *
     * @return The current version
     */
    static String getVersion() {
        try {
            Class<?> gitInfo = Class.forName(VersionHelper.class.getPackage().getName() + ".GitInfo");
            return (String) gitInfo.getMethod("getVersion").invoke(null);
        } catch (Exception e) {
            return null;
        }
    }

}

@@ -135,16 +135,21 @@
 (c) 2014
+-2018
 , Sebast
@@ -342,16 +342,25 @@
 udt%0A */%0A
+abstract 
 class Ve

Make VersionHelper abstract