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