public class MavenUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MavenUtils.DepsAndRepos |
| Modifier and Type | Method and Description |
|---|---|
Iterator<net.thevpc.nuts.NutsId> |
createArchetypeCatalogIterator(InputStream stream,
net.thevpc.nuts.NutsIdFilter filter,
boolean autoClose,
net.thevpc.nuts.NutsSession session) |
static PomIdResolver |
createPomIdResolver(net.thevpc.nuts.NutsSession session) |
MavenUtils.DepsAndRepos |
loadDependenciesAndRepositoriesFromPomPath(net.thevpc.nuts.NutsId rid,
net.thevpc.nuts.spi.NutsRepositoryLocation[] bootRepositories,
net.thevpc.nuts.NutsSession session) |
MavenUtils.DepsAndRepos |
loadDependenciesAndRepositoriesFromPomPath(String urlPath,
net.thevpc.nuts.spi.NutsRepositoryLocation[] bootRepositories,
net.thevpc.nuts.NutsSession session) |
MavenUtils.DepsAndRepos |
loadDependenciesAndRepositoriesFromPomUrl(String url,
net.thevpc.nuts.NutsSession session) |
static MavenUtils |
of(net.thevpc.nuts.NutsSession session) |
MavenMetadata |
parseMavenMetaData(InputStream metadataStream,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsDescriptor |
parsePomXml(InputStream stream,
net.thevpc.nuts.NutsFetchMode fetchMode,
String urlDesc,
net.thevpc.nuts.NutsRepository repository) |
net.thevpc.nuts.NutsDescriptor |
parsePomXmlAndResolveParents(InputStream stream,
net.thevpc.nuts.NutsFetchMode fetchMode,
String urlDesc,
net.thevpc.nuts.NutsRepository repository) |
net.thevpc.nuts.NutsDescriptor |
parsePomXmlAndResolveParents(net.thevpc.nuts.NutsPath path,
net.thevpc.nuts.NutsFetchMode fetchMode,
net.thevpc.nuts.NutsRepository repository) |
net.thevpc.nuts.NutsId |
resolveLatestMavenId(net.thevpc.nuts.NutsId zId,
Predicate<String> filter,
net.thevpc.nuts.NutsSession session)
find latest maven package
|
net.thevpc.nuts.NutsEnvCondition |
toCondition(net.thevpc.nuts.NutsSession session,
String os0,
String arch0,
PomProfileActivation a,
String profile) |
net.thevpc.nuts.NutsDependency[] |
toNutsDependencies(PomDependency[] deps,
net.thevpc.nuts.NutsSession session,
Pom pom,
PomProfileActivation ac,
String profile) |
net.thevpc.nuts.NutsDependency |
toNutsDependency(PomDependency d,
net.thevpc.nuts.NutsSession session,
Pom pom,
PomProfileActivation a,
String profile) |
net.thevpc.nuts.NutsId |
toNutsId(PomId d) |
net.thevpc.nuts.NutsId[] |
toNutsId(PomId[] ids) |
String |
toNutsVersion(String version) |
public static MavenUtils of(net.thevpc.nuts.NutsSession session)
public static PomIdResolver createPomIdResolver(net.thevpc.nuts.NutsSession session)
public net.thevpc.nuts.NutsId[] toNutsId(PomId[] ids)
public net.thevpc.nuts.NutsDependency[] toNutsDependencies(PomDependency[] deps, net.thevpc.nuts.NutsSession session, Pom pom, PomProfileActivation ac, String profile)
public net.thevpc.nuts.NutsId toNutsId(PomId d)
public net.thevpc.nuts.NutsEnvCondition toCondition(net.thevpc.nuts.NutsSession session,
String os0,
String arch0,
PomProfileActivation a,
String profile)
public net.thevpc.nuts.NutsDependency toNutsDependency(PomDependency d, net.thevpc.nuts.NutsSession session, Pom pom, PomProfileActivation a, String profile)
public net.thevpc.nuts.NutsDescriptor parsePomXml(InputStream stream, net.thevpc.nuts.NutsFetchMode fetchMode, String urlDesc, net.thevpc.nuts.NutsRepository repository)
public net.thevpc.nuts.NutsDescriptor parsePomXmlAndResolveParents(net.thevpc.nuts.NutsPath path,
net.thevpc.nuts.NutsFetchMode fetchMode,
net.thevpc.nuts.NutsRepository repository)
throws IOException
IOExceptionpublic net.thevpc.nuts.NutsDescriptor parsePomXmlAndResolveParents(InputStream stream, net.thevpc.nuts.NutsFetchMode fetchMode, String urlDesc, net.thevpc.nuts.NutsRepository repository)
public Iterator<net.thevpc.nuts.NutsId> createArchetypeCatalogIterator(InputStream stream, net.thevpc.nuts.NutsIdFilter filter, boolean autoClose, net.thevpc.nuts.NutsSession session)
public MavenMetadata parseMavenMetaData(InputStream metadataStream, net.thevpc.nuts.NutsSession session)
public MavenUtils.DepsAndRepos loadDependenciesAndRepositoriesFromPomPath(net.thevpc.nuts.NutsId rid, net.thevpc.nuts.spi.NutsRepositoryLocation[] bootRepositories, net.thevpc.nuts.NutsSession session)
public MavenUtils.DepsAndRepos loadDependenciesAndRepositoriesFromPomPath(String urlPath, net.thevpc.nuts.spi.NutsRepositoryLocation[] bootRepositories, net.thevpc.nuts.NutsSession session)
public MavenUtils.DepsAndRepos loadDependenciesAndRepositoriesFromPomUrl(String url, net.thevpc.nuts.NutsSession session)
Copyright © 2022 vpc open source initiative. All rights reserved.