How to change Maven local repository in eclipse

前端 未结 6 1334
野的像风
野的像风 2020-12-04 14:29

I\'m importing a multiple-module Maven project from the root directory on a shared drive on another server A. On server A, mvn install will run successfully, an

6条回答
  •  醉酒成梦
    2020-12-04 15:00

    In Eclipse Photon navigate to Windows > Preferences > Maven > User Settings > User Setting

    For "User settings" Browse to the settings.xml of the maven. ex. in my case maven it is located on the path C:\Program Files\Apache Software Distribution\apache-maven-3.5.4\conf\Settings.xml

    Depending on the Settings.xml the Local Repository gets automatically configured to the specified location.

提交回复
热议问题