<small id='Fdqiw'></small><noframes id='Fdqiw'>

    1. <tfoot id='Fdqiw'></tfoot>

        • <bdo id='Fdqiw'></bdo><ul id='Fdqiw'></ul>
        <i id='Fdqiw'><tr id='Fdqiw'><dt id='Fdqiw'><q id='Fdqiw'><span id='Fdqiw'><b id='Fdqiw'><form id='Fdqiw'><ins id='Fdqiw'></ins><ul id='Fdqiw'></ul><sub id='Fdqiw'></sub></form><legend id='Fdqiw'></legend><bdo id='Fdqiw'><pre id='Fdqiw'><center id='Fdqiw'></center></pre></bdo></b><th id='Fdqiw'></th></span></q></dt></tr></i><div id='Fdqiw'><tfoot id='Fdqiw'></tfoot><dl id='Fdqiw'><fieldset id='Fdqiw'></fieldset></dl></div>
        <legend id='Fdqiw'><style id='Fdqiw'><dir id='Fdqiw'><q id='Fdqiw'></q></dir></style></legend>

        Maven 构建只更改了文件

        时间:2023-07-28

        • <small id='sl0m1'></small><noframes id='sl0m1'>

            <i id='sl0m1'><tr id='sl0m1'><dt id='sl0m1'><q id='sl0m1'><span id='sl0m1'><b id='sl0m1'><form id='sl0m1'><ins id='sl0m1'></ins><ul id='sl0m1'></ul><sub id='sl0m1'></sub></form><legend id='sl0m1'></legend><bdo id='sl0m1'><pre id='sl0m1'><center id='sl0m1'></center></pre></bdo></b><th id='sl0m1'></th></span></q></dt></tr></i><div id='sl0m1'><tfoot id='sl0m1'></tfoot><dl id='sl0m1'><fieldset id='sl0m1'></fieldset></dl></div>

            <legend id='sl0m1'><style id='sl0m1'><dir id='sl0m1'><q id='sl0m1'></q></dir></style></legend>

              <tfoot id='sl0m1'></tfoot>
                <tbody id='sl0m1'></tbody>
                  <bdo id='sl0m1'></bdo><ul id='sl0m1'></ul>
                  本文介绍了Maven 构建只更改了文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  假设我有如下的模块结构

                  Lets say i have module structure like below

                       Modules
                         ->utils
                         ->domain
                         ->client
                         ->services
                         ->deploy (this is at the module level)
                  

                  现在要启动客户端,我需要构建所有模块,即 utils、域、客户端、服务, 因为我正在加载所有上述模块的 jar 以最终启动客户

                  Now to lauch the client i need to make a build of all the modules, i.e utils, domain, client, services, because i am loading the jars of all the above modules to fianlly lanch the client

                  所有的罐子都在模块部署中组装起来.

                  And all the jars gets assembled in the module deploy.

                  我的问题是,例如,如果我更改服务中的任何内容,那么当从 deploy maven 运行构建时有没有办法可以识别它必须只构建 services 和因此构建它并将其部署在部署文件夹中?

                  My question is if i change anything in services for example, then is there a way when running a build from deploy maven could recognise it has to build only services and hence build it and deploy it in deploy folder?

                  推荐答案

                  如果你使用的是 SVN 和 *nix,从根模块开始

                  If you are using SVN and *nix, from the root module

                  mvn install -amd -pl $(svn st | colrm 1 8 | sed 's /.*  ' | xargs echo | sed 's- -,:-g' | sed 's ^ : ') 
                  

                  这篇关于Maven 构建只更改了文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:持续集成服务器 下一篇:如何强制使用 @Override 注释?

                  相关文章

                  最新文章

                • <tfoot id='TnAKV'></tfoot>

                  <legend id='TnAKV'><style id='TnAKV'><dir id='TnAKV'><q id='TnAKV'></q></dir></style></legend>

                  <small id='TnAKV'></small><noframes id='TnAKV'>

                • <i id='TnAKV'><tr id='TnAKV'><dt id='TnAKV'><q id='TnAKV'><span id='TnAKV'><b id='TnAKV'><form id='TnAKV'><ins id='TnAKV'></ins><ul id='TnAKV'></ul><sub id='TnAKV'></sub></form><legend id='TnAKV'></legend><bdo id='TnAKV'><pre id='TnAKV'><center id='TnAKV'></center></pre></bdo></b><th id='TnAKV'></th></span></q></dt></tr></i><div id='TnAKV'><tfoot id='TnAKV'></tfoot><dl id='TnAKV'><fieldset id='TnAKV'></fieldset></dl></div>
                    • <bdo id='TnAKV'></bdo><ul id='TnAKV'></ul>