This is a simple, self-contained, command line application that generates bazel dependencies transitively for maven artifacts.
The tool is released to Maven Central and can be downloaded using normal dependency download mechanisms. The Maven dependency is:
<dependency>
<groupId>org.realityforge.bazel.depgen</groupId>
<artifactId>bazel-depgen</artifactId>
<version>0.29</version>
<classification>all</classification>
</dependency>The project was released as open source so others could benefit from the project. We are thankful for any contributions from the community. A Code of Conduct has been put in place and a Contributing document is under development.
The project is licensed under Apache License, Version 2.0.
-
This project is heavily inspired by johnynek/bazel-deps which was forked from pgr0ss/bazel-deps which was inspired by the aether examples for walking maven dependencies. Credit goes to those projects for trail blazing. The
SimpleRepositoryListenerclass is a reasonably direct translation of a file from theaether examplesproject. While no other code was directly copied from these earlier projects, this project is a spiritual successor of these projects. -
The project also took ideas from other similar projects: