Skip to content

Maven: Repro for issue 3834 #352

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Maven: Repro for issue 3834 #352

wants to merge 1 commit into from

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