As Windows und Unix have a different file system structures, I'd say you'll need to work with properties. Call 'mvn help:system' on both systems and try to find a common property (either system property or environment variable) You could use. The Maven Properties Guide [1] gives some further information about available properties. You could either define a custom environment variable on each workstation and use that one.
Some examples how You could define the local repositories using a property:
<localRepository>${user.home}/.m2/repository</localRepository>
<localRepository>${env.HOME}/.m2/repository</localRepository>
<localRepository>${env.CUSTOM_REPO_ENV_VAR}</localRepository>


[1] http://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to