public class BootstrapMavenContext extends Object
| Constructor and Description |
|---|
BootstrapMavenContext() |
BootstrapMavenContext(BootstrapMavenContextConfig<?> config) |
public BootstrapMavenContext()
throws AppModelResolverException
AppModelResolverExceptionpublic BootstrapMavenContext(BootstrapMavenContextConfig<?> config) throws AppModelResolverException
AppModelResolverExceptionpublic static BootstrapMavenContextConfig<?> config()
public AppArtifact getCurrentProjectArtifact(String extension) throws AppModelResolverException
AppModelResolverExceptionpublic LocalWorkspace getWorkspace()
public BootstrapMavenOptions getCliOptions()
public File getUserSettings()
public File getGlobalSettings()
public boolean isOffline()
throws AppModelResolverException
AppModelResolverExceptionpublic org.eclipse.aether.RepositorySystem getRepositorySystem()
throws AppModelResolverException
AppModelResolverExceptionpublic org.eclipse.aether.RepositorySystemSession getRepositorySystemSession()
throws AppModelResolverException
AppModelResolverExceptionpublic List<org.eclipse.aether.repository.RemoteRepository> getRemoteRepositories() throws AppModelResolverException
AppModelResolverExceptionpublic org.apache.maven.settings.Settings getEffectiveSettings()
throws AppModelResolverException
AppModelResolverExceptionpublic String getLocalRepo() throws AppModelResolverException
AppModelResolverExceptionpublic static String resolveLocalRepo(org.apache.maven.settings.Settings settings)
public static org.eclipse.aether.repository.RemoteRepository newDefaultRepository()
public List<org.apache.maven.model.Profile> getActiveSettingsProfiles() throws AppModelResolverException
AppModelResolverExceptionpublic org.eclipse.aether.impl.RemoteRepositoryManager getRemoteRepositoryManager()
public boolean isCurrentProjectExists()
public Path getCurrentProjectPomOrNull()
public Path getCurrentProjectBaseDir()
public Path getRootProjectBaseDir()
Copyright © 2020 JBoss by Red Hat. All rights reserved.