Le vendredi 8 juin 2018, 22:53:17 CEST Ross Goldberg a écrit : > Thanks for the insight, Hervé. > > "packaging" is not part of coordinates: what you can have is "type" > > > I got "packaging" from: > > https://maven.apache.org/pom.html#Maven_Coordinates > > Is that page out of date? Or is "type" used in some circumstances / > contexts, and "packaging" used in others? thanks for the pointer: I knew there were some misunderstandings, but I didn't really find yet where they come from
packaging is used at build time (MavenProject in maven-artifact-transfert), to define what plugins have to be executed, then what artifacts will be generated type is used in dependency and artifact contexts > > For the category terms, if resolving an artifact means both finding & > downloading it, instead of just finding it, then I should change some of > the category descriptions & names: > > have groupId, artifactId & version that identifies an artifact in a > > > specific repository > > This corresponds to the previously proposed "resolved". I'd rename it > either resolvable, or available. available, yes resolve is used in "resolve dependencies" context, which downloads dependencies while we are at terms, "collect" calculates the dependencies but does not download them (just does download poms, which are necessary to calculate dependencies) > > have groupId, artifactId & version that does not identify any artifact in a > > > specific repository > > This corresponds to the previously proposed "unavailable-in-repository". > I'd rename it either unresolvable, or unavailable. > > I think the names should be chosen as a consistent pair: either resolvable > & unresolvable, or available & unavailable. I'm more with (un)available, since resolving is used when resolving dependencies > > have groupId & artifactId; might or might not have version > > > Instead of making a special term for this category, it's probably better to > just require that all coordinates have both groupId & artifactId, and to > term any "coordinates" that don't have both as "incomplete coordinates". --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
