It should work both ways. The only thing you have to do is to use teh right option name: --systemPackages (or teh shorter --sp)
http://wiki.ops4j.org//x/GwCy On Fri, Jul 3, 2009 at 12:39 PM, Ralf Sigmund <ralf.sigm...@gmail.com>wrote: > Hi, > > I really like the pax maven plugin and it generally worked for me quite > well. > > Now I would like to add packages to the org.osgi.framework.system.packages > > I tried this in several ways, unfortunately without success: > > (1) i added a file runner.args to my root project directory. > The content starts: > > --system-packages=com.sun.org.apache.xml.internal.utils,com.sun.org.apache.xpath.internal.objects,com.. > > when i execute mvn clean install pax:provision I stil can see, that my > bundle is missing the packages > > (2) i added the same content to my base pom.xml: > > <plugin> > <groupId>org.ops4j</groupId> > <artifactId>maven-pax-plugin</artifactId> > > <configuration> > <provision> > <param>--platform=equinox</param> > > > <param>--system-packages=com.sun.org.apache.xml.internal.utils,com.sun.org.apache.xpath.internal.objects,com.. > </param> > </provision> > </configuration> > .... > > again my bundle could not see the packages. > > when I look into runner/equinox/config.ini I can see a very long > declaration of org.osgi.framework.system.packages > starting with > org.osgi.framework.system.packages=javax.accessibility,javax.activation,javax.activity, > > unfortunately there is none of my declared system packages included. > > How can I add packages to org.osgi.framework.system.packages ? > > Greets > Ralf > > _______________________________________________ > general mailing list > general@lists.ops4j.org > http://lists.ops4j.org/mailman/listinfo/general > -- Alin Dreghiciu Software Developer - Looking for new projects! My profile: http://www.linkedin.com/in/alindreghiciu My blog: http://adreghiciu.blogspot.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software. http://www.qi4j.org - New Energy for Java - Domain Driven Development.
_______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general