tweak jib-mm example doc
:icons: font
Jib is one of the supported builders in Skaffold.
-[Jib](https://github.com/GoogleContainerTools/jib) builds Docker and OCI images
+https://github.com/GoogleContainerTools/jib[Jib] builds Docker and OCI images
for your Java applications and is available as plugins for Maven and Gradle.
-Sometimes a project is configured to have multiple modules to create several
+Sometimes a project is configured to have multiple _modules_ to create several
container images. Skaffold can work with Jib to build these containers as
required.
@@ -19,8 +19,11 @@ build:
# context is the root of the multi-module project
context: .
jib:
- # project is either the relative location within the project (i.e.,
- # relative to `context`) or :artifactId or groupId:artifactId
+ # project is the location relative to the artifact `context`
+ # For Maven, this is either the path relative to the artifact's
+ # `context`, or `:artifactId` or `groupId:artifactId`.
+ # For Gradle, this is the project name (defaults to the
+ # directory name).
project: moduleLocation
- image: gcr.io/k8s-skaffold/skaffold-jib-2
context: .
