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.
MavenProjectBuildFile should be used in place of this class.
  • Constructor Details

    • MavenBuildFile

      public MavenBuildFile(Path projectDirPath, io.quarkus.registry.catalog.ExtensionCatalog catalog)
      Deprecated.
  • Method Details

    • writeToDisk

      public void writeToDisk() throws IOException
      Deprecated.
      Specified by:
      writeToDisk in class BuildFile
      Throws:
      IOException
    • importBom

      protected boolean importBom(io.quarkus.maven.dependency.ArtifactCoords coords)
      Deprecated.
      Specified by:
      importBom in class BuildFile
    • addDependency

      protected boolean addDependency(io.quarkus.maven.dependency.ArtifactCoords coords, boolean managed)
      Deprecated.
      Specified by:
      addDependency in class BuildFile
    • removeDependency

      protected void removeDependency(io.quarkus.maven.dependency.ArtifactKey key) throws IOException
      Deprecated.
      Specified by:
      removeDependency in class BuildFile
      Throws:
      IOException
    • getDependencies

      public List<io.quarkus.maven.dependency.ArtifactCoords> getDependencies() throws IOException
      Deprecated.
      Specified by:
      getDependencies in class BuildFile
      Throws:
      IOException
    • getInstalledPlatforms

      public final Collection<io.quarkus.maven.dependency.ArtifactCoords> getInstalledPlatforms() throws IOException
      Deprecated.
      Description copied from interface: ExtensionManager
      Returns 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:
      refreshData in class BuildFile
    • getProperty

      public String getProperty(String propertyName)
      Deprecated.
      Specified by:
      getProperty in class BuildFile
    • getBuildTool

      public BuildTool getBuildTool()
      Deprecated.
      Returns:
      the BuildTool of this extension manager