How can I ask Maven for a list of the default repositories?

后端 未结 4 503
萌比男神i
萌比男神i 2020-12-28 14:46

What command can I use to ask Maven for a list of the default repositories that it searches for its dependencies? If no such command exists, where else may I look to find t

4条回答
  •  无人及你
    2020-12-28 15:07

    You can output the effective pom with the command

    mvn help:effective-pom
    

    There the default repositories are listed.

提交回复
热议问题