public class MavenHelper extends Object
| Constructor and Description |
|---|
MavenHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addMavenProjectProperty(org.jboss.forge.addon.projects.Project project,
String key,
String value)
add property if it doesn't exist
|
static org.apache.maven.model.Plugin |
findPluginManagement(org.apache.maven.model.Model model,
F<org.apache.maven.model.Plugin,Boolean> predicate) |
static org.jboss.forge.addon.maven.plugins.ConfigurationElementBuilder |
getOrCreateConfigurationElement(org.jboss.forge.addon.maven.plugins.ConfigurationBuilder cb,
String id) |
static org.apache.maven.settings.Settings |
getSettings() |
static void |
setMavenProjectProperty(org.jboss.forge.addon.projects.Project project,
String key,
String value)
add or update property
|
public static org.apache.maven.settings.Settings getSettings()
public static org.apache.maven.model.Plugin findPluginManagement(org.apache.maven.model.Model model,
F<org.apache.maven.model.Plugin,Boolean> predicate)
project - predicate - public static org.jboss.forge.addon.maven.plugins.ConfigurationElementBuilder getOrCreateConfigurationElement(org.jboss.forge.addon.maven.plugins.ConfigurationBuilder cb,
String id)
conf - id - public static void addMavenProjectProperty(org.jboss.forge.addon.projects.Project project,
String key,
String value)
project - key - value - Copyright © 2017. All rights reserved.