Class LocalProject
- java.lang.Object
-
- io.quarkus.bootstrap.resolver.maven.workspace.LocalProject
-
public class LocalProject extends Object
- Author:
- Alexey Loubyansky
-
-
Field Summary
Fields Modifier and Type Field Description static StringPROJECT_GROUPID
-
Method Summary
-
-
-
Field Detail
-
PROJECT_GROUPID
public static final String PROJECT_GROUPID
- See Also:
- Constant Field Values
-
-
Method Detail
-
load
public static LocalProject load(Path path) throws BootstrapMavenException
- Throws:
BootstrapMavenException
-
load
public static LocalProject load(Path path, boolean required) throws BootstrapMavenException
- Throws:
BootstrapMavenException
-
loadWorkspace
public static LocalProject loadWorkspace(Path path) throws BootstrapMavenException
- Throws:
BootstrapMavenException
-
loadWorkspace
public static LocalProject loadWorkspace(Path path, boolean required) throws BootstrapMavenException
- Throws:
BootstrapMavenException
-
loadWorkspace
public static LocalProject loadWorkspace(BootstrapMavenContext ctx) throws BootstrapMavenException
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
-
getLocalParent
public LocalProject getLocalParent()
-
getGroupId
public String getGroupId()
-
getArtifactId
public String getArtifactId()
-
getVersion
public String getVersion()
-
getDir
public Path getDir()
-
getOutputDir
public Path getOutputDir()
-
getCodeGenOutputDir
public Path getCodeGenOutputDir()
-
getClassesDir
public Path getClassesDir()
-
getTestClassesDir
public Path getTestClassesDir()
-
getSourcesSourcesDir
public Path getSourcesSourcesDir()
-
getTestSourcesSourcesDir
public Path getTestSourcesSourcesDir()
-
getSourcesDir
public Path getSourcesDir()
-
getResourcesSourcesDirs
public PathsCollection getResourcesSourcesDirs()
-
getTestResourcesSourcesDirs
public PathsCollection getTestResourcesSourcesDirs()
-
getModelBuildingResult
public org.apache.maven.model.building.ModelBuildingResult getModelBuildingResult()
-
getRawModel
public org.apache.maven.model.Model getRawModel()
-
getWorkspace
public LocalWorkspace getWorkspace()
-
getKey
public AppArtifactKey getKey()
-
getAppArtifact
public AppArtifact getAppArtifact()
-
getAppArtifact
public AppArtifact getAppArtifact(String extension)
-
-