{"id":203837,"date":"2025-05-22T15:02:29","date_gmt":"2025-05-22T07:02:29","guid":{"rendered":"https:\/\/server.hk\/cnblog\/203837\/"},"modified":"2025-05-22T15:02:29","modified_gmt":"2025-05-22T07:02:29","slug":"intellij-idea-%e5%af%bc%e5%85%a5-maven-%e6%a8%a1%e5%9d%97%e6%97%b6%ef%bc%8cpom-xml-%e5%92%8c-pomjar-xml-%e5%ba%94%e8%af%a5%e5%af%bc%e5%85%a5%e5%93%aa%e4%b8%aa%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/203837\/","title":{"rendered":"IntelliJ IDEA \u5bfc\u5165 Maven \u6a21\u5757\u65f6\uff0cpom.xml \u548c pomjar.xml \u5e94\u8be5\u5bfc\u5165\u54ea\u4e2a\uff1f"},"content":{"rendered":"<p><b><\/b>     <\/p>\n<h1>IntelliJ IDEA \u5bfc\u5165 Maven \u6a21\u5757\u65f6\uff0cpom.xml \u548c pomjar.xml \u5e94\u8be5\u5bfc\u5165\u54ea\u4e2a\uff1f<\/h1>\n<p>\u4e00\u5206\u8015\u8018\uff0c\u4e00\u5206\u6536\u83b7\uff01\u65e2\u7136\u90fd\u6253\u5f00\u8fd9\u7bc7<span style=\"color: #FF6600;, Helvetica, Arial, sans-serif;font-size: 14px;background-color: #FFFFFF\">\u300aIntelliJ IDEA \u5bfc\u5165 Maven \u6a21\u5757\u65f6\uff0cpom.xml \u548c pomjar.xml \u5e94\u8be5\u5bfc\u5165\u54ea\u4e2a\uff1f\u300b<\/span>\uff0c\u5c31\u575a\u6301\u770b\u4e0b\u53bb\uff0c\u5b66\u4e0b\u53bb\u5427\uff01\u672c\u6587\u4e3b\u8981\u4f1a\u7ed9\u5927\u5bb6\u8bb2\u5230<span style=\"color: #FF6600;, Helvetica, Arial, sans-serif;font-size: 14px;background-color: #FFFFFF\"><\/span>\u7b49\u7b49\u77e5\u8bc6\u70b9\uff0c\u5982\u679c\u5927\u5bb6\u5bf9\u672c\u6587\u6709\u597d\u7684\u5efa\u8bae\u6216\u8005\u770b\u5230\u6709\u4e0d\u8db3\u4e4b\u5904\uff0c\u975e\u5e38\u6b22\u8fce\u5927\u5bb6\u79ef\u6781\u63d0\u51fa\uff01\u5728\u540e\u7eed\u6587\u7ae0\u6211\u4f1a\u7ee7\u7eed\u66f4\u65b0<span style=\"color: #FF6600;, Helvetica, Arial, sans-serif;font-size: 14px;background-color: #FFFFFF\">\u6587\u7ae0<\/span>\u76f8\u5173\u7684\u5185\u5bb9\uff0c\u5e0c\u671b\u5bf9\u5927\u5bb6\u90fd\u6709\u6240\u5e2e\u52a9\uff01<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.17golang.com\/uploads\/20241127\/17326904756746c22bba1f0.jpg\" class=\"aligncenter\"><\/p>\n<p><strong>Maven \u6a21\u5757\u5bfc\u5165 IntelliJ IDEA \u7684\u7279\u6b8a\u5904\u7406<\/strong><\/p>\n<p><strong>\u95ee\u9898\u63cf\u8ff0\uff1a<\/strong><\/p>\n<p>\u5728\u5c06 Eclipse Maven \u9879\u76ee\u8fc1\u79fb\u5230 IntelliJ IDEA \u65f6\uff0c\u9047\u5230\u67d0\u4e9b\u6a21\u5757\u5b58\u5728 pom.xml \u548c pomjar.xml \u540c\u65f6\u51fa\u73b0\u7684\u60c5\u51b5\u3002\u5bf9\u4e8e\u9009\u62e9\u5bfc\u5165\u54ea\u79cd\u6587\u4ef6\u611f\u5230\u7591\u60d1\u3002<\/p>\n<p><strong>\u6b63\u786e\u7b54\u6848\uff1a<\/strong><\/p>\n<p>\u5e94\u8be5\u5bfc\u5165 pom.xml\u3002<\/p>\n<p><strong>\u89e3\u91ca\uff1a<\/strong><\/p>\n<p>pomjar.xml \u662f IntelliJ IDEA \u4e13\u7528\u7684\u6587\u4ef6\uff0c\u5b83\u7528\u4e8e\u5b58\u50a8\u6a21\u5757\u7684\u4f9d\u8d56\u5173\u7cfb\u548c\u914d\u7f6e\u4fe1\u606f\u3002\u5f53\u5bfc\u5165\u4e00\u4e2a pom.xml \u65f6\uff0cIntelliJ IDEA \u5c06\u81ea\u52a8\u751f\u6210\u5bf9\u5e94\u7684 pomjar.xml \u6587\u4ef6\uff0c\u65e0\u9700\u624b\u52a8\u5bfc\u5165\u3002<\/p>\n<p>\u672c\u7bc7\u5173\u4e8e\u300aIntelliJ IDEA \u5bfc\u5165 Maven \u6a21\u5757\u65f6\uff0cpom.xml \u548c pomjar.xml \u5e94\u8be5\u5bfc\u5165\u54ea\u4e2a\uff1f\u300b\u7684\u4ecb\u7ecd\u5c31\u5230\u6b64\u7ed3\u675f\u5566\uff0c\u4f46\u662f\u5b66\u65e0\u6b62\u5883\uff0c\u60f3\u8981\u4e86\u89e3\u5b66\u4e60\u66f4\u591a\u5173\u4e8e\u6587\u7ae0\u7684\u76f8\u5173\u77e5\u8bc6\uff0c\u8bf7\u5173\u6ce8\u516c\u4f17\u53f7\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>IntelliJ IDEA \u5bfc\u5165&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4925],"tags":[],"class_list":["post-203837","post","type-post","status-publish","format-standard","hentry","category-4925"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/203837","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/comments?post=203837"}],"version-history":[{"count":0,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/203837\/revisions"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=203837"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=203837"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=203837"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}