Skip to content

PiT 25.1: commons-io dependency missing version, fails with Spring Boot 4.x #330

@manolo

Description

@manolo

Description

The commons-io dependency in pom.xml (line 125) has no explicit version:

<dependency>
    <groupId>commons-io</groupId>
    <artifactId>commons-io</artifactId>
    <scope>compile</scope>
</dependency>

With Vaadin 25.0.x (Spring Boot 3.x), the version was resolved transitively from the Spring Boot BOM. With Vaadin 25.1.x (Spring Boot 4.x), commons-io is no longer managed by the Spring Boot BOM, so Maven fails:

[ERROR] 'dependencies.dependency.version' for commons-io:commons-io:jar is missing. @ line 125, column 21

Fix

Add explicit version:

<dependency>
    <groupId>commons-io</groupId>
    <artifactId>commons-io</artifactId>
    <version>2.21.0</version>
    <scope>compile</scope>
</dependency>

Environment

  • Vaadin 25.1.0-beta1 (Spring Boot 4.0.3)
  • Passes with Vaadin 25.0.6 (Spring Boot 3.x)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions