Maven 1

Documentation: Windows Repository: Maven Repository, Roaming Profiles

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.1-beta-3
  • Component/s: documentation
  • Labels:
    None
  • Environment:
    Windows
  • Number of attachments :
    1

Description

> Hi there
>
> The default behaviour of maven is to store the MAVEN_REPO under
> %USERPROFILE%\.maven\.. On Windows.
>
> This is all o.k. BUT: if you are logged on a Win-NT Domain and use
> Roaming Profiles the is a "little" problem:
> - the Maven Repo get copied all the time (due to roaming, and the
> location of the maven repo)
> - longer Login-times
> - Problems with the profile space (if limited)
>
> I don't think that the default location of the repo should be changed.
> But at least there should be a remark on
> http://maven.apache.org/start/install.html
>
> How to change the it (%USERPROFILE%\build.properties
> [maven.repo.local=C:/x/y/z] ->?)

CHECK: http://www.mail-archive.com/users@maven.apache.org/msg11654.html

Issue Links

Activity

Hide
Julien Kirch added a comment -

patch proposal

Show
Julien Kirch added a comment - patch proposal
Hide
Tim Romberg added a comment -

Hello,

http://maven.apache.org/start/install.html

seem to be wrongly advising you to

"For Windows:
%MAVEN_HOME%\bin\install_repo.bat %HOMEDRIVE%%HOMEPATH%\.maven\repository
"

in my case, because of roaming profiles %HOMEDRIVE%%HOMEPATH% != %USERPROFILE% (well, even by default, wouldn't it rather be %HOMEDRIVE%%HOMEPATH% = %USERPROFILE%\My Documents ?)

so I had to move the repository by hand afterwards, since maven seems to look for it in %USERPROFILE%\.maven\....

Show
Tim Romberg added a comment - Hello, http://maven.apache.org/start/install.html seem to be wrongly advising you to "For Windows: %MAVEN_HOME%\bin\install_repo.bat %HOMEDRIVE%%HOMEPATH%\.maven\repository " in my case, because of roaming profiles %HOMEDRIVE%%HOMEPATH% != %USERPROFILE% (well, even by default, wouldn't it rather be %HOMEDRIVE%%HOMEPATH% = %USERPROFILE%\My Documents ?) so I had to move the repository by hand afterwards, since maven seems to look for it in %USERPROFILE%\.maven\....
Hide
Lukas Theussl added a comment -

Patch applied.Thanks!

Show
Lukas Theussl added a comment - Patch applied.Thanks!

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: