Skip to content

CI/CD license validation stops working after upgrading to Vaadin 25.0 #23995

@F-Kamp

Description

@F-Kamp

Description of the bug

Hello,

my multi module Gradle Quarkus project is being built on Jenkins. After upgrading Vaadin from 24.8 to 25.0 the build stopped working.
I tried multiple things:

  1. Generating an offline key using the new format (mid2) for the VM on which Jenkins runs the builds
  2. Generating a server license key

I've tried supplying the license via environment variable and via Gradle property (-P ...). Nothing works with Vaadin 25.0. I always see the message that commercial features (Chart) are in use but no license is provided:

09:56:40  Execution failed for task ':dev-ui:vaadinBuildFrontend'.
09:56:40  > Commercial features require a subscription.
09:56:40    Your application contains the following commercial components and no license was found:
09:56:40    * vaadin-chart
09:56:40    
09:56:40    If you have an active subscription, please download the license key from https://vaadin.com/myaccount/licenses.
09:56:40    Otherwise go to https://vaadin.com/pricing to obtain a license.
09:56:40    
09:56:40    You can also build a watermarked version of the application configuring
09:56:40    the 'commercialWithBanner' property of the Maven or Gradle plugin
09:56:40    or run the build with the '-Dvaadin.commercialWithBanner' system parameter

Expected behavior

The existing server license should still work after updating Vaadin

Minimal reproducible example

Not really sure how I can create a reproducible example for this.
A minimal example demonstrating my build setup (Gradle, Quarkus, etc) can be found here

Versions

  • Vaadin / Flow version: 25.0.0
  • Java version: 21
  • OS version: Fedora 40
  • Browser version (if applicable):
  • Application Server (if applicable):
  • IDE (if applicable):

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    🔖 Normal Priority (P2)

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions