<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    itVincent Blog - Java Working Fun!

    技術引領時代!
    posts - 117, comments - 181, trackbacks - 0, articles - 12

    創(chuàng)建maven2項目及導入eclipse

    Posted on 2009-05-10 19:21 itVincent 閱讀(2520) 評論(1)  編輯  收藏 所屬分類: maven


    1、首先在命令行執(zhí)行

    mvn archetype:generate

    2、提供輸入的生成項目的類型
    Choose archetype:
    1: internal -> appfuse-basic-jsf (AppFuse archetype for creating a web application with Hibernate, Spring and JSF)
    2: internal -> appfuse-basic-spring (AppFuse archetype for creating a web application with Hibernate, Spring and Spring MVC)
    3: internal -> appfuse-basic-struts (AppFuse archetype for creating a web application with Hibernate, Spring and Struts 2)
    4: internal -> appfuse-basic-tapestry (AppFuse archetype for creating a web application with Hibernate, Spring and Tapestry 4)
    5: internal -> appfuse-core (AppFuse archetype for creating a jar application with Hibernate and Spring and XFire)
    6: internal -> appfuse-modular-jsf (AppFuse archetype for creating a modular application with Hibernate, Spring and JSF)
    7: internal -> appfuse-modular-spring (AppFuse archetype for creating a modular application with Hibernate, Spring and Spring MVC)
    8: internal -> appfuse-modular-struts (AppFuse archetype for creating a modular application with Hibernate, Spring and Struts 2)
    9: internal -> appfuse-modular-tapestry (AppFuse archetype for creating a modular application with Hibernate, Spring and Tapestry 4)
    10: internal -> maven-archetype-j2ee-simple (A simple J2EE Java application)
    11: internal -> maven-archetype-marmalade-mojo (A Maven plugin development project using marmalade)
    12: internal -> maven-archetype-mojo (A Maven Java plugin development project)
    13: internal -> maven-archetype-portlet (A simple portlet application)
    14: internal -> maven-archetype-profiles ()
    15: internal -> maven-archetype-quickstart ()
    16: internal -> maven-archetype-site-simple (A simple site generation project)
    17: internal -> maven-archetype-site (A more complex site project)
    18: internal -> maven-archetype-webapp (A simple Java web application)
    19: internal -> jini-service-archetype (Archetype for Jini service project creation)
    20: internal -> softeu-archetype-seam (JSF+Facelets+Seam Archetype)
    21: internal -> softeu-archetype-seam-simple (JSF+Facelets+Seam (no persistence) Archetype)
    22: internal -> softeu-archetype-jsf (JSF+Facelets Archetype)
    23: internal -> jpa-maven-archetype (JPA application)
    24: internal -> spring-osgi-bundle-archetype (Spring-OSGi archetype)
    25: internal -> confluence-plugin-archetype (Atlassian Confluence plugin archetype)
    26: internal -> jira-plugin-archetype (Atlassian JIRA plugin archetype)
    27: internal -> maven-archetype-har (Hibernate Archive)
    28: internal -> maven-archetype-sar (JBoss Service Archive)
    29: internal -> wicket-archetype-quickstart (A simple Apache Wicket project)
    30: internal -> scala-archetype-simple (A simple scala project)
    31: internal -> lift-archetype-blank (A blank/empty liftweb project)
    32: internal -> lift-archetype-basic (The basic (liftweb) project)
    33: internal -> cocoon-22-archetype-block-plain ([http://cocoon.apache.org/2.2/maven-plugins/])
    34: internal -> cocoon-22-archetype-block ([http://cocoon.apache.org/2.2/maven-plugins/])
    35: internal -> cocoon-22-archetype-webapp ([http://cocoon.apache.org/2.2/maven-plugins/])
    36: internal -> myfaces-archetype-helloworld (A simple archetype using MyFaces)
    37: internal -> myfaces-archetype-helloworld-facelets (A simple archetype using MyFaces and facelets)
    38: internal -> myfaces-archetype-trinidad (A simple archetype using Myfaces and Trinidad)
    39: internal -> myfaces-archetype-jsfcomponents (A simple archetype for create custom JSF components using MyFaces)
    40: internal -> gmaven-archetype-basic (Groovy basic archetype)
    41: internal -> gmaven-archetype-mojo (Groovy mojo archetype)
    Choose a number:  (
    1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/31/32/33/34/35/36/37/38/39/40/4115

    默認為15,即常用的maven2項目,如果要生成webapp項目,則選擇18。

    3、要求輸入項目的基本信息
    Define value for groupId: cn.itvincent
        Define value 
    for artifactId:  Test
    Define value 
    for version:  1.0-SNAPSHOT
       Define value 
    for package:  cn.itvincent.tapestry
    Confirm properties configuration:
    按提示輸入信息,最后確定,就會在當前目錄下生成一個Test目錄了

    4、要想在eclipse方便地導入項目,則要在命令行中進入Test目錄,然后輸入
    mvn eclipse:eclipse
    生成eclipse的配置文件


    Feedback

    # re: 創(chuàng)建maven2項目及導入eclipse  回復  更多評論   

    2009-09-25 16:18 by yout
    good.thx
    主站蜘蛛池模板: 午夜不卡AV免费| 男女作爱免费网站| 久久WWW免费人成一看片| 亚洲级αV无码毛片久久精品| 一区免费在线观看| 亚洲日韩中文字幕日韩在线| 成人午夜影视全部免费看| 国产伦一区二区三区免费| 精品国产亚洲AV麻豆| 亚洲人成国产精品无码| 国产日韩精品无码区免费专区国产| 亚洲精品国产福利一二区| 精品乱子伦一区二区三区高清免费播放| 亚洲国产精品成人久久蜜臀 | 人人玩人人添人人澡免费| 亚洲人成人网站色www| A片在线免费观看| 亚洲妓女综合网99| 国产免费怕怕免费视频观看| 乱淫片免费影院观看| 亚洲午夜国产精品无码| 99re6在线视频精品免费下载 | 亚洲区日韩精品中文字幕| 免费国产成人高清在线观看麻豆| 国产AV无码专区亚洲AV蜜芽| 亚洲精品国产精品乱码不卡| 中文字幕成人免费高清在线| 日韩精品一区二区亚洲AV观看 | 亚洲综合av一区二区三区| 亚洲精品乱码久久久久久蜜桃| 国产A∨免费精品视频| 亚洲午夜未满十八勿入| 好吊妞在线成人免费| 国产精品一区二区三区免费| 亚洲精品免费在线观看| 女人被弄到高潮的免费视频| 一个人看的hd免费视频| 亚洲精品不卡视频| 亚洲国产成人a精品不卡在线| 无码国产精品一区二区免费16| 亚洲色大成网站www尤物|