You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "zosrothko (Jira)" <ji...@apache.org> on 2022/02/17 10:30:00 UTC
[jira] [Commented] (MNG-7269) Add multiple inheritance of parent projects
[ https://issues.apache.org/jira/browse/MNG-7269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17493845#comment-17493845 ]
zosrothko commented on MNG-7269:
--------------------------------
Hello
By looking at [MNG-5102|https://issues.apache.org/jira/browse/MNG-5102], I finally manage this BOM problem. But I need an extension that allow the imported BOM to be overriden by some new specs. As for exemple
{code:java}
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.scort</groupId>
<artifactId>mi</artifactId>
<version>4.4.0</version>
<scope>import</scope>
<type>pom</type>
<dependencies>
<dependency>
<groupId>foo</groupId>
<artifactId>bar</artifactId>
<scope>provided</scope>
</dependecy>
</dependencies>
</dependency>
{code}
The use case is the case where a customer wants to integrate the com.scor:mi jars in a war to run on Tomcat for exemple, while it would like also to integrate com.scort:mi jars as a module of a JBoss server, in which case, the artifacts should be marked as provided.
> Add multiple inheritance of parent projects
> -------------------------------------------
>
> Key: MNG-7269
> URL: https://issues.apache.org/jira/browse/MNG-7269
> Project: Maven
> Issue Type: New Feature
> Components: Inheritance and Interpolation
> Reporter: zosrothko
> Priority: Major
>
> Hello Maven people
> It would be nice to add the feature of multiples ihneritance of parent projects for any kind of module packaging. This would simplifies greatly the delivery of a software product build with multi modules artifacts and by consequence the intégration of such products in a customer maven based application.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)