This is an automated email from the ASF dual-hosted git repository.
pauls pushed a commit to branch extensions
in repository
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-feature-launcher.git
The following commit(s) were added to refs/heads/extensions by this push:
new 1672563 Filter feature extensions on dao
1672563 is described below
commit 1672563fbceee89294c70eb413a7d37f58e8484d
Author: Karl Pauls <[email protected]>
AuthorDate: Tue Aug 28 23:15:45 2018 +0200
Filter feature extensions on dao
---
.../java/org/apache/sling/feature/launcher/impl/FeatureProcessor.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/src/main/java/org/apache/sling/feature/launcher/impl/FeatureProcessor.java
b/src/main/java/org/apache/sling/feature/launcher/impl/FeatureProcessor.java
index bdacc49..4d438f4 100644
--- a/src/main/java/org/apache/sling/feature/launcher/impl/FeatureProcessor.java
+++ b/src/main/java/org/apache/sling/feature/launcher/impl/FeatureProcessor.java
@@ -35,6 +35,7 @@ import org.apache.sling.feature.Configuration;
import org.apache.sling.feature.Extension;
import org.apache.sling.feature.ExtensionType;
import org.apache.sling.feature.Feature;
+import org.apache.sling.feature.FeatureConstants;
import org.apache.sling.feature.builder.BuilderContext;
import org.apache.sling.feature.builder.FeatureBuilder;
import org.apache.sling.feature.builder.FeatureExtensionHandler;
@@ -173,7 +174,7 @@ public class FeatureProcessor {
}
for (final Extension ext : app.getExtensions())
{
- if (ext.getType() == ExtensionType.ARTIFACTS)
+ if (ext.getType() == ExtensionType.ARTIFACTS &&
ext.getName().equals(FeatureConstants.EXTENSION_NAME_CONTENT_PACKAGES))
{
for (final Artifact a : ext.getArtifacts())
{