Initial commit
This commit is contained in:
commit
c103a85140
30 changed files with 981 additions and 0 deletions
28
src/main/resources/templates/version.txt
Normal file
28
src/main/resources/templates/version.txt
Normal file
|
@ -0,0 +1,28 @@
|
|||
/*
|
||||
* This file is automatically generated.
|
||||
* Do not modify! -- ALL CHANGES WILL BE ERASED!
|
||||
*/
|
||||
|
||||
package {{v packageName/}};
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* Provides project version information.
|
||||
*/
|
||||
public final class {{v className/}} {
|
||||
public static final String PROJECT = "{{v project/}}";
|
||||
public static final Date BUILDDATE = new Date({{v epoch/}}L);
|
||||
public static final int MAJOR = {{v major/}};
|
||||
public static final int MINOR = {{v minor/}};
|
||||
public static final int REVISION = {{v revision/}};
|
||||
public static final String QUALIFIER = "{{v qualifier/}}";
|
||||
public static final String VERSION = "{{v version/}}";
|
||||
|
||||
/**
|
||||
* Disables the default constructor.
|
||||
*/
|
||||
private {{v className/}}() {
|
||||
throw new UnsupportedOperationException("Illegal constructor call.");
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue