MyRobotLab local maven compilation

If you want to build your own myrobotlab.jar, for local testing, this is the way to go :

We assume you have a working myrobotlab project : http://myrobotlab.org/quick_start

  • Please set JAVA_HOME system variable, point to your java JDK folder :
  • If JAVA_HOME var don't exist, create a new one, sample for windows :

  • Then reboot. echo %JAVA_HOME% inside terminal should return now the JDK folder. Great, last maven versions need JDK.

  • Enter via terminal to your myrobotlab folder ( where you can find a pom.xml )
  • now call maven from this folder ( exemple : c:\maven\bin\mvn -DskipTests clean install )
  • Tests are useful! -DskipTests just skip them to speedup compilation.
  • Nice you have now a fresh jar inside target folder, enjoy !