public class ProjectDependencyMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected String |
artifactId
Dependency artifact id.
|
protected String |
groupId
Dependency group id.
|
protected org.apache.maven.project.MavenProject |
m_project
Current project
|
protected Boolean |
optional
Dependency is optional or not.
|
protected String |
scope
Dependency scope.
|
protected String |
version
Dependency version.
|
protected Boolean |
withExclusions
Dependency with exclusions.
|
| Constructor and Description |
|---|
ProjectDependencyMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
protected org.jdom.Document |
modifyPom(PomDelegate b) |
protected void |
prepare() |
protected void |
saveXml(org.jdom.Document doc,
File file) |
protected org.apache.maven.project.MavenProject m_project
protected String groupId
protected String artifactId
protected String version
protected String scope
protected Boolean optional
protected Boolean withExclusions
protected org.jdom.Document modifyPom(PomDelegate b)
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected void prepare()
protected void saveXml(org.jdom.Document doc,
File file)
throws IOException
IOExceptionCopyright © 2022 Unidal Organization. All rights reserved.