You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Dependency Management in profiles is not injected when imported from BOM #320
In case a BOM is being imported, which contains a profile with a dependencyManagement section, this section is not being injected into the Maven build when flatten-maven-plugin is used and the plugin fails to create the effective POM model.
In case a Maven project imports this BOM and declares a dependency on one of these managed dependencies the flatten-maven-plugin fails to build the effective POM model.
Error message: [ERROR] 'dependencies.dependency.version' for org.infinispan:infinispan-marshaller-kryo:jar is missing.
Example project POM:
[...]
<dependencyManagement>
<dependencies>
<!-- This BOM contains a profile 'community-release' which is activated by default --><!-- This profile provides dependency management for the artifact 'org.infinispan:infinispan-marshaller-kryo' -->
<dependency>
<groupId>org.infinispan</groupId>
<artifactId>infinispan-bom</artifactId>
<version>13.0.11.Final</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.infinispan</groupId>
<artifactId>infinispan-marshaller-kryo</artifactId>
</dependency>
</dependencies>
[...]
Activity
mojohaus#320 Fix importing dependency management in profiles from BOM…
#320 Fix importing dependency management in profiles from BOM imports