apache / apache/maven

[MNG-8265] Dependency should inherit properties like parent

Open
#10,372 10 comments 0 reactions 0 assignees View on GitHub
enhancement priority:major
Dominant language
Java
Stars
5.3k
Forks
3.1k
Avg merge
20h 42m
Merged PRs (30d)
297

Description

**[abccbaandy](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=abccbaandy)** opened **[MNG-8265](https://issues.apache.org/jira/browse/MNG-8265?redirect=false)** and commented

Now only parent have these feature, but sometimes we need some properties from the dependency too.
For ex:
We have a spring project

```xml

org.springframework.boot
spring-boot-starter-parent
3.3.4



org.springframework.boot
spring-boot-starter-data-neo4j


org.neo4j
neo4j-cypher-dsl-parser
${cypher-dsl.version}


```

If I want reuse the properties in the child of `spring-boot-starter-data-neo4j`, it's not possible right now.
The `cypher-dsl.version` is from `spring-boot-starter-data-neo4j`
https://github.com/spring-projects/spring-data-neo4j/blob/7.3.3/pom.xml#L79

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.