Shay-
I put together a sample project showing the combination of
maven-dependency-plugin and maven-sling-plugin to do what I think you
want to do.

See http://svn.apache.org/repos/asf/sling/trunk/samples/installing-dependencies/

This project contains a simple in-container integration test (which
currently fails).

When build with:
mvn -P autoInstallBundles install

Maven will install both the junit support bundle and the test bundle.

If this is something which is expected to be a common case, we should
create a new goal for maven-sling-plugin using the dependency
selection mechanism used by m-dependency-plugin with
sling:install-file.

HTH,
Justin

On Thu, Feb 10, 2011 at 5: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
>
> ______________________________________________________________________________
>
> Shay Thompson - Lead Computer Scientist
> Adobe Systems, Inc. - AES Foundation
>
>

Reply via email to