You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Guillaume Nodet (Jira)" <ji...@apache.org> on 2024/10/24 13:03:00 UTC
[jira] [Reopened] (MNG-8265) Dependency should inherit properties like parent
[ https://issues.apache.org/jira/browse/MNG-8265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet reopened MNG-8265:
----------------------------------
> Dependency should inherit properties like parent
> ------------------------------------------------
>
> Key: MNG-8265
> URL: https://issues.apache.org/jira/browse/MNG-8265
> Project: Maven
> Issue Type: Improvement
> Reporter: abccbaandy
> Priority: Major
>
> Now only parent have these feature, but sometimes we need some properties from the dependency too.
> For ex:
> We have a spring project
> {code:xml}
> <parent>
> <groupId>org.springframework.boot</groupId>
> <artifactId>spring-boot-starter-parent</artifactId>
> <version>3.3.4</version>
> <relativePath/> <!-- lookup parent from repository -->
> </parent>
> <dependencies>
> <dependency>
> <groupId>org.springframework.boot</groupId>
> <artifactId>spring-boot-starter-data-neo4j</artifactId>
> </dependency>
> </dependencies>
> {code}
> If I want reuse the properties in the child of `spring-boot-starter-data-neo4j`, it's not possible right now.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)