How to get a license for github action?

I signed up for a trial to use Grid Pro. I tried to deploy to production:

Error:  Your application contains the following commercial components and no license was found:
Error:  * vaadin-grid-pro
Error:  
Error:  If you have an active subscription, please download the license key from https://vaadin.com/myaccount/licenses.
Error:  Otherwise go to https://vaadin.com/pricing to obtain a license.

So I signed up for a subscription (A00006474).

The docs say I need to download a license. License page is empty.

No licensing expert… but…

  • plus is not applicable to Grid Pro, it needs Pro
  • As far as I know is a trial license not applicable to create a production build
  • You might wanna consider upgrading to 24.9… there was a recent improvement to show-case pro components with a watermark
2 Likes

Yes! I saw the note about the watermark. I might have to do that.

You might wanna consider upgrading to 24.9… there was a recent improvement to show-case pro components with a watermark

Do you know where this is explained in the docs?

Ah, I found this blog post.

And since 30 days can go by quickly, you still have a safe fallback. If your trial has expired but you need to demo your app in production, start it with the -Dvaadin.commercialWithBanner parameter. This adds a visible banner stating that the app is running in trial mode, which is ideal for stakeholder reviews, MVPs, and internal demos.

I tried adding -Dvaadin.commercialWithBanner to my VM options in Intellij, but it doesn’t seem to work.

That parameter is only for production mode as far as I know

Edit: it needs to be passed as configuration Parameter to the vaadin-maven-plugin

2 Likes

As @knoobie said. The parameter allows you to create a production build for an application that uses commercial components, but it shows a little banner on the UI

1 Like

Actually, the blog post is not clear about the usage of the flag. I forwarded this internally to fix it.
The system parameter must be used when building the application; it is not required to start it.

1 Like

Ok, I might need someone to spell it out for me.

I tried:

            <plugin>
                <groupId>com.vaadin</groupId>
                <artifactId>vaadin-maven-plugin</artifactId>
                <version>${vaadin.version}</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>prepare-frontend</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <commercialWithBanner>true</commercialWithBanner>
                </configuration>
            </plugin>

But that didn’t work:

Did you make a production build (build-frontend) and execute the data jar (assuming you have a Spring Boot based project)?

The banner is only for production builds.

If you did, and it doesn’t work please post the build logs

Ah, ok, no. Thanks for clarifying. I just tried to run it from Intellij.

Why is this feature only available for production builds? How can I build it if I can’t work with it in dev mode? Maybe that’s the point? I guess I thought this was a way for me to use paid components for free, but probably not.

In dev mode you start the trial, or extend it. But once the trial is expired, you need a license (or you wait until you can start a new trial)
But in the meantime you can do a production build with the banner

1 Like