Skip to content
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

Better support for project inheritance in Maven/Java (pom.xml) #531

Closed
cuixq opened this issue Sep 12, 2023 · 1 comment
Closed

Better support for project inheritance in Maven/Java (pom.xml) #531

cuixq opened this issue Sep 12, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@cuixq
Copy link
Contributor

cuixq commented Sep 12, 2023

Currently pom.xml support does not support merging data from other projects.
However, there might be dependencies and properties defined in parent projects.

Context: https://maven.apache.org/guides/introduction/introduction-to-the-pom.html#Project_Inheritance

@oliverchang oliverchang added the enhancement New feature or request label Sep 12, 2023
@oliverchang
Copy link
Collaborator

Related: #35

@cuixq cuixq self-assigned this Dec 6, 2023
cuixq added a commit that referenced this issue Jun 7, 2024
#531

This PR merges parent pom.xml by paring locally or fetching from
upstream (Maven Central for now).

When merging a parent pom.xml, only `pom` packaging is allowed. Once we
fetch a parent from upstream, parsing from local is no longer allowed.

The project is also interpolated to get rid of properties, and
dependencies are also processed (dedup and import).
@cuixq cuixq closed this as completed Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants