Skip to content

Log4j parent pom declares a dependency on com.google.errorprone:error_prone_annotations with an undefined version property #3893

@wilkinsona

Description

@wilkinsona

Description

The dependency is defined using ${error-prone.version} for its <version>:

<dependency>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_annotations</artifactId>
<version>${error-prone.version}</version>
<scope>provided</scope>
</dependency>

No such property is defined in the pom. Depending on how the pom is consumed and how strictly it is validated, this causes problems for consumers.

The problem was introduced in e08c7ba where the property was renamed to error-prone-annotations.version.

Configuration

Version: 2.25.1

Operating system: Any

JDK: Any

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions