Thanks Justin, that's good to know! Shay, in the discussion http://dev.day.com/discussion-groups/content/lists.go/tnmsjseh the reply from Alex is part of what I was thinking. The install-file goal that Justin mentioned probably answers your question better, though.
The other part of what i was thinking is something my team does, which may be crx specific. We use mvn to include a third-party bundle into a crx package, which can then be uploaded and installed. Kind of an automated package creation whereas Alex was probably thinking of a manual package creation. The closest public example I can think of is a ui project pom in the CQ5 docs. If you think it would help you I may be able to share a snippet from our pom. Best regards, -james. On Thursday, February 10, 2011, Justin Edelson <[email protected]> wrote: > If you just want to put a bundle (or any file) into the repository, just use > curl :) > > If you want the equivalent of sling:install for a pre-existing bundle, use > the install-file goal of the maven-sling-plugin. > > Justin > > On Feb 10, 2011, at 5:58 PM, James Stansell <[email protected]> wrote: > >> Hi Shay, >> >> Yes, that should be possible. I would recommend deploying to somewhere like >> /apps/public/install because (at least in CQ5.3) the sling JCR installer >> seems to be the most robust way to install bundles. >> >> I don't have a POM snippet handy but I will look for one. >> >> HTH, >> >> -james. >> >> >> On Thu, Feb 10, 2011 at 4:17 PM, Shay Thompson <[email protected]> wrote: >> >>> >>> I was wondering if someone might have a sample pom.xml which deploys a >>> pre-made bundle to sling. The bundle is local, not on a remote repository. >>> Is this possible if you're not building the bundle? Like it's a 3rd party >>> OSGi bundle that I need to deploy. >>> >>> Thanks, >>> Shay
