public class PomUpdater extends Object
| Constructor and Description |
|---|
PomUpdater() |
| Modifier and Type | Method and Description |
|---|---|
static void |
save(fr.paris.lutece.plugins.releaser.business.jaxb.maven.Model model,
OutputStream outputStream)
Save.
|
static <T> T |
unmarshal(Class<T> docClass,
InputStream inputStream)
Unmarshal.
|
static String |
updateSiteAfterTag(Site site,
String strSiteLocalPomPath)
Update site after tag.
|
static String |
updateSiteBeforeTag(Site site,
String strSiteLocalPomPath)
Update site before tag.
|
public static String updateSiteBeforeTag(Site site, String strSiteLocalPomPath) throws JAXBException
site - the sitestrSiteLocalPomPath - the str site local pom pathJAXBException - the JAXB exceptionpublic static String updateSiteAfterTag(Site site, String strSiteLocalPomPath) throws JAXBException
site - the sitestrSiteLocalPomPath - the str site local pom pathJAXBException - the JAXB exceptionpublic static void save(fr.paris.lutece.plugins.releaser.business.jaxb.maven.Model model,
OutputStream outputStream)
throws JAXBException
model - the modeloutputStream - the output streamJAXBException - the JAXB exceptionpublic static <T> T unmarshal(Class<T> docClass, InputStream inputStream) throws JAXBException
T - the generic typedocClass - the doc classinputStream - the input streamJAXBException - the JAXB exceptionCopyright © 2024 City of Paris. All rights reserved.