I downloaded a Java-based starter app for Vaadin 14.0.11 from the Start a new project with Vaadin page.
When I run my app, and use a browser to connect to http://localhost:8080/
I get this message displayed as a pink overlay above my app content (the "Download" H1
title):
This application is using components which are part of a Vaadin subscription.
Click here to get a trial or validate your subscription
Screenshot:
I am confused. I thought Vaadin Flow is an open-source project available free-of-cost? I do not want a subscription at this time.
In your project POM, change this:
<artifactId>vaadin</artifactId>
…to this, adding -core
:
<artifactId>vaadin-core</artifactId>
Yes, Vaadin is indeed an open-source project. Yes, you can build web apps free-of-cost.
The Vaadin Ltd company sells some additional products with special functionality, as well as selling consulting and training services. Those commercial products are clearly labeled in the catalog mentioned above. For example, Vaadin comes bundled with free-of-cost widgets for single-line & multi-line text entry, while they sell commercially a rich text editor. This is called open core business model. With this business model Vaadin Ltd can sustain development and maintenance of the free open source offering. So it is win-win both for those who use free and commercial offering.
You can very easily configure your new Vaadin project to avoid any possible use of the commercial widgets. As your only take-away from this page, just remember the word "core". Search your project’s POM for that word core
. You will find a comment saying:
<dependencies>
<dependency>
<groupId>com.vaadin</groupId>
<!-- Replace artifactId with vaadin-core to use only free components -->
<artifactId>vaadin</artifactId>
…
➥ Simply change that value on the artifactId
element from vaadin
to vaadin-core
.
<dependencies>
<dependency>
<groupId>com.vaadin</groupId>
<!-- Replace artifactId with vaadin-core to use only free components -->
<artifactId>vaadin-core</artifactId>
…
I suggest doing a Maven clean
and install
. When you run your project, you should no longer see that pink message.
If you ever wish to try the commercial widgets, change that element back, removing the -core
part, and follow the terms of their licensing.