Skip to content

Commit

Permalink
Add explicit dependencies to biz.aQute.bnd.maven
Browse files Browse the repository at this point in the history
It has shown that the invoker-test in this setup could pull in an
outdated artifact if it is not declared as a *direct* dependency.

This adds an explicit dependency to biz.aQute.bnd.maven so we always use
the current build version.

Signed-off-by: Christoph Läubrich <[email protected]>
  • Loading branch information
laeubi committed Dec 3, 2024
1 parent 1fb6873 commit 27b9509
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions maven-plugins/bnd-baseline-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@
<groupId>${project.groupId}</groupId>
<artifactId>biz.aQute.bndlib</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>biz.aQute.bnd.maven</artifactId>
</dependency>
</dependencies>

</project>
5 changes: 4 additions & 1 deletion maven-plugins/bnd-reporter-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@
<groupId>${project.groupId}</groupId>
<artifactId>biz.aQute.bnd.reporter</artifactId>
</dependency>

<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>biz.aQute.bnd.maven</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
Expand Down

0 comments on commit 27b9509

Please sign in to comment.