[Bug 1197037] Review Request: felix-scr - Apache Felix Declarative Services

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1197037



--- Comment #9 from gil cattaneo <puntogil@xxxxxxxxx> ---
you must be sure that the system libraries are not copied in the archive JAR

use:
%pom_xpath_remove
"pom:plugin[pom:artifactId='maven-bundle-plugin']/pom:configuration/pom:instructions/pom:Private-Package"
%pom_xpath_remove
"pom:plugin[pom:artifactId='maven-bundle-plugin']/pom:configuration/pom:instructions/pom:Embed-Dependency"
%pom_xpath_remove
"pom:plugin[pom:artifactId='maven-bundle-plugin']/pom:configuration/pom:instructions/pom:Export-Package"
%pom_xpath_inject
"pom:plugin[pom:artifactId='maven-bundle-plugin']/pom:configuration/pom:instructions"
'
<Export-Package>
    org.apache.felix.scr;version=1.8,
    org.apache.felix.scr.component;version=1.0;
        mandatory:="status"; status="provisional"
</Export-Package>'
%pom_xpath_remove
"pom:plugin[pom:artifactId='maven-bundle-plugin']/pom:configuration/pom:instructions/pom:Import-Package"
%pom_xpath_inject
"pom:plugin[pom:artifactId='maven-bundle-plugin']/pom:configuration/pom:instructions"
'
<Import-Package>
    org.apache.felix.service.command;resolution:=optional,
    org.apache.felix.shell;provide:=true;resolution:=optional,
    org.osgi.framework;version="[1.4,2)",
    org.osgi.service.cm;version="[1.2,2)";resolution:=optional,
    org.osgi.service.log;version="[1.3,2)";resolution:=optional,
    org.osgi.service.metatype;version="[1.1,2)";resolution:=optional,
    org.osgi.service.packageadmin;version="[1.2,2)";resolution:=optional,
    org.osgi.service.component;provide:=true,
    org.apache.felix.scr;provide:=true,
    org.kxml2.io, org.osgi.util.tracker, org.xmlpull.v1
</Import-Package>'

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review





[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]