@Mojo(name="changes-check",
threadSafe=true)
public class ChangesCheckMojo
extends org.apache.maven.plugin.AbstractMojo
| Constructor and Description |
|---|
ChangesCheckMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Check that the latest release contains a valid release date.
|
protected static boolean |
isValidDate(String string,
String pattern)
Use the pattern to try to parse a Date from the given string.
|
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected static boolean isValidDate(String string, String pattern)
string - A date as textpattern - A pattern that can be used by SimpleDateFormattrue if the string can be parsed as a date using the pattern, otherwise falseCopyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.