Public | Automated Build

Last pushed: 13 hours ago
Short Description
JDK-7 and JDK-8 with latest Maven 3.5
Full Description

Apache Maven 3.5.0-SNAPSHOT builds

Tags

Info

  • Mainly used for testing Apache Maven 3.5.0-SNAPSHOT more easily.
  • In contrast to the standard Maven Docker images, the user
    running Maven is not root but user.
  • Run docker run --rm -v $HOME/.m2:/home/user/.m2 -v $PWD:/build -w /build mfriedenhagen/docker-maven mvn clean verify.
Docker Pull Command
Owner
mfriedenhagen
Source Repository

Comments (2)
mfriedenhagen
a year ago

Hello Marty, you should run this from your project directory, i.e. where you pom.xml resides.
You may leave out the .m2 volume mount, it is not strictly needed.

martycurran
a year ago

Hi
I haven't used maven before but do know docker
I get an unknown lifecycle phase error with the verify command. Also should this be run from the same location as my pom file or do I need to move the pom to a specific location and then run. Thanks