{"id":2665,"date":"2018-04-14T17:51:24","date_gmt":"2018-04-14T09:51:24","guid":{"rendered":"http:\/\/www.xttblog.com\/?p=2665"},"modified":"2018-04-14T17:51:24","modified_gmt":"2018-04-14T09:51:24","slug":"maven-%e8%a7%a3%e5%86%b3-execution-%e9%85%8d%e7%bd%ae%e6%8a%a5%e9%94%99%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"https:\/\/www.xttblog.com\/?p=2665","title":{"rendered":"Maven \u89e3\u51b3 execution \u914d\u7f6e\u62a5\u9519\u95ee\u9898"},"content":{"rendered":"<p>\n\t\u5728\u4e00\u4e9b\u8001\u7684 Maven \u9879\u76ee\u4e2d\u914d\u7f6e\u4e86&nbsp;execution \u540e\uff0c\u518d\u5bfc\u5165\u5176\u4ed6\u7684 Eclipse \uff0c\u53ef\u80fd\u4f1a\u53d1\u73b0&nbsp;execution \u914d\u7f6e\u62a5\u9519\u4e86\uff0c\u8fd9\u662f\u4ec0\u4e48\u539f\u56e0\u5462\uff1f\n<\/p>\n<p>\n\tpom.xml \u7684\u8fd9\u4e2a\u914d\u7f6e\u5728\u522b\u4eba\u7684 Eclipse \u4e2d\u5c31\u6ca1\u6709\u95ee\u9898\uff0c\u5bfc\u5165\u5230\u6211\u7684 Eclipse \u4e2d\u5c31\u51fa\u95ee\u9898\u4e86\u3002\u5176\u5b9e\u5c31\u662f\u5f00\u53d1\u73af\u5883\u4e0d\u4e00\u81f4\u5bfc\u81f4\u7684\u3002\n<\/p>\n<p>\n\t<img decoding=\"async\" alt=\"execution \u62a5\u9519\" src=\"https:\/\/raw.githubusercontent.com\/xmt1139057136\/springboot\/master\/demo1\/8.png\" style=\"width: 668px;height: 233px\" \/>\n<\/p>\n<p>\n\t\u5305\u62ec java \u7248\u672c\uff0cjdk \u7248\u672c\uff0cEclipse \u7248\u672c\uff0ctomcat \u7248\u672c\uff0cMaven \u7248\u672c\u7b49\u3002\n<\/p>\n<p>\n\t\u89e3\u51b3\u7684\u529e\u6cd5\u5176\u5b9e\u5f88\u7b80\u5355\uff0c\u53cc\u51fb&nbsp;execution \u9519\u8bef\u663e\u793a\u7684\u7ea2\u53c9\u53c9\u3002\u7136\u540e\u4f1a\u663e\u793a\u4e00\u4e2a\u60ac\u6d6e\u7a97\uff0c\u6839\u636e\u60ac\u6d6e\u7a97\u7684\u63d0\u793a\uff0c\u4f60\u5e94\u8be5\u77e5\u9053\u600e\u4e48\u64cd\u4f5c\u4e86\u5427\u3002\n<\/p>\n<p>\n\t\u4e00\u822c\u9009\u62e9\u7b2c\u4e09\u4e2a\u9009\u9879\uff0c\u7136\u540e pom.xml \u4e2d\u4f1a\u81ea\u52a8\u7684\u589e\u52a0\u4e00\u4e9b\u914d\u7f6e\u3002\u8fd9\u6837\u624b\u52a8\u7684\u5c31\u53ef\u4ee5\u53d6\u6d88\u62a5\u9519\uff0c\u4ed4\u7ec6\u770b\u770b\u53d1\u73b0\u591a\u4e86 &lt;pluginExecutions&gt; \u8282\u70b9\u3002\n<\/p>\n<p>\n\t\u6211\u770b\u4e86\u4e00\u4e9b\u7f51\u4e0a\u7684\u5176\u4ed6\u89e3\u51b3\u529e\u6cd5\uff0c\u90fd\u4e0d\u80fd\u5f88\u597d\u7684\u89e3\u51b3\uff0c\u800c\u4e14\u8fd8\u80fd\u9ebb\u70e6\u3002\n<\/p>\n<p>\n\t\u53e6\u5916\u6211\u4eec\u4e5f\u53ef\u4ee5\u5ffd\u7565\u8fd9\u4e2a\u9519\u8bef\uff0c\u56e0\u4e3a\u8fd9\u4e2a\u9519\u8bef\u4e0d\u5f71\u54cd Maven \u9879\u76ee\u7684\u7f16\u8bd1\u3002\n<\/p>\n<p>\n\t\u5ffd\u7565\u64cd\u4f5c\u5982\u4e0b\uff1a\n<\/p>\n<p>\n\twindows-&gt;Preferences-&gt;Maven-&gt;Error\/Warnings\u4e0bIgnore\u6389\u8fd9\u4e2a plugin execution \u9519\u8bef\u3002\n<\/p>\n<p>\n\t<img decoding=\"async\" alt=\"\u5ffd\u7565 execution \u62a5\u9519\" src=\"https:\/\/raw.githubusercontent.com\/xmt1139057136\/springboot\/master\/demo1\/7.png\" style=\"width: 631px;height: 347px\" \/>\n<\/p>\n<p>\n\t\u4e5f\u6216\u8005\u5728 pom.xml \u4e2d\u5728 &lt;plugins&gt;\u6807\u7b7e\u5916\u6dfb\u52a0\u4e00\u4e2a&lt;pluginManagement&gt;\u6807\u7b7e\u5373\u53ef\u3002<\/p>\n<!-- <audio autoplay=\"autoplay\" height=\"100\" width=\"100\" hidden=\"true\"><source src=\"https:\/\/c.coka.la\/orAvPR.mp3\" type=\"audio\/mp3\"\/><\/audio><img decoding=\"async\" src=\"https:\/\/images.weserv.nl\/?url=https:\/\/ws3.sinaimg.cn\/large\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/> --><p><!-- <img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/xmt1139057136\/xttblog\/master\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/>--><img decoding=\"async\" src=\"https:\/\/saas.51autoparts.cn\/api\/admin\/sys-file\/oss\/file?fileName=84db51f8561e448f9a4fda2eff0811f9.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/><\/p><p>\u6700\u540e\uff0c\u6b22\u8fce\u5173\u6ce8\u6211\u7684\u4e2a\u4eba\u5fae\u4fe1\u516c\u4f17\u53f7\uff1a\u4e1a\u4f59\u8349\uff08yyucao\uff09\uff01<b>\u53ef\u52a0\u4f5c\u8005\u5fae\u4fe1\u53f7\uff1a<font color=\"red\">xttblog2<\/font>\u3002\u5907\u6ce8\uff1a\u201c1\u201d\uff0c\u6dfb\u52a0\u535a\u4e3b\u5fae\u4fe1\u62c9\u4f60\u8fdb\u5fae\u4fe1\u7fa4\u3002\u5907\u6ce8\u9519\u8bef\u4e0d\u4f1a\u540c\u610f\u597d\u53cb\u7533\u8bf7\u3002<\/b>\u518d\u6b21\u611f\u8c22\u60a8\u7684\u5173\u6ce8\uff01\u540e\u7eed\u6709\u7cbe\u5f69\u5185\u5bb9\u4f1a\u7b2c\u4e00\u65f6\u95f4\u53d1\u7ed9\u60a8\uff01\u539f\u521b\u6587\u7ae0\u6295\u7a3f\u8bf7\u53d1\u9001\u81f3532009913@qq.com\u90ae\u7bb1\u3002\u5546\u52a1\u5408\u4f5c\u4e5f\u53ef\u6dfb\u52a0\u4f5c\u8005\u5fae\u4fe1\u8fdb\u884c\u8054\u7cfb\uff01<\/p><p>\u672c\u6587\u539f\u6587\u51fa\u5904\uff1a<a href=\"https:\/\/www.xttblog.com\">\u4e1a\u4f59\u8349<\/a>\uff1a &raquo; <a href=\"https:\/\/www.xttblog.com\/?p=2665\">Maven \u89e3\u51b3 execution \u914d\u7f6e\u62a5\u9519\u95ee\u9898<\/a><\/p><!-- <div class=\"bd-reward-stl\"><button id=\"bdRewardBtn\"><span><\/span><\/button><\/div> -->","protected":false},"excerpt":{"rendered":"<p>\u5728\u4e00\u4e9b\u8001\u7684 Maven \u9879\u76ee\u4e2d\u914d\u7f6e\u4e86&nbsp;execution \u540e\uff0c\u518d\u5bfc\u5165\u5176\u4ed6\u7684 Eclipse \uff0c\u53ef\u80fd\u4f1a [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[787,466,713,452,749],"class_list":["post-2665","post","type-post","status-publish","format-standard","hentry","category-java","tag-eclipse","tag-maven"],"_links":{"self":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/2665","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2665"}],"version-history":[{"count":1,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/2665\/revisions"}],"predecessor-version":[{"id":2666,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/2665\/revisions\/2666"}],"wp:attachment":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2665"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2665"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2665"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}