I write here everything useful I find about the Java programming (and more). Things I'll surely forget and I shouldn't forget. And I made it public so maybe you can find it useful.
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%
No hay comentarios:
Publicar un comentario