> try
> 
> mvn -Declipse.workspace=<workspace> eclipse:add-maven-repo
> 
> replace <workspace> by your workspace location, like /home/user/workspace
> that should add M2_REPO to the variables set

Better yet, install the m2eclipse plugin from:

http://m2eclipse.codehaus.org/update/

This will keep the dependencies on your classpath in sync automatically, and 
also add the M2_REPO variable :)

-- Edvin


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to