You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by pa...@apache.org on 2018/11/26 14:53:08 UTC
[sling-org-apache-sling-feature-launcher] branch master updated:
SLING-8132: Don't add launchpad.api anymore by magic in the feature
launcher
This is an automated email from the ASF dual-hosted git repository.
pauls pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-feature-launcher.git
The following commit(s) were added to refs/heads/master by this push:
new 70cdc42 SLING-8132: Don't add launchpad.api anymore by magic in the feature launcher
70cdc42 is described below
commit 70cdc424811e674c8d8ed698a2e65bfd173030db
Author: Karl Pauls <ka...@gmail.com>
AuthorDate: Mon Nov 26 15:52:58 2018 +0100
SLING-8132: Don't add launchpad.api anymore by magic in the feature launcher
---
.../java/org/apache/sling/feature/launcher/impl/FeatureProcessor.java | 4 ----
1 file changed, 4 deletions(-)
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 93b019d..06edb00 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
@@ -107,10 +107,6 @@ public class FeatureProcessor {
// TODO make feature id configurable
final Feature app = FeatureBuilder.assemble(ArtifactId.fromMvnId("group:assembled:1.0.0"), builderContext, features.toArray(new Feature[0]));
- final Artifact a = new Artifact(ArtifactId.parse("org.apache.sling/org.apache.sling.launchpad.api/1.2.0"));
- a.getMetadata().put(org.apache.sling.feature.Artifact.KEY_START_ORDER, "1");
- app.getBundles().add(a);
-
// TODO: this sucks
for (Artifact bundle : app.getBundles()) {
if ( bundle.getStartOrder() == 0) {