public abstract class AbstractEasyjMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected File |
outputDirectory |
protected org.apache.maven.project.MavenProject |
project |
| Constructor and Description |
|---|
AbstractEasyjMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
collectionToStr(Collection coll) |
protected boolean |
containsProperty(String key) |
protected boolean |
containsProperty(String key,
String targetValue) |
protected boolean |
containsProperty(String key,
String targetValue,
boolean ignoreCase) |
protected void |
copyFile(File sourceFile,
File targetFile) |
protected void |
copyFilesToDir(Collection<File> sourceFiles,
File targetDir) |
protected void |
copyFilesToDir(Collection<File> sourceFiles,
File targetDir,
boolean needLog) |
protected void |
copyFileToDir(File sourceFile,
File targetDir) |
protected void |
copyFileToDir(File sourceFile,
File targetDir,
boolean needLog) |
protected File |
createLibDir() |
protected File |
createLibDir(String libDirName) |
protected File |
createTargetDir() |
protected void |
debug(String content) |
protected void |
debug(String format,
Object... args) |
protected void |
debug(String content,
Throwable cause) |
protected void |
emptyLine() |
protected void |
error(String content) |
protected void |
error(String format,
Object... args) |
protected void |
error(String content,
Throwable cause) |
protected Properties |
getOriginalProperties() |
protected String |
getProperty(String key) |
protected File |
getTargetDir() |
protected String |
handleListStr(String arrStr) |
protected void |
info(String content) |
protected void |
info(String format,
Object... args) |
protected void |
info(String content,
Throwable cause) |
protected boolean |
isRuntimeArtifact(org.apache.maven.artifact.Artifact artifact) |
protected void |
putProperty(Properties properties,
String key,
Object value) |
protected void |
putProperty(Properties properties,
String key,
Object value,
String info) |
protected void |
putProperty(String key,
Object value) |
protected void |
putProperty(String key,
Object value,
String info) |
protected String |
replacePlaceholder(String str)
替换 占位符
|
protected void |
warn(String content) |
protected void |
warn(String format,
Object... args) |
protected void |
warn(String content,
Throwable cause) |
getLog, getPluginContext, setLog, setPluginContext@Parameter(defaultValue="${project}",
readonly=true,
required=true)
protected org.apache.maven.project.MavenProject project
@Parameter(defaultValue="${project.basedir}")
protected File outputDirectory
protected String replacePlaceholder(String str)
str - 字符串protected boolean isRuntimeArtifact(org.apache.maven.artifact.Artifact artifact)
protected Properties getOriginalProperties()
protected void putProperty(Properties properties, String key, Object value, String info)
protected void putProperty(Properties properties, String key, Object value)
protected boolean containsProperty(String key)
protected boolean containsProperty(String key, String targetValue, boolean ignoreCase)
protected File getTargetDir()
protected File createTargetDir()
protected File createLibDir()
protected void emptyLine()
protected void debug(String content)
protected void info(String content)
protected void warn(String content)
protected void error(String content)
protected String collectionToStr(Collection coll)
protected void copyFilesToDir(Collection<File> sourceFiles, File targetDir, boolean needLog)
protected void copyFilesToDir(Collection<File> sourceFiles, File targetDir)
Copyright © 2021–2022 EasyJ开源社区. All rights reserved.