No, imho a dependency cannot have two or more types: we are focused on this
topic (jar vs module) but type is more than that, think sources.

In former case we talk about same file (artifact.jar) but representing
different thing (cp or mp candidate).

What would a dependency type=jar, sources be? That represents two different
files...



On Sat, Nov 4, 2023, 13:59 Martin Desruisseaux <
martin.desruisse...@geomatys.com> wrote:

> Le 2023-11-04 à 13 h 47, Romain Manni-Bucau a écrit :
>
> > How does an artifact has 2 types (it is the main issue with this
> design)?
>
> I also thought about that. For an initial version, Tamas's proposal
> would work. For a solution that avoid repetition, maybe <type> should
> allow a comma or space-separated list. This is an open question, but not
> necessarily a blocker since a workaround exists for the meantime.
>
>      Martin
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
>

Reply via email to