News for hackers. Stuff that matters.
Re:Explicit term inference with Scala 3 by JackFr on Tuesday November 10, 2020 @07:24AM (#25045173)
The things I want to do, are they ‘goals’, ‘tasks’, ‘phases’ or ‘executions’? And do I manage my dependencies in ‘dependencies’ or ‘dependencyManagement’? And how is it that none of the ‘dependency’ goals can tell me the origin of the version - I have to use ‘help:effectivePom’?

Maven is powerful and people forget how innovative it was. But it’s not easy.

Re:Explicit term inference with Scala 3 by lmm on Tuesday November 10, 2020 @10:21AM (#25046899)
> The things I want to do, are they ‘goals’, ‘tasks’, ‘phases’ or ‘executions’?

The page I linked to is pretty clear about which is which and what they do.

> And do I manage my dependencies in ‘dependencies’ or ‘dependencyManagement’?

You list your dependencies in dependencies, you manage them in dependencyManagement. But it's clear in the documentation, and if you're looking at a tutorial from 10 years ago then it'll still be accurate.

There are confusing things in maven. But documentation and backward-compatibility go a long way, and I really think the fixed build lifecycle puts it head and shoulders above a lot of alternatives; the cost/benefit of each project having a slightly different set of build commands just doesn't stack up.