]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.repo/src/main/resources/org/argeo/slc/repo/repo.cnd
+ clean repo model
[gpl/argeo-slc.git] / runtime / org.argeo.slc.repo / src / main / resources / org / argeo / slc / repo / repo.cnd
index 578beb570ba7f377bfcccda85ef0a651cca47f88..271e85eee85d43ee4310b394942843121ee392b7 100644 (file)
@@ -26,10 +26,29 @@ mixin
 // so using groupId would conflict 
 - slc:groupBaseId (STRING) m
 
+// Mark a given group base as relevant to create modular distribution in the current workspace  
+// [slc:category]
+// mixin
+
 [slc:distribution] > slc:artifactVersion
 mixin
 + slc:artifactVersions (argeo:references) m
 
+
+[slc:modularDistributionBase]
+mixin
+
+// Question: Extend slc:categorizedNameVersion ? (not possible without migration)
+[slc:modularDistribution] 
+mixin
++ slc:modules (nt:unstructured) m
+
+[slc:moduleCoordinates] > nt:unstructured
+- slc:category (STRING)
+- slc:name (STRING)
+- slc:version (STRING)
+
+
 // ORIGINS
 [slc:knownOrigin] > nt:base
 mixin
@@ -129,3 +148,13 @@ mixin
 
 [slc:bundleArtifact] > slc:artifact,slc:jarFile,slc:bundle
 mixin
+
+// RPM
+[slc:rpm] > mix:referenceable, mix:created, mix:lastModified, mix:title
+mixin
+- slc:name (STRING)
+- slc:version (STRING)
+- slc:rpmVersion (STRING)
+- slc:rpmRelease (STRING)
+- slc:rpmArch (STRING)
+- slc:rpmArchivaeSize (STRING)