public class MavenAwareUtils extends Object
Constructor and Description |
---|
MavenAwareUtils() |
Modifier and Type | Method and Description |
---|---|
static List<org.kuali.common.util.maven.model.Dependency> |
convertToSimplePojos(List<org.apache.maven.model.Dependency> dependencies)
Convert the formal Maven dependency objects into vanilla pojo objects
|
static String |
getDependenciesCSV(List<org.kuali.common.util.maven.model.Dependency> dependencies)
Convert the list of dependencies into a CSV string
|
static Properties |
getInternalProperties(org.apache.maven.project.MavenProject project) |
static Properties |
getInternalProperties(org.apache.maven.project.MavenProject project,
org.apache.maven.settings.Settings settings) |
static String |
getPomLocation(org.apache.maven.project.MavenProject project) |
static org.kuali.common.core.scm.api.ScmType |
getScmType(org.apache.maven.model.Scm scm) |
static void |
nullSafeSet(Properties properties,
String key,
String value)
Don't call setProperty() if value is null
|
static void |
updateMavenScm(org.apache.maven.project.MavenProject project,
org.kuali.common.core.scm.api.ScmContext context) |
public MavenAwareUtils()
public static org.kuali.common.core.scm.api.ScmType getScmType(org.apache.maven.model.Scm scm)
public static void updateMavenScm(org.apache.maven.project.MavenProject project, org.kuali.common.core.scm.api.ScmContext context)
public static Properties getInternalProperties(org.apache.maven.project.MavenProject project, org.apache.maven.settings.Settings settings)
public static Properties getInternalProperties(org.apache.maven.project.MavenProject project)
public static void nullSafeSet(Properties properties, String key, String value)
public static String getPomLocation(org.apache.maven.project.MavenProject project)
public static List<org.kuali.common.util.maven.model.Dependency> convertToSimplePojos(List<org.apache.maven.model.Dependency> dependencies)
public static String getDependenciesCSV(List<org.kuali.common.util.maven.model.Dependency> dependencies)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.