美文网首页
mvn简单使用

mvn简单使用

作者: 雪_豹 | 来源:发表于2018-08-26 19:10 被阅读0次
1、mvn基本命令

mvn clean install -Dmaven.test.skip=true -Dmaven.gpg.skip=true

2、maven阿里云中央仓库

修改maven根目录下的conf文件夹中的setting.xml文件,内容如下:

<mirrors>
  <mirror>
    <id>alimaven</id>
    <name>aliyun maven</name>
    <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
    <mirrorOf>central</mirrorOf>        
  </mirror>
</mirrors>

相关文章

网友评论

      本文标题:mvn简单使用

      本文链接:https://www.haomeiwen.com/subject/ojaoiftx.html