Class LocalProject
java.lang.Object
io.quarkus.bootstrap.resolver.maven.workspace.LocalProject
- Author:
- Alexey Loubyansky
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionio.quarkus.maven.dependency.ResolvedDependencyio.quarkus.maven.dependency.ResolvedDependencygetAppArtifact(String extension) getDir()org.apache.maven.model.Modelio.quarkus.maven.dependency.ArtifactKeygetKey()org.apache.maven.model.building.ModelBuildingResultprotected longorg.apache.maven.model.Modelio.quarkus.paths.PathCollectionio.quarkus.paths.PathCollectionstatic LocalProjectstatic LocalProjectstatic LocalProjectLoads the workspace the current project belongs to.static LocalProjectloadWorkspace(BootstrapMavenContext ctx, List<WorkspaceModulePom> providedModules) static LocalProjectloadWorkspace(Path path) static LocalProjectloadWorkspace(Path path, boolean required) io.quarkus.bootstrap.workspace.WorkspaceModuleio.quarkus.bootstrap.workspace.WorkspaceModule
-
Field Details
-
PROJECT_GROUPID
- See Also:
-
POM_XML
- See Also:
-
-
Method Details
-
load
- Throws:
BootstrapMavenException
-
load
- Throws:
BootstrapMavenException
-
loadWorkspace
- Throws:
BootstrapMavenException
-
loadWorkspace
public static LocalProject loadWorkspace(Path path, boolean required) throws BootstrapMavenException - Throws:
BootstrapMavenException
-
loadWorkspace
Loads the workspace the current project belongs to. If current project does not exist then the method will return null.- Parameters:
ctx- bootstrap maven context- Returns:
- current project with the workspace or null in case the current project could not be resolved
- Throws:
BootstrapMavenException- in case of an error
-
loadWorkspace
public static LocalProject loadWorkspace(BootstrapMavenContext ctx, List<WorkspaceModulePom> providedModules) throws BootstrapMavenException - Throws:
BootstrapMavenException
-
getModelBuildingResult
public org.apache.maven.model.building.ModelBuildingResult getModelBuildingResult() -
getPomLastModified
protected long getPomLastModified() -
getLocalParent
-
getGroupId
-
getArtifactId
-
getVersion
-
getDir
-
getOutputDir
-
getCodeGenOutputDir
-
getGeneratedSourcesDir
-
getClassesDir
-
getTestClassesDir
-
getSourcesSourcesDir
-
getTestSourcesSourcesDir
-
getSourcesDir
-
getResourcesSourcesDirs
public io.quarkus.paths.PathCollection getResourcesSourcesDirs() -
getTestResourcesSourcesDirs
public io.quarkus.paths.PathCollection getTestResourcesSourcesDirs() -
getRawModel
public org.apache.maven.model.Model getRawModel() -
getEffectiveModel
public org.apache.maven.model.Model getEffectiveModel() -
getWorkspace
-
getKey
public io.quarkus.maven.dependency.ArtifactKey getKey() -
getPackaging
-
getAppArtifact
public io.quarkus.maven.dependency.ResolvedDependency getAppArtifact() -
getAppArtifact
-
resolveRelativeToBaseDir
-
toWorkspaceModule
public io.quarkus.bootstrap.workspace.WorkspaceModule toWorkspaceModule() -
toWorkspaceModule
-