{"id":35721,"date":"2025-05-06T17:14:46","date_gmt":"2025-05-06T09:14:46","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/35721.html"},"modified":"2025-05-06T17:14:46","modified_gmt":"2025-05-06T09:14:46","slug":"idea%e5%bf%ab%e9%80%9f%e4%b8%8a%e6%89%8bmaven%e9%a1%b9%e7%9b%ae%ef%bc%9a%e6%a8%a1%e6%9d%bf%e9%80%89%e6%8b%a9-%e5%a4%9a%e6%a8%a1%e5%9d%97%e6%8b%86%e5%88%86","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/35721.html","title":{"rendered":"IDEA\u5feb\u901f\u4e0a\u624bMaven\u9879\u76ee\uff1a\u6a21\u677f\u9009\u62e9 + \u591a\u6a21\u5757\u62c6\u5206"},"content":{"rendered":"<\/p>\n<h4>\u6587\u7ae0\u76ee\u5f55<\/h4>\n<ul>\n<li>\n<ul>\n<li>\u6982\u8981<\/li>\n<li>\u4e00\u3001\u4ec0\u4e48\u662f Maven \u9879\u76ee<\/li>\n<li>\u4e8c\u3001\u65b0\u5efa Maven \u9879\u76ee<\/li>\n<li>\n<ul>\n<li>1\u3001\u4ec0\u4e48\u662f Catalog&#xff1f;<\/li>\n<li>2\u3001\u5e38\u89c1 Archetype \u6a21\u677f<\/li>\n<\/ul>\n<\/li>\n<li>\u4e09\u3001 \u5c06 SpringBoot \u9879\u76ee\u62c6\u5206\u4e3a\u591a\u4e2a\u5b50\u6a21\u5757<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3>\u6982\u8981<\/h3>\n<h3>\u4e00\u3001\u4ec0\u4e48\u662f Maven \u9879\u76ee<\/h3>\n<p>Maven \u662f Apache \u63d0\u4f9b\u7684\u9879\u76ee\u6784\u5efa\u548c\u4f9d\u8d56\u7ba1\u7406\u5de5\u5177\u3002Maven \u9879\u76ee\u5177\u6709\u7edf\u4e00\u7684\u7ed3\u6784&#xff0c;\u4f7f\u7528 pom.xml \u7ba1\u7406\u4f9d\u8d56\u3001\u63d2\u4ef6\u548c\u6784\u5efa\u6d41\u7a0b\u3002<\/p>\n<h3>\u4e8c\u3001\u65b0\u5efa Maven \u9879\u76ee<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250506091444-6819d3047e9a0.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u5176\u4e2d\u7ea2\u8272\u77e9\u5f62\u4e2d\u7684\u4e24\u4e2a\u600e\u4e48\u9009\u62e9\u5462&#xff1f;<\/p>\n<hr \/>\n<h4>1\u3001\u4ec0\u4e48\u662f Catalog&#xff1f;<\/h4>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250506091444-6819d304e3db9.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>Catalog \u51b3\u5b9a\u4e86 archetype&#xff08;\u9879\u76ee\u6a21\u677f&#xff09;\u7684\u6765\u6e90\u3002\u4e09\u79cd Catalog \u7c7b\u578b&#xff1a;<\/p>\n<table>\n<tr>\u9009\u9879\u8bf4\u660e\u63a8\u8350\u4f7f\u7528\u573a\u666f<\/tr>\n<tbody>\n<tr>\n<td>Internal<\/td>\n<td>IDEA \u5185\u7f6e\u7684 archetype \u5217\u8868&#xff08;\u5f88\u5c11\u3001\u66f4\u65b0\u6162&#xff09;<\/td>\n<td>\u5b66\u4e60\u6216\u5feb\u901f\u6d4b\u8bd5<\/td>\n<\/tr>\n<tr>\n<td>Default Local<\/td>\n<td>\u4ece\u4f60\u672c\u673a\u7684 Maven \u4ed3\u5e93\u4e2d\u8bfb\u53d6\u4f60\u66fe\u7ecf\u7528\u8fc7\u7684 archetype<\/td>\n<td>\u672c\u5730\u66fe\u7528\u8fc7\u3001\u81ea\u5df1\u7ef4\u62a4\u6a21\u677f\u65f6<\/td>\n<\/tr>\n<tr>\n<td>Maven Central<\/td>\n<td>\u4ece\u8fdc\u7a0b Maven \u4e2d\u592e\u4ed3\u5e93 \u5b9e\u65f6\u83b7\u53d6 archetype \u5217\u8868<\/td>\n<td>\u63a8\u8350\u4f7f\u7528&#xff0c;\u83b7\u53d6\u6a21\u677f\u6700\u5168\u3001\u6700\u65b0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h4>2\u3001\u5e38\u89c1 Archetype \u6a21\u677f<\/h4>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250506091444-6819d304eff9e.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<table>\n<tr>Archetype \u540d\u79f0\u4f5c\u7528 \/ \u7528\u9014<\/tr>\n<tbody>\n<tr>\n<td>maven-archetype-archetype<\/td>\n<td>\u7528\u4e8e\u521b\u5efa\u4f60\u81ea\u5df1\u7684 Maven \u539f\u578b&#xff08;archetype&#xff09;\u9879\u76ee\u6a21\u677f\u3002\u7528\u4e8e\u5f00\u53d1\u8005\u521b\u5efa\u81ea\u5b9a\u4e49\u7684 archetype&#xff0c;\u901a\u5e38\u7528\u4e8e\u6784\u5efa\u56e2\u961f\u5185\u90e8\u7edf\u4e00\u6a21\u677f&#xff0c;\u9002\u5408\u63d2\u4ef6\u6216\u811a\u624b\u67b6\u5f00\u53d1\u8005\u4f7f\u7528\u3002 \u4e0d\u9002\u5408\u4e00\u822c\u5f00\u53d1\u7528\u4f5c\u9879\u76ee\u542f\u52a8\u6a21\u677f\u3002<\/td>\n<\/tr>\n<tr>\n<td>maven-archetype-j2ee-simple<\/td>\n<td>\u7528\u4e8e\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684 J2EE Web \u9879\u76ee\u9aa8\u67b6&#xff0c;\u5305\u62ec\u57fa\u672c\u7684 Servlet \u9879\u76ee\u7ed3\u6784\u3002&#xff08;\u5df2\u8fc7\u65f6&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>maven-archetype-plugin<\/td>\n<td>\u7528\u4e8e\u521b\u5efa\u4e00\u4e2a Maven \u63d2\u4ef6 \u9879\u76ee&#xff0c;\u9002\u5408\u7f16\u5199\u81ea\u5df1\u7684 Maven \u63d2\u4ef6\u3002<\/td>\n<\/tr>\n<tr>\n<td>maven-archetype-plugin-site<\/td>\n<td>\u7528\u4e8e\u4e3a\u4f60\u7684 Maven \u63d2\u4ef6\u751f\u6210\u5bf9\u5e94\u7684 site \u6587\u6863\u9879\u76ee\u7ed3\u6784\u3002<\/td>\n<\/tr>\n<tr>\n<td>maven-archetype-portlet<\/td>\n<td>\u521b\u5efa\u4e00\u4e2a\u57fa\u4e8e Portlet&#xff08;\u95e8\u6237\u7ec4\u4ef6&#xff09; \u7684 Maven \u9879\u76ee&#xff0c;\u4e3b\u8981\u7528\u4e8e Liferay \u6216\u7c7b\u4f3c\u95e8\u6237\u7cfb\u7edf\u3002&#xff08;\u73b0\u5728\u8f83\u5c11\u4f7f\u7528&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>maven-archetype-profiles<\/td>\n<td>\u7528\u4e8e\u5c55\u793a\u548c\u4f7f\u7528 \u591a\u914d\u7f6e Profile \u7684\u9879\u76ee\u9aa8\u67b6\u3002\u8f83\u5c0f\u4f17&#xff0c;\u9002\u5408\u5b66\u4e60 Maven Profile \u914d\u7f6e\u7528\u3002<\/td>\n<\/tr>\n<tr>\n<td>maven-archetype-quickstart<\/td>\n<td>\u2705\u2705\u2705 \u6700\u5e38\u7528\u3001\u6700\u63a8\u8350\u7684\u6807\u51c6 Java \u9879\u76ee\u6a21\u677f\u3002\u751f\u6210\u4e00\u4e2a\u57fa\u672c\u7684 Java \u9879\u76ee\u7ed3\u6784&#xff0c;\u542b Main \u7c7b\u3001Test \u7c7b\u3001\u4f9d\u8d56\u548c\u63d2\u4ef6\u914d\u7f6e&#xff0c;\u662f\u521b\u5efa\u7b80\u5355 Java \u9879\u76ee\u7684\u9996\u9009\u3002<\/td>\n<\/tr>\n<tr>\n<td>maven-archetype-site<\/td>\n<td>\u521b\u5efa\u4e00\u4e2a Maven Site \u9879\u76ee&#xff08;\u6784\u5efa\u9879\u76ee\u6587\u6863\u7684\u9aa8\u67b6&#xff09;\u3002<\/td>\n<\/tr>\n<tr>\n<td>maven-archetype-site-simple<\/td>\n<td>\u521b\u5efa\u4e00\u4e2a \u7b80\u5316\u7248\u672c\u7684 Site \u9879\u76ee\u3002\u4e3b\u8981\u7528\u4e8e\u6f14\u793a Maven site \u63d2\u4ef6\u529f\u80fd\u3002<\/td>\n<\/tr>\n<tr>\n<td>maven-archetype-webapp<\/td>\n<td>\u7528\u4e8e\u521b\u5efa\u4e00\u4e2a\u57fa\u7840\u7684 Java Web \u5e94\u7528\u9879\u76ee&#xff08;\u5305\u62ec web.xml\u3001WEB-INF \u7b49\u76ee\u5f55\u7ed3\u6784&#xff09;\u3002\u9002\u5408\u5b66\u4e60 Servlet\/JSP \u6216\u90e8\u7f72\u5230 Tomcat \u4f7f\u7528\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<p>\u5b9e\u6218\u5efa\u8bae&#xff08;\u600e\u4e48\u9009&#xff1f;&#xff09;<\/p>\n<table>\n<tr>\u4f60\u7684\u76ee\u6807\u63a8\u8350 archetype<\/tr>\n<tbody>\n<tr>\n<td>\u521b\u5efa\u666e\u901a Java \u9879\u76ee<\/td>\n<td>maven-archetype-quickstart<\/td>\n<\/tr>\n<tr>\n<td>\u521b\u5efa Java Web \u9879\u76ee&#xff08;\u4f20\u7edf Servlet\/JSP&#xff09;<\/td>\n<td>maven-archetype-webapp<\/td>\n<\/tr>\n<tr>\n<td>\u521b\u5efa\u4f60\u81ea\u5df1\u7684\u9879\u76ee\u6a21\u677f<\/td>\n<td>maven-archetype-archetype<\/td>\n<\/tr>\n<tr>\n<td>\u60f3\u7814\u7a76\u6216\u5236\u4f5c Maven \u63d2\u4ef6<\/td>\n<td>maven-archetype-plugin<\/td>\n<\/tr>\n<tr>\n<td>\u4e0d\u77e5\u9053\u9009\u54ea\u4e2a&#xff1f;\u60f3\u5feb\u901f\u4e0a\u624b<\/td>\n<td>\u2705 \u9009 maven-archetype-quickstart \u5373\u53ef<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>\u4e09\u3001 \u5c06 SpringBoot \u9879\u76ee\u62c6\u5206\u4e3a\u591a\u4e2a\u5b50\u6a21\u5757<\/h3>\n<p>Spring Boot \u9879\u76ee\u5728\u521d\u671f\u5355\u4f53\u5316\u5f00\u53d1\u8f83\u4e3a\u65b9\u4fbf&#xff0c;\u4f46\u968f\u7740\u4e1a\u52a1\u590d\u6742\u5ea6\u63d0\u5347&#xff0c;\u5c06\u9879\u76ee\u62c6\u5206\u6210\u591a\u4e2a\u6a21\u5757&#xff08;Module&#xff09; \u4e0d\u4ec5\u6709\u52a9\u4e8e\u804c\u8d23\u5206\u79bb&#xff0c;\u8fd8\u53ef\u4ee5\u63d0\u5347\u56e2\u961f\u534f\u4f5c\u6548\u7387\u3001\u90e8\u7f72\u7075\u6d3b\u6027\u3001\u4ee3\u7801\u53ef\u7ef4\u62a4\u6027\u3002<\/p>\n<p>\u5efa\u8bae\u5c06\u9879\u76ee\u62c6\u5206\u4e3a\u4ee5\u4e0b\u6a21\u5757&#xff1a;<\/p>\n<ul>\n<li>\n<p>common&#xff1a;\u516c\u5171\u7ec4\u4ef6\u4e0e\u5de5\u5177\u7c7b<\/p>\n<\/li>\n<li>\n<p>api&#xff1a;\u63a5\u53e3\u5b9a\u4e49\u4e0eDTO<\/p>\n<\/li>\n<li>\n<p>service&#xff1a;\u4e1a\u52a1\u903b\u8f91\u5b9e\u73b0<\/p>\n<\/li>\n<li>\n<p>web&#xff1a;\u5305\u542b Controller \u548c\u542f\u52a8\u5165\u53e3<\/p>\n<\/li>\n<\/ul>\n<p>\u4f9d\u8d56\u5173\u7cfb\u4e00\u822c\u662f&#xff1a;web -&gt; service -&gt; data -&gt; common<\/p>\n<p>\u4f8b\u5982&#xff1a;<\/p>\n<p>springboot-multi-module\/<br \/>\n\u251c\u2500\u2500 pom.xml                <span class=\"token comment\"># \u7236\u5de5\u7a0b&#xff0c;\u7edf\u4e00\u4f9d\u8d56\u548c\u63d2\u4ef6\u7ba1\u7406<\/span><br \/>\n\u251c\u2500\u2500 common\/                <span class=\"token comment\"># \u516c\u5171\u6a21\u5757&#xff08;\u5de5\u5177\u7c7b\u3001\u901a\u7528\u54cd\u5e94\u5c01\u88c5\u7b49&#xff09;<\/span><br \/>\n\u2502   \u2514\u2500\u2500 pom.xml<br \/>\n\u251c\u2500\u2500 api\/                   <span class=\"token comment\"># \u63a5\u53e3\u6a21\u5757&#xff08;DTO\u3001\u63a5\u53e3\u58f0\u660e\u3001Feign \u7b49&#xff09;<\/span><br \/>\n\u2502   \u2514\u2500\u2500 pom.xml<br \/>\n\u251c\u2500\u2500 service\/               <span class=\"token comment\"># \u4e1a\u52a1\u6a21\u5757&#xff08;Service\u3001\u4e1a\u52a1\u903b\u8f91\u5b9e\u73b0&#xff09;<\/span><br \/>\n\u2502   \u2514\u2500\u2500 pom.xml<br \/>\n\u251c\u2500\u2500 web\/                   <span class=\"token comment\"># \u542f\u52a8\u6a21\u5757&#xff08;Controller\u3001\u5165\u53e3\u7c7b&#xff09;<\/span><br \/>\n\u2502   \u2514\u2500\u2500 pom.xml<\/p>\n<p>\u6ce8\u610f&#xff1a; Maven \u6a21\u5757\u4e4b\u95f4\u7684\u4f9d\u8d56\u5177\u6709\u4f20\u9012\u6027&#xff0c;\u5982\u679c\u6a21\u5757 A \u4f9d\u8d56\u6a21\u5757 B&#xff0c;\u6a21\u5757 B \u53c8\u4f9d\u8d56\u6a21\u5757 C&#xff0c;\u90a3\u4e48&#xff1a;\u6a21\u5757 A \u65e0\u9700\u663e\u5f0f\u58f0\u660e\u5bf9 C \u7684\u4f9d\u8d56&#xff0c;\u4e5f\u80fd\u4f7f\u7528 C \u4e2d\u7684\u7c7b\u548c\u8d44\u6e90\u3002<\/p>\n<p>\u4f60\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u67e5\u770b\u4f20\u9012\u4f9d\u8d56&#xff1a;mvn dependency:tree\u3010\u6216\u8005\u70b9\u5f00 pom \u6587\u4ef6&#xff0c;\u770b\u4e0b\u65b9\u7684 Dependency Analyzer\u3011<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250506091445-6819d305195dd.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb802\u6b21\uff0c\u70b9\u8d5e29\u6b21\uff0c\u6536\u85cf16\u6b21\u3002Maven \u662f Apache \u63d0\u4f9b\u7684\u9879\u76ee\u6784\u5efa\u548c\u4f9d\u8d56\u7ba1\u7406\u5de5\u5177\u3002Maven \u9879\u76ee\u5177\u6709\u7edf\u4e00\u7684\u7ed3\u6784\uff0c\u4f7f\u7528pom.xml\u7ba1\u7406\u4f9d\u8d56\u3001\u63d2\u4ef6\u548c\u6784\u5efa\u6d41\u7a0b\u3002Catalog \u51b3\u5b9a\u4e86 archetype\uff08\u9879\u76ee\u6a21\u677f\uff09\u7684\u6765\u6e90\u3002\u9009\u9879\u8bf4\u660e\u63a8\u8350\u4f7f\u7528\u573a\u666fInternalIDEA \u5185\u7f6e\u7684 archetype \u5217\u8868\uff08\u5f88\u5c11\u3001\u66f4\u65b0\u6162\uff09\u5b66\u4e60\u6216\u5feb\u901f\u6d4b\u8bd5\u4ece\u4f60\u672c\u673a\u7684 Maven \u4ed3\u5e93\u4e2d\u8bfb\u53d6\u4f60\u66fe\u7ecf\u7528\u8fc7\u7684 archetype\u672c\u5730\u66fe\u7528\u8fc7\u3001\u81ea\u5df1\u7ef4\u62a4\u6a21\u677f\u65f6\u4ece\u8fdc\u7a0bMaven \u4e2d\u592e\u4ed3\u5e93\u5b9e\u65f6\u83b7\u53d6 archetype \u5217\u8868\u63a8\u8350\u4f7f\u7528\uff0c\u83b7\u53d6\u6a21\u677f\u6700\u5168\u3001\u6700\u65b0\u3002_spring boot module maven archetyp \u9009\u54ea\u4e00\u4e2a\u624d\u6709src\u76ee\u5f55<\/p>\n","protected":false},"author":2,"featured_media":35717,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[386,99,393],"topic":[],"class_list":["post-35721","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-intellij-idea","tag-java","tag-maven"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>IDEA\u5feb\u901f\u4e0a\u624bMaven\u9879\u76ee\uff1a\u6a21\u677f\u9009\u62e9 + \u591a\u6a21\u5757\u62c6\u5206 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/35721.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"IDEA\u5feb\u901f\u4e0a\u624bMaven\u9879\u76ee\uff1a\u6a21\u677f\u9009\u62e9 + \u591a\u6a21\u5757\u62c6\u5206 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb802\u6b21\uff0c\u70b9\u8d5e29\u6b21\uff0c\u6536\u85cf16\u6b21\u3002Maven \u662f Apache \u63d0\u4f9b\u7684\u9879\u76ee\u6784\u5efa\u548c\u4f9d\u8d56\u7ba1\u7406\u5de5\u5177\u3002Maven \u9879\u76ee\u5177\u6709\u7edf\u4e00\u7684\u7ed3\u6784\uff0c\u4f7f\u7528pom.xml\u7ba1\u7406\u4f9d\u8d56\u3001\u63d2\u4ef6\u548c\u6784\u5efa\u6d41\u7a0b\u3002Catalog \u51b3\u5b9a\u4e86 archetype\uff08\u9879\u76ee\u6a21\u677f\uff09\u7684\u6765\u6e90\u3002\u9009\u9879\u8bf4\u660e\u63a8\u8350\u4f7f\u7528\u573a\u666fInternalIDEA \u5185\u7f6e\u7684 archetype \u5217\u8868\uff08\u5f88\u5c11\u3001\u66f4\u65b0\u6162\uff09\u5b66\u4e60\u6216\u5feb\u901f\u6d4b\u8bd5\u4ece\u4f60\u672c\u673a\u7684 Maven \u4ed3\u5e93\u4e2d\u8bfb\u53d6\u4f60\u66fe\u7ecf\u7528\u8fc7\u7684 archetype\u672c\u5730\u66fe\u7528\u8fc7\u3001\u81ea\u5df1\u7ef4\u62a4\u6a21\u677f\u65f6\u4ece\u8fdc\u7a0bMaven \u4e2d\u592e\u4ed3\u5e93\u5b9e\u65f6\u83b7\u53d6 archetype \u5217\u8868\u63a8\u8350\u4f7f\u7528\uff0c\u83b7\u53d6\u6a21\u677f\u6700\u5168\u3001\u6700\u65b0\u3002_spring boot module maven archetyp \u9009\u54ea\u4e00\u4e2a\u624d\u6709src\u76ee\u5f55\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/35721.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-06T09:14:46+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250506091444-6819d3047e9a0.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/35721.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/35721.html\",\"name\":\"IDEA\u5feb\u901f\u4e0a\u624bMaven\u9879\u76ee\uff1a\u6a21\u677f\u9009\u62e9 + \u591a\u6a21\u5757\u62c6\u5206 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-05-06T09:14:46+00:00\",\"dateModified\":\"2025-05-06T09:14:46+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/35721.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/35721.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/35721.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"IDEA\u5feb\u901f\u4e0a\u624bMaven\u9879\u76ee\uff1a\u6a21\u677f\u9009\u62e9 + \u591a\u6a21\u5757\u62c6\u5206\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"IDEA\u5feb\u901f\u4e0a\u624bMaven\u9879\u76ee\uff1a\u6a21\u677f\u9009\u62e9 + \u591a\u6a21\u5757\u62c6\u5206 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/35721.html","og_locale":"zh_CN","og_type":"article","og_title":"IDEA\u5feb\u901f\u4e0a\u624bMaven\u9879\u76ee\uff1a\u6a21\u677f\u9009\u62e9 + \u591a\u6a21\u5757\u62c6\u5206 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb802\u6b21\uff0c\u70b9\u8d5e29\u6b21\uff0c\u6536\u85cf16\u6b21\u3002Maven \u662f Apache \u63d0\u4f9b\u7684\u9879\u76ee\u6784\u5efa\u548c\u4f9d\u8d56\u7ba1\u7406\u5de5\u5177\u3002Maven \u9879\u76ee\u5177\u6709\u7edf\u4e00\u7684\u7ed3\u6784\uff0c\u4f7f\u7528pom.xml\u7ba1\u7406\u4f9d\u8d56\u3001\u63d2\u4ef6\u548c\u6784\u5efa\u6d41\u7a0b\u3002Catalog \u51b3\u5b9a\u4e86 archetype\uff08\u9879\u76ee\u6a21\u677f\uff09\u7684\u6765\u6e90\u3002\u9009\u9879\u8bf4\u660e\u63a8\u8350\u4f7f\u7528\u573a\u666fInternalIDEA \u5185\u7f6e\u7684 archetype \u5217\u8868\uff08\u5f88\u5c11\u3001\u66f4\u65b0\u6162\uff09\u5b66\u4e60\u6216\u5feb\u901f\u6d4b\u8bd5\u4ece\u4f60\u672c\u673a\u7684 Maven \u4ed3\u5e93\u4e2d\u8bfb\u53d6\u4f60\u66fe\u7ecf\u7528\u8fc7\u7684 archetype\u672c\u5730\u66fe\u7528\u8fc7\u3001\u81ea\u5df1\u7ef4\u62a4\u6a21\u677f\u65f6\u4ece\u8fdc\u7a0bMaven \u4e2d\u592e\u4ed3\u5e93\u5b9e\u65f6\u83b7\u53d6 archetype \u5217\u8868\u63a8\u8350\u4f7f\u7528\uff0c\u83b7\u53d6\u6a21\u677f\u6700\u5168\u3001\u6700\u65b0\u3002_spring boot module maven archetyp \u9009\u54ea\u4e00\u4e2a\u624d\u6709src\u76ee\u5f55","og_url":"https:\/\/www.wsisp.com\/helps\/35721.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-05-06T09:14:46+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250506091444-6819d3047e9a0.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/35721.html","url":"https:\/\/www.wsisp.com\/helps\/35721.html","name":"IDEA\u5feb\u901f\u4e0a\u624bMaven\u9879\u76ee\uff1a\u6a21\u677f\u9009\u62e9 + \u591a\u6a21\u5757\u62c6\u5206 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-05-06T09:14:46+00:00","dateModified":"2025-05-06T09:14:46+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/35721.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/35721.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/35721.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"IDEA\u5feb\u901f\u4e0a\u624bMaven\u9879\u76ee\uff1a\u6a21\u677f\u9009\u62e9 + \u591a\u6a21\u5757\u62c6\u5206"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/35721","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=35721"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/35721\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/35717"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=35721"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=35721"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=35721"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=35721"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}