To build the main class use the command bellow:
bazel build //helloworld/src/main/java/helloworld:helloworld
To run the main class use the command bellow:
bazel run //helloworld/src/main/java/helloworld:helloworld
Whenever you make changes to the list of artifacts
or dependencies
run the
following command to re-pin unpinned @maven
repository.
bazel run @unpinned_maven//:pin