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 2018/07/04 15:44:41 UTC

[sling-slingstart-maven-plugin] branch master updated: SLING-7763 Slingstart Maven Plugin looks at non-substituted files when converting to provisioning model

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-slingstart-maven-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new c098628  SLING-7763 Slingstart Maven Plugin looks at non-substituted files when converting to provisioning model
c098628 is described below

commit c098628d7847186f735c411a2916d8cb5f8abe2c
Author: David Bosschaert <da...@gmail.com>
AuthorDate: Wed Jul 4 16:44:22 2018 +0100

    SLING-7763 Slingstart Maven Plugin looks at non-substituted files when converting to provisioning model
---
 .../java/org/apache/sling/maven/slingstart/FeatureModelConverter.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/maven/slingstart/FeatureModelConverter.java b/src/main/java/org/apache/sling/maven/slingstart/FeatureModelConverter.java
index 01887cb..622296e 100644
--- a/src/main/java/org/apache/sling/maven/slingstart/FeatureModelConverter.java
+++ b/src/main/java/org/apache/sling/maven/slingstart/FeatureModelConverter.java
@@ -82,7 +82,7 @@ public class FeatureModelConverter {
         targetDir.mkdirs();
 
         try {
-            for (File f : files) {
+            for (File f : substedFiles) {
                 if (!f.getName().endsWith(".json")) {
                     continue;
                 }