apache / apache/maven-help-plugin

[MPH-209] Improve rendering of project elements in Maven 4

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

Description

**[Guillaume Nodet](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=gnt)** opened **[MPH-209](https://issues.apache.org/jira/browse/MPH-209?redirect=false)** and commented

The Maven 4 api objects are not rendered correctly:

Output for `mvn help:evaluate -Dexpression=project.build.delegate.resources`

```xml

 
   
   
   
     
       
         
         
            40
            7
           
              org.apache.maven:maven-model-builder:4.0.0-4.0.0-alpha-8-SNAPSHOT:super-pom
              jar:file:/Users/gnodet/.sdkman/candidates/maven/1.0-m8-m40-mvnd/mvn/lib/maven-model-builder-4.0.0-alpha-8-SNAPSHOT.jar!/org/apache/maven/model/pom-4.0.0.xml
           
           
         
       
       
          excludes
       
       
          mergeId
       
       
          targetPath
       
       
          includes
       
       
          directory
         
            41
            9
           
           
         
       
       
          filtering
       
     
   
    /Users/gnodet/work/git/maven-help-plugin/src/main/resources
 
 
   
   
   
     
       
         
         
            43
            7
           
           
         
       
       
          excludes
       
       
          mergeId
       
       
          targetPath
       
       
          includes
       
       
          directory
         
            44
            9
           
           
         
       
       
          filtering
         
            45
            9
           
           
         
       
     
   
    /Users/gnodet/work/git/maven-help-plugin/src/main/resources-filtered
    true
 

```

Output for `mvn help:evaluate -Dexpression=project.build.resources`

```xml




```

---
No further details from [MPH-209](https://issues.apache.org/jira/browse/MPH-209?redirect=false)

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the two `mvn help:evaluate` commands shown in the issue and inspect how their project elements are rendered. The issue names no source files or tests; done means Maven 4 API objects render as useful project values rather than implementation-class XML output.

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
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.