You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by da...@apache.org on 2020/09/01 16:33:10 UTC
[sling-org-apache-sling-installer-factory-feature] 19/32:
SLING-9415 : Mvn id instead of path used to store artifacts
This is an automated email from the ASF dual-hosted git repository.
davidb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-installer-factory-feature.git
commit a3fed5f4e956eae1502a952889c98c56f341237c
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Fri May 1 14:36:29 2020 +0200
SLING-9415 : Mvn id instead of path used to store artifacts
---
.../sling/installer/factory/model/impl/InstallFeatureModelTask.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/sling/installer/factory/model/impl/InstallFeatureModelTask.java b/src/main/java/org/apache/sling/installer/factory/model/impl/InstallFeatureModelTask.java
index c3519aa..9d62540 100644
--- a/src/main/java/org/apache/sling/installer/factory/model/impl/InstallFeatureModelTask.java
+++ b/src/main/java/org/apache/sling/installer/factory/model/impl/InstallFeatureModelTask.java
@@ -117,7 +117,7 @@ public class InstallFeatureModelTask extends AbstractFeatureModelTask {
}
private File getArtifactFile(final File baseDir, final ArtifactId id) {
- return new File(baseDir, id.toMvnId().replace('/', File.separatorChar));
+ return new File(baseDir, id.toMvnPath().replace('/', File.separatorChar));
}
private List<InstallableResource> transform(final String featureJson,