> What I was thinking was that there is also a "derivative"
> attribute of an
> artifact, that goes between version and extension. What do
> people think?
>
> So the final specification of an identifier for an artifact would be:
> groupId
> artifactId
> version
> type
> derivative
> format
>
> Where derivative defaults to none and each type has one
> default format, although
> formats are not related to type explicitly. The filename would be:
> groupId/types/artifactId-version-derivative.format
> Where -derivative is optional and version may be replaced by
> a snapshot version.
>
IMO type is sufficent.
you can have types like <type>zipped-tar</type> or
<type>windows-installer/type>
But I want to propose to add to the list of depenency attributes something
like <organization> or <vendor>.
I really think that for m2 we should add one more segment to the repository
path.
and path should look like: ${repo_root}/www.apache.org/maven/jars/m2-1.0.jar
Michal
|