You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2026/05/20 13:36:35 UTC
(sling-org-apache-sling-mcp-server-contributions) 01/01: chore: build a feature containing the bundle
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch issue/build-feature
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-mcp-server-contributions.git
commit c4d7d0cf540fc1afb61b270de71b4a39a661d578
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Wed May 20 15:35:40 2026 +0200
chore: build a feature containing the bundle
THis helps with quick deployments following the upcoming Starter changes from SLING-13208
---
pom.xml | 15 +++++++++++++++
src/main/features/main.json | 8 ++++++++
2 files changed, 23 insertions(+)
diff --git a/pom.xml b/pom.xml
index 6da50bb..1562fb6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -156,6 +156,21 @@
<build>
<plugins>
+ <plugin>
+ <groupId>org.apache.sling</groupId>
+ <artifactId>slingfeature-maven-plugin</artifactId>
+ <version>1.9.4</version>
+ <extensions>true</extensions>
+ <executions>
+ <execution>
+ <id>attach-features</id>
+ <goals>
+ <goal>attach-features</goal>
+ </goals>
+ <phase>prepare-package</phase>
+ </execution>
+ </executions>
+ </plugin>
<!-- Configure bnd-baseline to skip when no previous version exists. Remove after first release -->
<plugin>
<groupId>biz.aQute.bnd</groupId>
diff --git a/src/main/features/main.json b/src/main/features/main.json
new file mode 100644
index 0000000..9c6b8cc
--- /dev/null
+++ b/src/main/features/main.json
@@ -0,0 +1,8 @@
+{
+ "bundles": [
+ {
+ "id": "${project.groupId}:${project.artifactId}:${project.version}",
+ "start-order": 25
+ }
+ ]
+}