public class DefaultPomEditor extends Object implements PomEditor
| Modifier and Type | Field and Description |
|---|---|
protected Compilers |
compiler |
protected Map<ConfigurationKey,String> |
conf |
protected Set<PomPlaceHolder> |
history |
String |
KJAR_EXT |
protected org.slf4j.Logger |
logger |
String |
POM |
String |
POM_NAME |
protected org.apache.maven.model.io.xpp3.MavenXpp3Reader |
reader |
String |
TRUE |
protected org.apache.maven.model.io.xpp3.MavenXpp3Writer |
writer |
| Constructor and Description |
|---|
DefaultPomEditor(Set<PomPlaceHolder> history,
ConfigurationProvider config,
Compilers compiler) |
| Modifier and Type | Method and Description |
|---|---|
protected String[] |
addCreateClasspathMavenArgs(String[] args) |
void |
cleanHistory() |
protected void |
disableMavenCompilerAlreadyPresent(org.apache.maven.model.Plugin plugin) |
Set<PomPlaceHolder> |
getHistory()
A collection with the Information about changed poms
|
protected org.apache.maven.model.Plugin |
getNewCompilerPlugin() |
protected PluginPresents |
updatePom(org.apache.maven.model.Model model) |
public final String POM
public final String TRUE
public final String POM_NAME
public final String KJAR_EXT
protected final org.slf4j.Logger logger
protected Compilers compiler
protected Map<ConfigurationKey,String> conf
protected org.apache.maven.model.io.xpp3.MavenXpp3Reader reader
protected org.apache.maven.model.io.xpp3.MavenXpp3Writer writer
protected Set<PomPlaceHolder> history
public DefaultPomEditor(Set<PomPlaceHolder> history, ConfigurationProvider config, Compilers compiler)
public Set<PomPlaceHolder> getHistory()
PomEditorgetHistory in interface PomEditorpublic void cleanHistory()
cleanHistory in interface PomEditorprotected PluginPresents updatePom(org.apache.maven.model.Model model)
protected org.apache.maven.model.Plugin getNewCompilerPlugin()
protected void disableMavenCompilerAlreadyPresent(org.apache.maven.model.Plugin plugin)
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.