org.openspaces.maven.support
Class OutputVersion
java.lang.Object
org.openspaces.maven.support.OutputVersion
public class OutputVersion
- extends Object
Outputs the version to use with Maven. Following the following rules:
1. If this is an internal milestone, then 9.1.0-SNAPSHOT will be used.
2. If this is patch, then concatenate build number to product release version 9.1.0-RELEASE-7510
3. If this is GA, then just 9.1.0-RELEASE will be used.
4. If this is a final milestone, then 9.1.0-[MILESTONE] will be used.
- Author:
- kimchy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OutputVersion
public OutputVersion()
computeVersion
public static String computeVersion()
computeXapVersion
public static String computeXapVersion()
computeCloudifyVersion
public static String computeCloudifyVersion()
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © GigaSpaces.