apache / apache/netbeans

Allow Maven Embedder to build a model from in-memory buffer

Open
#6,973 0 comments 0 reactions 0 assignees View on GitHub
kind:feature Maven
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Description

Maven Embedder exposes API to create a project `Model` from a POM file on a disk. To analyse editor changes, it could be better to have an API that uses `ModelSource` that aloows to read live document contents.

### Use case/motivation

_No response_

### Related issues

_No response_

### Are you willing to submit a pull request?

Yes

Contributor guide

Open the contributing guide

Research direction

Start with the Maven Embedder API that currently creates a project Model from a POM file on disk, then inspect how ModelSource is used. Define the in-memory buffer entry point needed for live editor document contents; done means editor analysis can build a Model without requiring a disk POM.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, developer-experience
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.