Class BootstrapMavenContext
- java.lang.Object
-
- io.quarkus.bootstrap.resolver.maven.BootstrapMavenContext
-
public class BootstrapMavenContext extends Object
-
-
Constructor Summary
Constructors Constructor Description BootstrapMavenContext()BootstrapMavenContext(BootstrapMavenContextConfig<?> config)
-
Method Summary
-
-
-
Constructor Detail
-
BootstrapMavenContext
public BootstrapMavenContext() throws BootstrapMavenException- Throws:
BootstrapMavenException
-
BootstrapMavenContext
public BootstrapMavenContext(BootstrapMavenContextConfig<?> config) throws BootstrapMavenException
- Throws:
BootstrapMavenException
-
-
Method Detail
-
config
public static BootstrapMavenContextConfig<?> config()
-
getCurrentProjectArtifact
public ArtifactCoords getCurrentProjectArtifact(String extension) throws BootstrapMavenException
- Throws:
BootstrapMavenException
-
getCurrentProject
public LocalProject getCurrentProject()
-
getWorkspace
public LocalWorkspace getWorkspace()
-
getCliOptions
public BootstrapMavenOptions getCliOptions()
-
getUserSettings
public File getUserSettings()
-
getGlobalSettings
public File getGlobalSettings()
-
isOffline
public boolean isOffline() throws BootstrapMavenException- Throws:
BootstrapMavenException
-
getRepositorySystem
public org.eclipse.aether.RepositorySystem getRepositorySystem() throws BootstrapMavenException- Throws:
BootstrapMavenException
-
getRepositorySystemSession
public org.eclipse.aether.RepositorySystemSession getRepositorySystemSession() throws BootstrapMavenException- Throws:
BootstrapMavenException
-
getRemoteRepositories
public List<org.eclipse.aether.repository.RemoteRepository> getRemoteRepositories() throws BootstrapMavenException
- Throws:
BootstrapMavenException
-
getRemotePluginRepositories
public List<org.eclipse.aether.repository.RemoteRepository> getRemotePluginRepositories() throws BootstrapMavenException
- Throws:
BootstrapMavenException
-
getEffectiveSettings
public org.apache.maven.settings.Settings getEffectiveSettings() throws BootstrapMavenException- Throws:
BootstrapMavenException
-
getLocalRepo
public String getLocalRepo() throws BootstrapMavenException
- Throws:
BootstrapMavenException
-
newDefaultRepository
public static org.eclipse.aether.repository.RemoteRepository newDefaultRepository()
-
getActiveSettingsProfiles
public List<org.apache.maven.model.Profile> getActiveSettingsProfiles() throws BootstrapMavenException
- Throws:
BootstrapMavenException
-
getRemoteRepositoryManager
public org.eclipse.aether.impl.RemoteRepositoryManager getRemoteRepositoryManager()
-
isCurrentProjectExists
public boolean isCurrentProjectExists()
-
getCurrentProjectPomOrNull
public Path getCurrentProjectPomOrNull()
-
getCurrentProjectBaseDir
public Path getCurrentProjectBaseDir()
-
getRootProjectBaseDir
public Path getRootProjectBaseDir()
-
isPreferPomsFromWorkspace
public boolean isPreferPomsFromWorkspace()
-
isEffectiveModelBuilder
public boolean isEffectiveModelBuilder()
-
isWorkspaceModuleParentHierarchy
public boolean isWorkspaceModuleParentHierarchy()
-
-