Skip to content

failed to build parent project warning #3813

@rob975

Description

@rob975

Description

When running maven-assembly-plugin we get these warnings

[WARNING] Failed to build parent project for org.apache.logging.log4j:log4j-layout-template-json:jar:2.25.0
[WARNING] Failed to build parent project for org.apache.logging.log4j:log4j-api:jar:2.25.0
[WARNING] Failed to build parent project for org.apache.logging.log4j:log4j-core:jar:2.25.0
[WARNING] Failed to build parent project for org.apache.logging.log4j:log4j-jul:jar:2.25.0

No warning is shown with version 2.24.3.

Configuration

Version: 2.25.0

Operating system: Fedora Linux 42

JDK: Fedora Project OpenJDK 21

Logs

[WARNING] Failed to build parent project for org.apache.logging.log4j:log4j-api:jar:2.25.0
org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
[WARNING] 'build.plugins.plugin.version' for org.codehaus.gmavenplus:gmavenplus-plugin is missing. @ line 847, column 15
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-clean-plugin is missing. @ line 796, column 15
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-enforcer-plugin is missing. @ line 820, column 15
[ERROR] 'dependencies.dependency.version' for com.google.errorprone:error_prone_annotations:jar must be a valid version but is '${error-prone.version}'. @ line 705, column 16

Reproduction

Just create a project with log4j dependencies and a simple assembly descriptor:

<?xml version="1.0"?>
<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.2.0 https://maven.apache.org/xsd/assembly-2.2.0.xsd">
        <id>zip</id>
        <formats>
                <format>zip</format>
        </formats>
        <includeBaseDirectory>false</includeBaseDirectory>
        <dependencySets>
                <dependencySet>
                        <outputDirectory>/</outputDirectory>
                        <useProjectArtifact>true</useProjectArtifact>
                        <scope>runtime</scope>
                </dependencySet>
        </dependencySets>
</assembly>

Sub-issues

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