X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=runtime%2Forg.argeo.slc.repo%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Frepo%2Fmaven%2FImportMavenDependencies.java;h=2ad3e7b5a42fe90e1c4fbaf9d56fe60077b8fa48;hb=3c2517e2d725350d652e526f2c64c8265694554e;hp=962e429ea0dafc5d0a382ada39a880d666461810;hpb=2755fd267e2a756b9e7a33963645ed0df8306fc9;p=gpl%2Fargeo-slc.git diff --git a/runtime/org.argeo.slc.repo/src/main/java/org/argeo/slc/repo/maven/ImportMavenDependencies.java b/runtime/org.argeo.slc.repo/src/main/java/org/argeo/slc/repo/maven/ImportMavenDependencies.java index 962e429ea..2ad3e7b5a 100644 --- a/runtime/org.argeo.slc.repo/src/main/java/org/argeo/slc/repo/maven/ImportMavenDependencies.java +++ b/runtime/org.argeo.slc.repo/src/main/java/org/argeo/slc/repo/maven/ImportMavenDependencies.java @@ -57,7 +57,7 @@ public class ImportMavenDependencies implements Runnable { private Session jcrSession; private String artifactBasePath = RepoConstants.ARTIFACTS_BASE_PATH; - private String distributionsBasePath = "/slc/repo/distributions"; + private String distributionsBasePath = RepoConstants.DISTRIBUTIONS_BASE_PATH; private String distributionName; private ArtifactIndexer artifactIndexer = new ArtifactIndexer(); @@ -141,7 +141,8 @@ public class ImportMavenDependencies implements Runnable { } try { - String parentPath = artifactBasePath + '/' + String parentPath = artifactBasePath + + (artifactBasePath.endsWith("/") ? "" : "/") + artifactParentPath(artifact); Node parentNode; if (!jcrSession.itemExists(parentPath)) {