public final class ReleaseUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CONSTANT_CORE |
static String |
CONSTANT_CORE_PREFIX |
static String |
CONSTANT_POM_PARENT |
static String |
CONSTANT_POM_PLUGIN |
static String |
CONSTANTE_EMPTY_STRING |
static String |
CONSTANTE_SNAPSHOT |
| Constructor and Description |
|---|
ReleaseUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getNextVersion(String strVersion) |
static String |
getReleaseName(String strPluginName,
String strVersion) |
static String |
getReleaseVersion(String strPathLocalSiteName)
Retourne la version [stable] courante (sans -SNAPSHOT si present dans le pom)
|
static String |
getSiteArtifactId(String strPathLocalSiteName)
Retourne la version dans le pom)
|
static String |
getSiteVersion(String strPathLocalSiteName)
Retourne la version dans le pom)
|
static void |
save(Model model,
OutputStream outputStream) |
static List<String> |
split(String strToSplit,
String strSeparator)
Safe split (no empty value)
|
static <T> T |
unmarshal(Class<T> docClass,
InputStream inputStream) |
static String |
updateReleaseVersion(String strPathLocalSiteName,
String strNewVersion,
String commitMessage,
org.tmatesoft.svn.core.wc.SVNCommitClient svnCommitClient) |
public static final String CONSTANTE_EMPTY_STRING
public static final String CONSTANTE_SNAPSHOT
public static final String CONSTANT_CORE
public static final String CONSTANT_CORE_PREFIX
public static final String CONSTANT_POM_PARENT
public static final String CONSTANT_POM_PLUGIN
public static List<String> split(String strToSplit, String strSeparator)
strToSplit - strSeparator - public static <T> T unmarshal(Class<T> docClass, InputStream inputStream) throws JAXBException
JAXBExceptionpublic static void save(Model model, OutputStream outputStream) throws JAXBException
JAXBExceptionpublic static String getReleaseVersion(String strPathLocalSiteName) throws JAXBException, FileNotFoundException
JAXBExceptionFileNotFoundExceptionpublic static String getSiteVersion(String strPathLocalSiteName) throws JAXBException, FileNotFoundException
JAXBExceptionFileNotFoundExceptionpublic static String getSiteArtifactId(String strPathLocalSiteName) throws JAXBException, FileNotFoundException
JAXBExceptionFileNotFoundExceptionpublic static String updateReleaseVersion(String strPathLocalSiteName, String strNewVersion, String commitMessage, org.tmatesoft.svn.core.wc.SVNCommitClient svnCommitClient) throws ParserConfigurationException, SAXException, IOException, TransformerException, org.tmatesoft.svn.core.SVNException, JAXBException
ParserConfigurationExceptionSAXExceptionIOExceptionTransformerExceptionorg.tmatesoft.svn.core.SVNExceptionJAXBExceptionCopyright © 2016 Mairie de Paris. All rights reserved.