This is an automated email from the ASF dual-hosted git repository.
cziegeler pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-installer-factory-feature.git
The following commit(s) were added to refs/heads/master by this push:
new a3fed5f SLING-9415 : Mvn id instead of path used to store artifacts
a3fed5f is described below
commit a3fed5f4e956eae1502a952889c98c56f341237c
Author: Carsten Ziegeler <[email protected]>
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,