Skip to content

Conversation

@rob975
Copy link

@rob975 rob975 commented Jul 18, 2025

This is a PR that addresses apache/logging-log4j2#3834 (comment).
Command:

mvn -X package -pl :log4j-assembly-test -am

will show:

[DEBUG] Error retrieving POM of module-dependency: org.apache.logging.log4j:log4j-jul:jar:2.25.0; Reason: Some problems were encountered while processing the POMs:
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 81, column 15
[WARNING] 'build.plugins.plugin.version' for org.codehaus.gmavenplus:gmavenplus-plugin is missing. @
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-clean-plugin is missing. @
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-enforcer-plugin is missing. @
[ERROR] 'dependencies.dependency.version' for com.google.errorprone:error_prone_annotations:jar must be a valid version but is '${error-prone.version}'. @

The assembly contains all dependencies, so the error seems non-blocking. I would not rely on it, though.

@ppkarwasz
Copy link
Contributor

Hi @rob975,

Thanks for the example. I'll look into it to see if we manage to make the build fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants