apache / apache/maven-help-plugin

help:evaluate fail with snapshot dependency in dependencyManagement

Open
#420 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
29
Forks
42
Avg merge
1d 12h
Merged PRs (30d)
6

Description

### Affected version

3.5.2

### Bug description

i need read `-Dexpression=project.properties` from root pom(`packaging` - `pom` with modules). one of modules have `dependencyManagement` section with snapshot unavailable `dependency`(scope `import` type `pom`).

```
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Non-resolvable import POM: The following artifacts could not be resolved: org.example:lib-bom:pom:1.0.0-SNAPSHOT (absent): Could not find artifact org.example:lib-bom:pom:1.0.0-SNAPSHOT @ line 25, column 25
```

i think plugin must skip modules from read or i something don't understand?

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure with help:evaluate using -Dexpression=project.properties against the root pom and its modules. Inspect how the plugin reads the reactor when a module has an unresolved snapshot import in dependencyManagement; done means the expression can be evaluated without this resolution failure, or the supported limitation is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.