public class SVNPropertiesProvider extends Object implements PropertiesProvider
PropertiesProvider
that uses SVN to retrieve
year information of last modification of files.Modifier and Type | Field and Description |
---|---|
static String |
INCEPTION_YEAR_KEY |
static String |
SVN_COPYRIGHT_LASTCHANGE_DATE_KEY |
static String |
SVN_COPYRIGHT_LASTCHANGE_REVISION_KEY |
static String |
SVN_COPYRIGHT_LASTCHANGE_TIMESTAMP_KEY |
static String |
SVN_COPYRIGHT_LASTCHANGE_YEAR_KEY |
static String |
SVN_COPYRIGHT_YEARS_RANGE_KEY |
static String |
SVN_SERVER_ID_PLUGIN_KEY |
Constructor and Description |
---|
SVNPropertiesProvider() |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getAdditionalProperties(AbstractLicenseMojo mojo,
Properties currentProperties,
Document document)
Provides information on the given document.
|
public static final String SVN_COPYRIGHT_LASTCHANGE_YEAR_KEY
public static final String SVN_COPYRIGHT_LASTCHANGE_DATE_KEY
public static final String SVN_COPYRIGHT_LASTCHANGE_TIMESTAMP_KEY
public static final String SVN_COPYRIGHT_LASTCHANGE_REVISION_KEY
public static final String SVN_COPYRIGHT_YEARS_RANGE_KEY
public static final String INCEPTION_YEAR_KEY
public static final String SVN_SERVER_ID_PLUGIN_KEY
public Map<String,String> getAdditionalProperties(AbstractLicenseMojo mojo, Properties currentProperties, Document document)
getAdditionalProperties
in interface PropertiesProvider
mojo
- the current license maven plugincurrentProperties
- the default properties (without any plugin contributions)document
- the document corresponding to the file for which we want to add propertiesCopyright © 2008–2016 Mycila. All rights reserved.