Class MavenBuildFile
- java.lang.Object
-
- io.quarkus.devtools.project.buildfile.BuildFile
-
- io.quarkus.devtools.project.buildfile.MavenBuildFile
-
- All Implemented Interfaces:
ExtensionManager
@Deprecated public class MavenBuildFile extends BuildFile
Deprecated.MavenProjectBuildFileshould be used in place of this class.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.quarkus.devtools.project.extensions.ExtensionManager
ExtensionManager.InstallResult, ExtensionManager.UninstallResult
-
-
Constructor Summary
Constructors Constructor Description MavenBuildFile(Path projectDirPath, ExtensionCatalog catalog)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected booleanaddDependency(io.quarkus.maven.dependency.ArtifactCoords coords, boolean managed)Deprecated.BuildToolgetBuildTool()Deprecated.List<io.quarkus.maven.dependency.ArtifactCoords>getDependencies()Deprecated.Collection<io.quarkus.maven.dependency.ArtifactCoords>getInstalledPlatforms()Deprecated.Returns the list of the imported platforms in the current project.StringgetProperty(String propertyName)Deprecated.protected booleanimportBom(io.quarkus.maven.dependency.ArtifactCoords coords)Deprecated.protected voidrefreshData()Deprecated.protected voidremoveDependency(io.quarkus.maven.dependency.ArtifactKey key)Deprecated.voidwriteToDisk()Deprecated.-
Methods inherited from class io.quarkus.devtools.project.buildfile.BuildFile
getInstalled, getProjectDirPath, hasProjectFile, install, install, isDefinedInRegistry, readProjectFile, uninstall, writeToProjectFile
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.quarkus.devtools.project.extensions.ExtensionManager
isInstalled
-
-
-
-
Constructor Detail
-
MavenBuildFile
public MavenBuildFile(Path projectDirPath, ExtensionCatalog catalog)
Deprecated.
-
-
Method Detail
-
writeToDisk
public void writeToDisk() throws IOExceptionDeprecated.- Specified by:
writeToDiskin classBuildFile- Throws:
IOException
-
importBom
protected boolean importBom(io.quarkus.maven.dependency.ArtifactCoords coords)
Deprecated.
-
addDependency
protected boolean addDependency(io.quarkus.maven.dependency.ArtifactCoords coords, boolean managed)Deprecated.- Specified by:
addDependencyin classBuildFile
-
removeDependency
protected void removeDependency(io.quarkus.maven.dependency.ArtifactKey key) throws IOExceptionDeprecated.- Specified by:
removeDependencyin classBuildFile- Throws:
IOException
-
getDependencies
public List<io.quarkus.maven.dependency.ArtifactCoords> getDependencies() throws IOException
Deprecated.- Specified by:
getDependenciesin classBuildFile- Throws:
IOException
-
getInstalledPlatforms
public final Collection<io.quarkus.maven.dependency.ArtifactCoords> getInstalledPlatforms() throws IOException
Deprecated.Description copied from interface:ExtensionManagerReturns the list of the imported platforms in the current project.- Returns:
- current list of imported platforms
- Throws:
IOException- if a problem occurs while reading the project build file(s)
-
refreshData
protected void refreshData()
Deprecated.- Specified by:
refreshDatain classBuildFile
-
getProperty
public String getProperty(String propertyName)
Deprecated.- Specified by:
getPropertyin classBuildFile
-
-