[
https://issues.apache.org/jira/browse/MNG-8265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17892441#comment-17892441
]
abccbaandy commented on MNG-8265:
---------------------------------
How about use something like this?
https://github.com/spring-gradle-plugins/dependency-management-plugin/issues/396#issuecomment-2378718937
> 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)