X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;ds=sidebyside;f=runtime%2Forg.argeo.slc.repo%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Frepo%2Fmaven%2FMavenConventionsUtils.java;h=4e8d3fb832f54ac6c6f24d905e4c8850682f3209;hb=706b98df2c68382d7bd501fa05cb128f329087ee;hp=9b3bfe7e07040323d54365fdb5696732757db921;hpb=58e0e18d64a2080680a9f8397b0dfa2894519910;p=gpl%2Fargeo-slc.git
diff --git a/runtime/org.argeo.slc.repo/src/main/java/org/argeo/slc/repo/maven/MavenConventionsUtils.java b/runtime/org.argeo.slc.repo/src/main/java/org/argeo/slc/repo/maven/MavenConventionsUtils.java
index 9b3bfe7e0..4e8d3fb83 100644
--- a/runtime/org.argeo.slc.repo/src/main/java/org/argeo/slc/repo/maven/MavenConventionsUtils.java
+++ b/runtime/org.argeo.slc.repo/src/main/java/org/argeo/slc/repo/maven/MavenConventionsUtils.java
@@ -100,7 +100,7 @@ public class MavenConventionsUtils {
/** Relative path to the directories where the files will be stored */
public static String artifactParentPath(Artifact artifact) {
return artifact.getGroupId().replace('.', '/') + '/'
- + artifact.getArtifactId() + '/' + artifact.getVersion();
+ + artifact.getArtifactId() + '/' + artifact.getBaseVersion();
}
public static String artifactsAsDependencyPom(Artifact pomArtifact,
@@ -163,9 +163,9 @@ public class MavenConventionsUtils {
p.append("\n");
// Repositories
-// p.append("\n");
-// p.append("argeohttp://maven.argeo.org/argeo\n");
-// p.append("\n");
+ // p.append("\n");
+ // p.append("argeohttp://maven.argeo.org/argeo\n");
+ // p.append("\n");
p.append("\n");
return p.toString();