public abstract class EducodeMojo
extends org.apache.maven.plugin.AbstractMojo
| Constructor and Description |
|---|
EducodeMojo() |
| Modifier and Type | Method and Description |
|---|---|
Document |
getDocument() |
String |
getEncode() |
String |
getOutputPomFile() |
String |
getPomFile() |
Boolean |
getPrintConsole() |
List<Node> |
getSelectedDependencyNode(Document document)
Select in project tag, parent tag, dependency tag and plugin tag that
have in yours artifactId value equals to no-snapshot.artifactId values.
|
String |
getSuffix() |
void |
init()
It is for initialization of default values to EducodeMojo fields.
|
void |
setEncode(String encode) |
void |
setOutputPomFile(String outputPomFile) |
void |
setPomFile(String pomFile) |
void |
setPrintConsole(Boolean printConsole) |
void |
setSuffix(String suffix) |
getLog, getPluginContext, setLog, setPluginContextpublic void init()
public List<Node> getSelectedDependencyNode(Document document) throws org.apache.maven.plugin.MojoExecutionException
document - represents XML file.org.apache.maven.plugin.MojoExecutionException - Exception to any failure of execution.Nodepublic Document getDocument() throws ParserConfigurationException, SAXException, IOException
ParserConfigurationException - Consult documentation of the API.SAXException - Consult documentation of the API.IOException - Consult documentation of the API.Documentpublic String getPomFile()
public void setPomFile(String pomFile)
pomFile - is the address to access pom file.public String getOutputPomFile()
public void setOutputPomFile(String outputPomFile)
outputPomFile - that is output name to future generated pom file.public String getSuffix()
public void setSuffix(String suffix)
suffix - is a String to be used in work with value version tag of
dependency.public String getEncode()
public void setEncode(String encode)
encode - is a String that represents charset encode of pom file.public Boolean getPrintConsole()
public void setPrintConsole(Boolean printConsole)
printConsole - is Boolean value for print or not in screen.Copyright © 2018 Educode. All rights reserved.