4.0.0org.apache.slingsling12../../parentorg.apache.slingorg.apache.sling.samples.frameworkfragment0.9.9-SNAPSHOTjarApache Sling Sample Framework Fragment Bundle
Shows how to create a fragment bundle that causes additional
packages from the JVM environment to be exported.
After starting this bundle, the OSGi console detail view of
the system bundle (/system/console/bundles/0) should list two
com.example packages as being exported.
Those packages are just dummy examples, the list of exported
packages will obviously need to be adapted to create your own
fragment bundle.
org.codehaus.groovy.mavengmaven-plugin1.0generate-resourcesexecute${project.version}
// Convert POM version to valid OSGi version identifier
project.properties['osgi.version'] =
(project.properties['rawVersion'] =~ /-/).replaceAll('.')
org.apache.maven.pluginsmaven-jar-plugintruefalse${osgi.version}${project.description}${project.name}http://sling.apache.org2Apache Software Foundationsystem.bundle; extension:=framework${project.artifactId}
com.example.somepackage; version=1.2.3,
com.example.anotherpackage; version=4.5.6