2

I have searched for: "what does mvn do", and found this answer and this one but have not found them useful, because both relate to maven.

I have installed JVM 7-55, and am running Mac OS X 10.9.2

I am trying to build the jar for log-synth and the instructions call for building the jar file with all dependencies included using:

mvn package

Where should I run mvn from and what does it do? To be honest I don't even know if the mvn command is Java specific.

Community
  • 1
  • 1
Deesbek
  • 865
  • 2
  • 12
  • 27

1 Answers1

4
  • mvn is Maven
  • mvn package runs so called package build phase
  • mvn should be always run from a project root directory (i.e. the directory where pom.xml is located)
  • the built package can be usually located under target directory (it will be named something like log-synth-0.1-SNAPSHOT-jar-with-dependencies.jar for the log synth project)
Pavel Horal
  • 17,782
  • 3
  • 65
  • 89