m2eclipse issues ArtifactTransferException - But pom.xml compiles / installs from the command line

前端 未结 3 780
眼角桃花
眼角桃花 2021-02-03 15:10


        
3条回答
  •  北海茫月
    2021-02-03 15:26

    If you get such a connection error for all new artifacts: m2eclipse uses an embedded Maven instance by default, not your external Maven installation. The internal Maven instance might not use the same Maven settings like your external one (e.g. %USERPROFILE%/.m2/settings.xml), which then might lead to the internal Maven instance not being able to connect through your proxy.

    You can use the Eclipse preferences to add your external Maven installation and to have it be used for running Maven commands from inside Eclipse.

提交回复
热议问题