miércoles, 30 de marzo de 2011

Maven 2 and 3 coexisting on Windows (again)

As I said yesterday, we can make a script (er... batch file) for Windows to be able to use Maven2 into a Maven3 system without messing everything up.
For lazy ones, here it is:
@echo off
echo Setting environment for Maven2
set M2=C:\apache-maven-2.2.1\bin
set M2_HOME=C:\apache-maven-2.2.1
set PATH=%M2_HOME%\boot;%M2%;%PATH%
I hope you find this useful.

No hay comentarios:

Publicar un comentario