How to upgrade from beta10 to beta12

Hi,
I’m using beta10 and have some strange problems. So I try to upgrade to beta12 (https://github.com/vaadin/flow/releases/tag/1.0.0.beta12)
As far as I know I should just change version in POM file. But I get an error. Error is the some if I upgrade on beta 11. I delete local Maven repository.

From :
<vaadin.version>10.0.0.beta10</vaadin.version>
<flow.maven.plugin.version>1.0.0.beta10</flow.maven.plugin.version>

To :
<vaadin.version>10.0.0.beta12</vaadin.version>
<spring-boot.version>2.0.0.RELEASE</spring-boot.version>
<flow.maven.plugin.version>1.0.0.beta12</flow.maven.plugin.version>

Error :
Downloading: https://maven.vaadin.com/vaadin-prereleases/com/vaadin/vaadin-bom/10.0.0.beta12/vaadin-bom-10.0.0.beta12.pom
Downloading: http://maven.vaadin.com/vaadin-addons/com/vaadin/vaadin-bom/10.0.0.beta12/vaadin-bom-10.0.0.beta12.pom
Downloading: https://repo.spring.io/milestone/com/vaadin/vaadin-bom/10.0.0.beta12/vaadin-bom-10.0.0.beta12.pom
Downloading: https://repo.maven.apache.org/maven2/com/vaadin/vaadin-bom/10.0.0.beta12/vaadin-bom-10.0.0.beta12.pom
[ERROR]
[ERROR]
Some problems were encountered while processing the POMs:
[ERROR]
Non-resolvable import POM: Could not find artifact com.vaadin:vaadin-bom:pom:10.0.0.beta12 in vaadin-prereleases (https://maven.vaadin.com/vaadin-prereleases) @ line 54, column 25
[ERROR]
‘dependencies.dependency.version’ for com.vaadin:vaadin-core:jar is missing. @ line 72, column 21
[ERROR]
‘dependencies.dependency.version’ for com.vaadin:vaadin-spring-boot-starter:jar is missing. @ line 77, column 21

You are mixing Flow versions with platform versions. The latest platform version is 10.0.0.beta11, the latest Flow version is 1.0.0.beta12

To make it easier, you no longer need the Flow version for anything. Instead of using flow-maven-plugin 1.0.0.something, you can use vaadin-maven-plugin with the same vaadin.version

Thank you for your help, but unfortunately i am missing something.

  1. If i change in POM on :
        <vaadin.version>10.0.0.beta11</vaadin.version>
        <spring-boot.version>2.0.0.RELEASE</spring-boot.version>
        <flow.maven.plugin.version>1.0.0.beta12</flow.maven.plugin.version>

Result :
[ERROR]
[ERROR]
Some problems were encountered while processing the POMs:
[ERROR]
‘dependencies.dependency.version’ for com.vaadin:vaadin-spring-boot-starter:jar is missing. @ line 77, column 21

  1. I also try :
        <vaadin.version>10.0.0.beta11</vaadin.version>
        <spring-boot.version>2.0.0.RELEASE</spring-boot.version>
        <!--
        <flow.maven.plugin.version>1.0.0.beta12</flow.maven.plugin.version>
        -->

And got the some error as (1).

I also check “Base Starter for Vaadin Flow and Spring” and it has beta10 version.
P.S. : i would like to upgrade on latest version because my app is not working when deploy in production. When I press any button, combobox event, etc… - nothing is happening (no event on server).

Hi,
I also try not valid version for “flow.maven.plugin.version” variable. And build is perform without problems. So it looks like “flow.maven.plugin.version” is not use anymore.

        <vaadin.version>10.0.0.beta10</vaadin.version>
        <spring-boot.version>2.0.0.RELEASE</spring-boot.version>
        <flow.maven.plugin.version>1.0.0.NOT_VALID</flow.maven.plugin.version>

As i can see you just release 1.0.0.rc1 version. How can I use this one?

There should be a platform 10.0.0.rc1 release shortly and all the starters should be updated to that. You should no longer need any flow.maven.plugin.version at all.

Thank you - i check starter project in update my POM and now it’s the update version.