ok, let’s think about it (all based on workspace project resolution):
case 1:
you have PA and PB local projects (PA has a dependency to PB) and you
are developing two non related tasks, one in each project. Only if you
finish the two unrelated task on each project will be able to deploy
any of the project. If you finish PA task but PB is still in
developing state (non stable or compilation errors), simply you cant
deploy PA.
case 2:
you have same PA and PB (with same dependency). You have been working
on a PB task and, suddenly arrives a PA urgent task. You have to stop
PB task to accomplish PA one. And when you try to deploy PA, you cant
because PA "requires" dependent PB to be perfectly compilable,
testable and deployable.
I think that the basic target of maven is the artefact & version
management, but when you are forced to use workspace resolution, you
lose this powerful feature, mostly when you are working in a big
developing team. All of us know maven, have experience working on it,
and use to expect certain behaviours to stay unchanged.
We think that it’s necessary to be able to choose to use or not
workspace resolution feature.
thanks!
On Jun 12, 12:30 pm, "Abel Muiño" <
amu...@gmail.com> wrote:
> My experience is that if you have a project (say PA) in your workspace is
> because you're working on it.
> If any other project (PB) is on your workspace and has a dependency to PA
> (with the same version!), you'll want to get that version of the source code
> when compiling PB to avoid problems later (when PA is released and you
> realize that the changes in PB are not compatible).
>
> Note that, with this setup I'm assuming that PA and PB have "-SNAPSHOT"
> versions.
>
> If PB depends on PA 1.0, but PA 1.1-SNAPSHOT is on the workspace, it will
> use the stable, non workspace, 1.0 version.
>
> So, in general... I think that resolving dependencies from the workspace by
> default is a good idea. Disabling them on demand might be useful in some
> cases.
>
> I would like to hear use cases for disabling the workspace resolution. I
> have the impression that the need is is related to an specific development
> process, so I would like to really understand your needs.
>
> On Thu, Jun 12, 2008 at 12:13 PM, pretonik <
julio.munoz.galla...@gmail.com>