public class MavenUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CENTRAL_MAVEN_REPO_NAME
name of the maven settings sub-repository pointing to the remote maven
repository (the maven
remoteRepository setting, maven central by default). |
static String |
EXTRA_MAVEN_REPO_NAME
prefix of the maven settings sub-repository names coming from maven
profiles and mirrors entries. |
static String |
LOCAL_MAVEN_REPO_NAME
name of the maven settings sub-repository pointing to the local maven
repository (the maven
localRepository setting, ~/.m2/repository
by default). |
public static final String LOCAL_MAVEN_REPO_NAME
localRepository setting, ~/.m2/repository
by default). This is the name to use in --repos selectors.public static final String CENTRAL_MAVEN_REPO_NAME
remoteRepository setting, maven central by default).public static final String EXTRA_MAVEN_REPO_NAME
profiles and mirrors entries.public static MavenUtils of()
public static NPomIdResolver createPomIdResolver()
public NDependency[] toNutsDependencies(NPomDependency[] deps, NPom pom, NPomProfileActivation ac, String profile)
public NEnvCondition toCondition(String os0, String arch0, NPomProfileActivation a, String profile)
public NDependency toNutsDependency(NPomDependency d, NPom pom, NPomProfileActivation a, String profile)
public NDescriptor parsePomXml(InputStream stream, NFetchMode fetchMode, String urlDesc, NRepository repository)
public NDescriptor parsePomXmlAndResolveParents(NPath path, NFetchMode fetchMode, NRepository repository)
public NDescriptor parsePomXmlAndResolveParents(InputStream stream, NFetchMode fetchMode, String urlDesc, NRepository repository)
public MavenMetadata parseMavenMetaData(InputStream metadataStream)
public NArtifactCall parseCall(String callString, String scriptName, String scriptContent)
public static boolean isMavenSettingsRepository(NRepositorySpec options)
Copyright © 2026 vpc open source initiative. All rights reserved.