This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-mcp-server-contributions.git


The following commit(s) were added to refs/heads/master by this push:
     new 057520a  chore: build a feature containing the bundle (#6)
057520a is described below

commit 057520a443afda1654633676a015c8c090e2d2cf
Author: Robert Munteanu <[email protected]>
AuthorDate: Wed May 20 16:11:45 2026 +0200

    chore: build a feature containing the bundle (#6)
    
    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
+    }
+  ]
+}

Reply via email to