Stephane Grenier
Stephane Grenier

Reputation: 15925

How to compile Vaadin 8 application since it's been discontinued

I suspect this is related to Vaadin 8 recently being discontinued. I'm trying to run a Vaadin 8 reference application as part of an upgrade effort to Vaadin Flow and today it's starting to give me maven compile errors that the dependencies are no longer available for Vaadin 8. For example I got the error "Failed to collect dependencies at com.vaadin:vaadin-charts" and so on with the details of the version. This is also happening for all Vaadin 8 dependencies, including all Vaadin 8 addons libraries. I need to run the reference application in my IDE but cannot find any way to do so.

Upvotes: 0

Views: 211

Answers (2)

Stephane Grenier
Stephane Grenier

Reputation: 15925

Turns out the issue was a combination of upgrading to Maven 3.8.1 (through an Intellij upgrade) as well as an older pom.xml using http for the vaadin addons library from version 8. To correct it I had to change the following in my pom.xml:

<repository>
    <id>vaadin-addons</id>
    <url>https://maven.vaadin.com/vaadin-addons</url>
</repository>

Specifically notice the <url> has https rather than http.

That being said I still have a remaining issue with Vaadin charts that no longer recognizes the class com.vaadin.addon.charts.model.style.SolidColor

The only working solution was to revert to Maven 3.6.3 as I could not make fully resolve it with Maven 3.8.1 even with the https change.

Upvotes: 0

Tatu Lund
Tatu Lund

Reputation: 10633

The last free public release of Vaadin 8 is version 8.14.3. The release is in maven central is not going to be removed. So it remains to be usable.

Upvotes: 1

Related Questions