2009/4/29 Heiko Seeberger <[email protected]> > I don't believe so - but it should be possible to add support for this ( >> feel free to help out ;) >> > > Let's see ;-) > > >> or you could use the maven-pax-plugin which does this automatically, as it >> runs inside Maven >> (but you'd need to have the pom file somewhere on the filesystem to point >> Maven towards it) >> >> >> http://www.ops4j.org/projects/pax/construct/maven-pax-plugin/provision-mojo.html >> > > There is such an amazing amount of cool Pax tools! >
we just need to get around to documenting everything ;) > As far as I understand from a first glance, the Maven Pax plug-in does not > wrap JARs into bundles, right? > not directly, but it can create wrapper projects when you use the pax-wrap-jar script from Pax-Construct ( in this mode it works as a customized project/archetype plugin, creating and managing poms for you ) when provisioning it's really just acting as a pre-processor to Pax-Runner: collecting bundles referred to in the project reactor, writing them to a deployment pom, and calling Pax-Runner to do the work ;) but you can pass in extra Pax-Runner arguments, either in the pom or by using "-Dargs=<args_file>" so you could do something like: mvn org.ops4j:maven-pax-plugin:provision -f <some-pom-file> -Dargs=<some-args-file> that's rather wordy though, so adding scan-pom support for parent poms is still a good idea :) Heiko > > >> >> HTH >> >> 2009/4/28 Heiko Seeberger <[email protected]> >>> >>> Oh my god: Really great! >>>> >>>> 2009/4/28 Stuart McCulloch <[email protected]> >>>> >>>>> 2009/4/29 Heiko Seeberger <[email protected]> >>>>> >>>>>> Hi, >>>>>> Wouldn't that be nice: When provisioning Pax Runner with a Maven URL >>>>>> not only the specified bundle/JAR is installed, but also the dependent >>>>>> bundles/JARs. >>>>>> >>>>>> E.g. pax-run.sh >>>>>> --autoWrap scan-bundle:mvn:net.liftweb/lift-util/1.1-SNAPSHOT will not >>>>>> only >>>>>> install lift-util but also commons-collections, commons-codec, etc. (all >>>>>> dependencies in the POM and parent POMs). >>>>>> >>>>>> Would that be possible? >>>>>> >>>>> >>>>> isn't that already possible with scan-pom? >>>>> http://wiki.ops4j.org/x/GYA6 >>>>> >>>>> try: pax-run.sh --autoWrap >>>>> scan-pom:mvn:net.liftweb/lift-util/1.1-SNAPSHOT/pom >>>>> >>>>> Heiko >>>>>> -- >>>>>> www.heikoseeberger.name >>>>>> OSGi on Scala: www.scalamodules.org >>>>>> Lift, the simply functional web framework: http://liftweb.net >>>>>> >>>>>> _______________________________________________ >>>>>> general mailing list >>>>>> [email protected] >>>>>> http://lists.ops4j.org/mailman/listinfo/general >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Cheers, Stuart >>>>> >>>>> _______________________________________________ >>>>> general mailing list >>>>> [email protected] >>>>> http://lists.ops4j.org/mailman/listinfo/general >>>>> >>>>> >>>> >>>> >>>> -- >>>> www.heikoseeberger.name >>>> OSGi on Scala: www.scalamodules.org >>>> Lift, the simply functional web framework: http://liftweb.net >>>> >>> >>> >>> >>> -- >>> www.heikoseeberger.name >>> OSGi on Scala: www.scalamodules.org >>> Lift, the simply functional web framework: http://liftweb.net >>> >>> _______________________________________________ >>> general mailing list >>> [email protected] >>> http://lists.ops4j.org/mailman/listinfo/general >>> >>> >> >> >> -- >> Cheers, Stuart >> >> _______________________________________________ >> general mailing list >> [email protected] >> http://lists.ops4j.org/mailman/listinfo/general >> >> > > > -- > www.heikoseeberger.name > OSGi on Scala: www.scalamodules.org > Lift, the simply functional web framework: http://liftweb.net > > _______________________________________________ > general mailing list > [email protected] > http://lists.ops4j.org/mailman/listinfo/general > > -- Cheers, Stuart
_______________________________________________ general mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/general
