a guest Oct 14th, 2019 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # This will use maven:3-jdk-11 based Docker container and use your current project's pom.xml
  2. # with `-v $(pwd):/build --workdir /build`
  3. # to build your Maven project and remove used container after finish (`--rm`)
  4. docker run --rm -v $(pwd):/build --workdir /build maven:3-jdk-12 mvn install
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand