Re: MultiMaven project with by sharing dependencyManagement on parent pom

2022-06-06 Thread Nils Breunese
I don’t believe you can _include_ plugins and plugin dependencies, as far as I 
know you can only _inherit_ them from a parent. And an artifact can only have 
one parent.

There’s import for BOM artifacts, but that only ‘includes’ the 
entries from the BOM’s  section, and doesn’t do anything 
with plugins.

Nils.

> Op 6 jun. 2022, om 20:13 heeft Philipp Kraus  
> het volgende geschreven:
> 
> Hello,
> 
> I have got a MultiMaven project and within this project I have got two parent 
> poms. One of these parent inherits from an external parent. So I would like 
> to share all my build plugins and pluginManagemnt section, like
> 
> My-multi-maven-pom.xml
> 
>   my-plugins-and-pluginDependencies-pom.xml
> 
>   my-parent-pom.xml 
>   -> includes -> my-plugins-and-pluginDependencies-pom.xml
> 
>   my-external-parent-pom.xml 
>   -> inherits -> external-parent-pom.xml 
>   -> includes -> my-plugins-and-pluginDependencies-pom.xml
> 
> How is this possible?
> 
> Thanks a lot
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



MultiMaven project with by sharing dependencyManagement on parent pom

2022-06-06 Thread Philipp Kraus
Hello,

I have got a MultiMaven project and within this project I have got two parent 
poms. One of these parent inherits from an external parent. So I would like to 
share all my build plugins and pluginManagemnt section, like

My-multi-maven-pom.xml

my-plugins-and-pluginDependencies-pom.xml

my-parent-pom.xml 
-> includes -> my-plugins-and-pluginDependencies-pom.xml

my-external-parent-pom.xml 
-> inherits -> external-parent-pom.xml 
-> includes -> my-plugins-and-pluginDependencies-pom.xml

How is this possible?

Thanks a lot
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org