<p>I was testing Skaffod and It is a great tool for microservices development.
But I do not find any tutorial on how to use it with Java. Is there any support to Maven builds?</p>

<p>There is a discussion going on about adding <a href="https://github.com/GoogleContainerTools/skaffold/issues/526" rel="nofollow noreferrer">support for Java apps here</a>, you can very much use <a href="https://docs.docker.com/develop/develop-images/multistage-build/" rel="nofollow noreferrer">Docker multistage build</a> with Skaffold. A probably working example is <a href="https://github.com/GoogleContainerTools/skaffold/pull/527/files" rel="nofollow noreferrer">available here</a></p>

<p>Your build portion of Skaffold file will look something like:</p>

<pre><code>apiVersion: skaffold/v1alpha2
kind: Config
build:
  tagPolicy:
    dateTime:
      format: 2006-01-02_15-04-05.999_MST
      timezone: Local
  artifacts:
  - imageName: &lt;repo&gt;/&lt;image&gt;
    workspace: ./appdir
</code></pre>

<p>In the <code>appdir</code> - you can use a multistage Dockerfile and integrate with rest of the workflow. Multistage Dockefile will build artefact in one stage and create a container using the artefact of the first stage.</p>
