Maven build modules out of order -
i trying build maven project has several modules. expect them built in order given in pom.xml ,but can seen order of modules in build not same order mentioned in pom.xml file. can reason ?
my maven version : apache maven 3.0.4
maven decides order based on dependencies. if have 3 submodules: a, b c, need go each submodule , make dependency explicit. example, if go pom.xml of b , declare depends on , c, maven build , c in random order, , build b @ end.
Comments
Post a Comment