SLING-8824 put bnd config in POM with comments
diff --git a/bnd.bnd b/bnd.bnd
deleted file mode 100644
index 4c198f6..0000000
--- a/bnd.bnd
+++ /dev/null
@@ -1,8 +0,0 @@
-# WebConsole support is optional
-# Support XSS API 1.x and 2.x - we use only classes from the API with same signature in both versions
-# Remove those package imports because embedded and relocated via shade plugin (see below)
-Import-Package: \
-  org.apache.felix.webconsole;resolution:=optional,\
-  org.apache.sling.xss;version="[1.0.0,3)",\
-  !org.apache.sling.commons.osgi,\
-  *
diff --git a/pom.xml b/pom.xml
index 099e3d2..f4ba6c4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -45,6 +45,26 @@
             <plugin>
                 <groupId>biz.aQute.bnd</groupId>
                 <artifactId>bnd-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>bnd-process</id>
+                        <goals>
+                            <goal>bnd-process</goal>
+                        </goals>
+                        <configuration>
+                            <bnd>
+                            Import-Package: \
+                              <!-- WebConsole support is optional -->\
+                              org.apache.felix.webconsole;resolution:=optional,\
+                              <!-- Support XSS API 1.x and 2.x - we use only classes from the API with same signature in both versions -->\
+                              org.apache.sling.xss;version="[1.0.0,3)",\
+                              <!-- Remove those package imports because embedded and relocated via shade plugin (see below) -->\
+                              !org.apache.sling.commons.osgi,\
+                              *
+                            </bnd>
+                        </configuration>
+                    </execution>
+                </executions>
             </plugin>
             <plugin>
                 <groupId>biz.aQute.bnd</groupId>