zoukankan      html  css  js  c++  java
  • Maven: 定义自己的结构

    新建一个 archetype 项目:

    mvn archetype:create -DgroupId=com.yunling.conf -DartifactId=prof-archetype -DarchetypeArtifactId=maven-archetype-archetype

    模版文件:src/main/resources/archetype-resources/pom.xml

    我修改后的内容如下:

    pom

    安装项目:

    cd prof-archetype

    mvn install

    这样就可以使用它创建新项目:

    mvn archetype:create -DgroupId=cn.lingyun.app -DartifactId=webdemo -DarchetypeArtifactId=prof-archetype -DarchetypeVersion=1.0-SNAPSHOT

    Technorati 标签: maven
    完结
  • 相关阅读:
    直线方程和直线系方程
    多个参数之和积的取值范围
    解析几何习题
    React之Perf
    一文看懂npm、yarn、pnpm之间的区别
    Cannot read property 'properties' of undefined
    为什么要用PolyFill(JS中的修补匠)
    es6-promise
    原生js实现each方法
    有趣的js获取input标签中光标的索引
  • 原文地址:https://www.cnblogs.com/linger/p/1997917.html
Copyright © 2011-2022 走看看