问答详情
源自:2-2 创建项目和依赖

为什么我用mvn创建不了

https://img1.mukewang.com/5adef94b0001c28f13660768.jpg

为什么我创建不了?

提问者:魄弹兽 2018-04-24 17:31

个回答

  • _白狼
    2018-04-25 10:00:30
    已采纳

    创建命令:mvn archetype:create -DgroupId=org.seckill -DartifactId=seckill -DarchetypeArtifatId=maven-archetype-webapp



    如果 maven版本是3.5以上用如下这个命令,其原因3.5版本以上丢弃掉create方式创建maven

    mvn archetype:generate -DgroupId=org.seckill -DartifactId=seckill -DarchetypeArtifactId=maven-archetype-webapp

  • 啊哈呀嘿
    2019-03-07 09:21:09

    jerryfeng@jerryfeng-Inspiron-7559:~$ mvn archetype:generate -DgroupId=org.seckill -DartifactId=seckill -DarchetypeArtifactId=maven-archetype-webapp

    [INFO] Scanning for projects...

    [INFO] 

    [INFO] ------------------------------------------------------------------------

    [INFO] Building Maven Stub Project (No POM) 1

    [INFO] ------------------------------------------------------------------------

    [INFO] 

    [INFO] >>> maven-archetype-plugin:3.0.1:generate (default-cli) > generate-sources @ standalone-pom >>>

    [INFO] 

    [INFO] <<< maven-archetype-plugin:3.0.1:generate (default-cli) < generate-sources @ standalone-pom <<<

    [INFO] 

    [INFO] 

    [INFO] --- maven-archetype-plugin:3.0.1:generate (default-cli) @ standalone-pom ---

    [INFO] Generating project in Interactive mode


  • 本幕卿
    2019-01-22 10:58:49

    万分感谢

  • 妈妈说名字长就不会重复
    2018-07-10 01:37:38

    https://img4.mukewang.com/5b439d540001258902980079.jpg

    十分感谢