public class PomManipulator extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
addDependencies(org.apache.maven.project.MavenProject project,
List<org.apache.maven.model.Dependency> dependencies,
org.apache.maven.plugin.logging.Log log)
Add the given dependencies to the dependencies of the given project.
|
static void |
addDependency(org.apache.maven.project.MavenProject project,
org.apache.maven.model.Dependency dependency,
org.apache.maven.plugin.logging.Log log)
Add the given dependency to the dependencies of the given project.
|
public static void addDependency(@Nonnull org.apache.maven.project.MavenProject project, @Nonnull org.apache.maven.model.Dependency dependency, @Nonnull org.apache.maven.plugin.logging.Log log) throws org.apache.maven.plugin.MojoExecutionException
project - - the project to manipulatedependency - - the dependency which should be addedlog - -Maven Logger to Log what happensorg.apache.maven.plugin.MojoExecutionExceptionpublic static void addDependencies(@Nonnull org.apache.maven.project.MavenProject project, List<org.apache.maven.model.Dependency> dependencies, org.apache.maven.plugin.logging.Log log) throws org.apache.maven.plugin.MojoExecutionException
project - - the project to manipulatedependencies - - the dependencies which should be addedlog - -Maven Logger to Log what happensorg.apache.maven.plugin.MojoExecutionExceptionCopyright © 2002–2017 CoreMedia AG. All rights reserved.