AkinW
AkinW

Reputation: 183

Eclipse maven configuarion

I've recently changed the location of my maven repository from my C:\ drive to D:\ drive, however when I create a new eclipse workspace my m2e settings keep pointing back to the old repo location (C:) . Is there a master config file or something I can edit so when creating a new workspace it keeps the new repo location ?

Thanks.

Upvotes: 0

Views: 46

Answers (1)

AkinW
AkinW

Reputation: 183

Eclipse seems to create a .m2 folder under $HOME variable, which was set to a location on my C:\ drive. Was unable to set the $HOME to D:\ for other reasons, but using the

<localRepository>D:\local_maven\.m2\repository</localRepository>

tags I was able to change the repo location to my D:\ drive.

Upvotes: 1

Related Questions