Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.2-M1, 1.2
-
None
Description
Archiva model should be updated so that the ARTIFACT table includes repositoryId as a primary key.
Multiple repositories can contain the same artifacts which may be available only to certain principals.
For example:
if commons-lang 2.3 is in a repository called "internal" and in another repository called "public" both repositories were scanned (public first, then internal) the artifact will no longer be accessible to the users of the public repository as the artifact reference is not considered unique.