[
https://issues.apache.org/jira/browse/MNG-8265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17892479#comment-17892479
]
abccbaandy commented on MNG-8265:
---------------------------------
I have update the description, hope it's explain my issue more clearly.
> 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>
> <dependency>
> <groupId>org.neo4j</groupId>
> <artifactId>neo4j-cypher-dsl-parser</artifactId>
> <version>${cypher-dsl.version}</version>
> </dependency>
> </dependencies>
> {code}
> 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
--
This message was sent by Atlassian Jira
(v8.20.10#820010)