-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
In the holy quest of the hermetic/offline build started with :
- feat: Include
<parent>data in lockfile #1439 - No "resolved" field in <parent> #1477
the BOMs should be locked (with a resolved field).
Those dependencies are typically in a <parent> pom under the dependencyManagement, they have type<type>pom</type> and scope <scope>import</scope> :
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.somegroup</groupId>
<artifactId>someartefact</artifactId>
<version>1.0.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
Even though a child project does not use the dependency, maven will check if the BOMs are present in the .m2 directory (mvn package -o -nsu -Dmaven.repo.local=.m2) and currenty, it fails.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels