Class MavenBuildFile
java.lang.Object
io.quarkus.devtools.project.buildfile.BuildFile
io.quarkus.devtools.project.buildfile.MavenBuildFile
- All Implemented Interfaces:
ExtensionManager
Deprecated.
MavenProjectBuildFile should 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
ConstructorsConstructorDescriptionMavenBuildFile(Path projectDirPath, io.quarkus.registry.catalog.ExtensionCatalog catalog) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanaddDependency(io.quarkus.maven.dependency.ArtifactCoords coords, boolean managed) Deprecated.Deprecated.List<io.quarkus.maven.dependency.ArtifactCoords> Deprecated.final Collection<io.quarkus.maven.dependency.ArtifactCoords> Deprecated.Returns the list of the imported platforms in the current project.getProperty(String propertyName) Deprecated.protected booleanimportBom(io.quarkus.maven.dependency.ArtifactCoords coords) Deprecated.protected voidDeprecated.protected voidremoveDependency(io.quarkus.maven.dependency.ArtifactKey key) Deprecated.voidDeprecated.Methods inherited from class io.quarkus.devtools.project.buildfile.BuildFile
getInstalled, getProjectDirPath, hasProjectFile, install, install, isDefinedInRegistry, readProjectFile, uninstall, writeToProjectFile, writeToProjectFileMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.quarkus.devtools.project.extensions.ExtensionManager
isInstalled
-
Constructor Details
-
MavenBuildFile
Deprecated.
-
-
Method Details
-
writeToDisk
Deprecated.- 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
Deprecated.- Specified by:
removeDependencyin classBuildFile- Throws:
IOException
-
getDependencies
Deprecated.- Specified by:
getDependenciesin classBuildFile- Throws:
IOException
-
getInstalledPlatforms
public final Collection<io.quarkus.maven.dependency.ArtifactCoords> getInstalledPlatforms() throws IOExceptionDeprecated.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
Deprecated.- Specified by:
getPropertyin classBuildFile
-
getBuildTool
Deprecated.- Returns:
- the
BuildToolof this extension manager
-