I am *really* not sure about this statement, at least for
dependencyManagement.

For pluginManagement, yes, order doesn't matter. The order in build/plugins
matter, but not pluginManagement/plugins.

For dependencyManagement, if you import BOMs with
<scope>import</scope><type>pom</type>, then there could be duplicates and
order matters then (see Question #13 in
http://andresalmiray.com/maven-dependencies-pop-quiz-results/)

On Wed, Jul 8, 2020 at 2:46 PM Tomo Suzuki <[email protected]>
wrote:

> The order does not matter. I usually sort them alphabetically so that I can
> easily find duplicates.
>
> On Wed, Jul 8, 2020 at 02:11 彭宁均 <[email protected]> wrote:
>
> > hi,
> > guys!
> > in my team, we use dependencymanagement to manage the version of hundreds
> > dependencies. Now i want to adjust the order of dependencies to make it
> > more clear. So i am wondering does order of dependencies in
> > dependemcymanagement matters?
> > and also, does order of plugins in pluginmanagement matters?
> >
> >
> > thanks!
>
> --
> Regards,
> Tomo
>


-- 
Thomas Broyer
/tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>

Reply via email to