2009/6/3 Aaron Zeckoski <azecko...@vt.edu>

> How would I apply this when using mvn pax:run?
>
> I tried this but it didn't work:
>        <plugin>
>            <groupId>org.ops4j</groupId>
>            <artifactId>maven-pax-plugin</artifactId>
>            <version>1.4</version>
>            <configuration>
>
> <profiles>cxf.dosgi/1.1,web,ds,config,prefs,spring.dm,spring</profiles>
>                <provision>
>                    <param>scan-pom:file:${basedir}/runner.xml</param>
>
> <param>--repositories=+
> http://scm.ops4j.org/repos/ops4j/projects/pax/runner-repository/</param>
>                </provision>
>            </configuration>
>        </plugin>
>
> I am guessing that I just don't know the magic config parameter here.
>
> Anyone have any suggestions?
>

as noted in the Maven docs:

  http://www.ops4j.org/projects/pax/construct/maven-pax-plugin/run-mojo.html

you can also use the "deployPoms" mojo parameter to pull in other POMs:

    <configuration>
      <profiles>cxf.dosgi/1.1,web,ds,config,prefs,spring.dm
,spring</profiles>
      <deployPoms>runner.xml</deployPoms>
    </configuration>

HTH

Thanks!
> -AZ
>
>
> On Tue, Jun 2, 2009 at 9:34 AM, Alin Dreghiciu <adreghi...@gmail.com>
> wrote:
> > You may use the pom scanner = the one that will be documented in the page
> > that you specified.
> > http://wiki.ops4j.org//x/GYA6
> >
> > On Tue, Jun 2, 2009 at 2:02 AM, Aaron Zeckoski <azecko...@vt.edu> wrote:
> >>
> >> Can anyone tell me how to load a bunch of bundles that are specified
> >> in a pom file when running mvn pax:run? The page on the wiki that
> >> appears like it might have this information is blank:
> >>
> >>
> http://paxrunner.ops4j.org/display/paxrunner/Provision+bundles+from+a+Maven+POM+file
> >>
> >> What I need to do is load up all the bundles in my source code, and
> >> some bundles from some profiles, and then a bunch of additional
> >> bundles that are specified as maven dependencies. The first 2 parts
> >> are working fine but I cannot figure out how to do the last bit.
> >>
> >> Thanks for any suggestions!
> >> :-)
> >> -AZ
> >>
> >>
> >> --
> >> Aaron Zeckoski (aar...@vt.edu)
> >> Senior Research Engineer - CARET - Cambridge University
> >> https://twitter.com/azeckoski - http://www.linkedin.com/in/azeckoski
> >> http://aaronz-sakai.blogspot.com/ -
> >> http://confluence.sakaiproject.org/confluence/display/~aaronz/<http://confluence.sakaiproject.org/confluence/display/%7Eaaronz/>
> >>
> >> _______________________________________________
> >> 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
> >
> >
>
>
>
> --
> Aaron Zeckoski (aar...@vt.edu)
> Senior Research Engineer - CARET - Cambridge University
> https://twitter.com/azeckoski - http://www.linkedin.com/in/azeckoski
> http://aaronz-sakai.blogspot.com/ -
> http://confluence.sakaiproject.org/confluence/display/~aaronz/<http://confluence.sakaiproject.org/confluence/display/%7Eaaronz/>
>
> _______________________________________________
> general mailing list
> general@lists.ops4j.org
> http://lists.ops4j.org/mailman/listinfo/general
>



-- 
Cheers, Stuart
_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to