zoukankan      html  css  js  c++  java
  • maven 多个模块指定一个模块打包

    参数 全称 释义 说明
    -pl --projects Build specified reactor projects instead of all projects
    选项后可跟随{groupId}:{artifactId}或者所选模块的相对路径(多个模块以逗号分隔)

    -am --also-make If project list is specified, also build projects required by the list
    表示同时处理选定模块所依赖的模块

    -amd --also-make-dependents If project list is specified, also build projects that depend on projects on the list
    表示同时处理依赖选定模块的模块

    -N --Non-recursive Build projects without recursive
    表示不递归子模块

    -rf --resume-from Resume reactor from specified project
    表示从指定模块开始继续处理

    mvn clean package install -pl 指定的模块名 -am
    

      

    mvn clean package  -pl 指定的模块名 -am
    

      

  • 相关阅读:
    练习题
    练习题
    作业 —— day77
    解决:Django项目no such table django_session
    解决:A server error occurred. Please contact the administrator
    作业24
    元类
    类的内置方法
    反射
    考试错题
  • 原文地址:https://www.cnblogs.com/matd/p/12162641.html
Copyright © 2011-2022 走看看