{"id":451,"date":"2022-03-18T11:24:17","date_gmt":"2022-03-18T03:24:17","guid":{"rendered":"https:\/\/www.ientertech.com\/blog\/?p=451"},"modified":"2022-03-18T11:24:17","modified_gmt":"2022-03-18T03:24:17","slug":"maven%e5%a2%9e%e5%8a%a0%e5%9b%bd%e5%86%85%e9%98%bf%e9%87%8c%e6%ba%90","status":"publish","type":"post","link":"https:\/\/www.ienter.com.cn\/blog\/2022\/03\/maven%e5%a2%9e%e5%8a%a0%e5%9b%bd%e5%86%85%e9%98%bf%e9%87%8c%e6%ba%90.html","title":{"rendered":"Maven\u589e\u52a0\u56fd\u5185\u963f\u91cc\u6e90"},"content":{"rendered":"<p>Maven\u4e0bconf\u6587\u4ef6\u5939\u7684settings.xml\u6587\u4ef6<\/p>\n<p>&lt;mirrors&gt;<br \/>\n&lt;!-- mirror<br \/>\n| Specifies a repository mirror site to use instead of a given repository. The repository that<br \/>\n| this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used<br \/>\n| for inheritance and direct lookup purposes, and must be unique across the set of mirrors.<br \/>\n|<br \/>\n&lt;mirror&gt;<br \/>\n&lt;id&gt;mirrorId&lt;\/id&gt;<br \/>\n&lt;mirrorOf&gt;repositoryId&lt;\/mirrorOf&gt;<br \/>\n&lt;name&gt;Human Readable Name for this Mirror.&lt;\/name&gt;<br \/>\n&lt;url&gt;http:\/\/my.repository.com\/repo\/path&lt;\/url&gt;<br \/>\n&lt;\/mirror&gt;<br \/>\n--&gt;<\/p>\n<p>&lt;mirror&gt;<br \/>\n&lt;id&gt;alimaven&lt;\/id&gt;<br \/>\n&lt;name&gt;aliyun maven&lt;\/name&gt;<br \/>\n&lt;url&gt;http:\/\/maven.aliyun.com\/nexus\/content\/groups\/public\/&lt;\/url&gt;<br \/>\n&lt;mirrorOf&gt;central&lt;\/mirrorOf&gt;<br \/>\n&lt;\/mirror&gt;<\/p>\n<p>&lt;\/mirrors&gt;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Maven\u4e0bconf\u6587\u4ef6\u5939\u7684s...<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[57],"class_list":["post-451","post","type-post","status-publish","format-standard","hentry","category-develop","tag-maven"],"_links":{"self":[{"href":"https:\/\/www.ienter.com.cn\/blog\/wp-json\/wp\/v2\/posts\/451","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ienter.com.cn\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ienter.com.cn\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ienter.com.cn\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ienter.com.cn\/blog\/wp-json\/wp\/v2\/comments?post=451"}],"version-history":[{"count":0,"href":"https:\/\/www.ienter.com.cn\/blog\/wp-json\/wp\/v2\/posts\/451\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ienter.com.cn\/blog\/wp-json\/wp\/v2\/media?parent=451"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ienter.com.cn\/blog\/wp-json\/wp\/v2\/categories?post=451"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ienter.com.cn\/blog\/wp-json\/wp\/v2\/tags?post=451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}