Class VaadinVersionUpdate

java.lang.Object
com.vaadin.copilot.plugins.vaadinversionupdate.VaadinVersionUpdate

public class VaadinVersionUpdate extends Object
Handles updating the Vaadin version in a project using Maven.
  • Constructor Details

    • VaadinVersionUpdate

      public VaadinVersionUpdate(com.vaadin.flow.server.startup.ApplicationConfiguration applicationConfiguration)
      Constructs a VaadinVersionUpdate instance.
      Parameters:
      applicationConfiguration - the application configuration providing project settings
  • Method Details

    • updateVaadinVersion

      public void updateVaadinVersion(String newVersion, boolean preRelease)
      Updates the Vaadin version in the project's configuration files.
      Parameters:
      newVersion - the new Vaadin version to set
      preRelease - true if version is preRelease, false otherwise
      Throws:
      CopilotException - if the Vaadin BOM dependency is not found or if Gradle is used