You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@sling.apache.org by Erik Froese <er...@gmail.com> on 2012/06/04 17:53:52 UTC

Using maven-launchpad-plugin but I don't need Sling in my standalone.

Hey,

First off, is this the right place to send mail for questions about
the maven-launchpad-plugin? If not, my apologies.

I'm trying to use the maven-launchpad-plugin to bundle up an OSGi
runtime and a bunch of bundles into an executable jar file. That part
seems to work just fine. All of the bundles in my
src/main/bundles/list.xml are included in the standalone jar.

My problem is I don't need sling or the JCR in my application. I tried
to setting includeDefaultBundles to false but the sling/jcr jars
always wind up in my jar.

Here's the plugin configuration part of my pom.xml

https://gist.github.com/2869165

Is there something else I can do to get the plugin to stop merging in
the defaults?

Thanks
Erik Froese

Re: Using maven-launchpad-plugin but I don't need Sling in my standalone.

Posted by Erik Froese <er...@gmail.com>.
Hey Justin,

Thanks for looking into this. I wasn't able to get your pom working though.
Configuring the includeDefaultBundles at the plugin level did work. I
was able to produce a jar without the sling bundles.

Thanks
Erik

ps - In case it matters here's my maven version:
Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
Maven home: /Users/froese/Applications/maven
Java version: 1.6.0_31, vendor: Apple Inc.
Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x", version: "10.7.4", arch: "x86_64", family: "mac"

On Mon, Jun 4, 2012 at 7:43 PM, Justin Edelson <ju...@justinedelson.com> wrote:
> Erik-
> I wasn't able to get your project to build due to missing dependencies.
>
> Here's a simplified pom which does work correctly:
> https://gist.github.com/2871513
>
> Note that it would be simpler to configure the includeDefaultBundles just
> one time (in a top-level configuration element under the plugin), but I
> didn't want to do quite yet.
>
> If you can put together a reproducible case of when includeDefaultBundles
> doesn't work, please post it.
>
> Regards,
> Justin
>
> On Mon, Jun 4, 2012 at 2:18 PM, Erik Froese <er...@gmail.com> wrote:
>
>> I'm getting a lot of sling bundles I don't need. How can I get just
>> what is in my list.xml?
>>
>> unzip -l
>> /Users/froese/work/sakaiproject/nakamura/bundles/preview/target/org.sakaiproject.nakamura.preview-1.3-SNAPSHOT-bundles.jar
>>  |grep sling
>>    22567  06-24-11 09:57
>> resources/bundles/0/org.apache.sling.commons.osgi-2.0.6.jar
>>    34679  06-24-11 10:16
>> resources/bundles/0/org.apache.sling.commons.mime-2.1.4.jar
>>    22006  11-04-11 10:49
>> resources/bundles/0/org.apache.sling.commons.classloader-1.2.2.jar
>>   997941  06-24-11 10:02
>> resources/bundles/0/org.apache.sling.commons.scheduler-2.2.0.jar
>>    31734  11-04-11 12:24
>> resources/bundles/0/org.apache.sling.commons.threads-3.1.0.jar
>>   169278  06-04-12 10:50
>> resources/bundles/0/org.apache.sling.event-3.0.2.jar
>>    66870  04-06-12 11:11
>> resources/bundles/0/org.apache.sling.api-2.2.0.jar
>>    19366 11-04-11 10:52
>> resources/bundles/0/org.apache.sling.settings-1.0.2.jar
>>    75559  11-04-11 10:53
>> resources/bundles/0/org.apache.sling.auth.core-1.0.6.jar
>>   180208  06-04-12 10:50
>> resources/bundles/0/org.apache.sling.engine-2.2.2.jar
>>   305681  06-04-12 10:50
>> resources/bundles/0/org.apache.sling.auth.openid-1.0.2.jar
>>    50750  06-04-12 10:50
>> resources/bundles/0/org.apache.sling.auth.form-1.0.2.jar
>>    18657 06-04-12 10:50
>> resources/bundles/0/org.apache.sling.auth.selector-1.0.4.jar
>>    17587  11-04-11 10:41
>> resources/bundles/0/org.apache.sling.adapter-2.0.8.jar
>>    51512  11-04-11 10:56
>> resources/bundles/0/org.apache.sling.servlets.resolver-2.1.0.jar
>>    58555  11-04-11 10:58
>> resources/bundles/0/org.apache.sling.servlets.get-2.1.2.jar
>>   102085  06-24-11 10:05
>> resources/bundles/0/org.apache.sling.servlets.post-2.1.0.jar
>>   132295  11-04-11 12:04
>> resources/bundles/0/org.apache.sling.jcr.contentloader-2.1.2.jar
>>   167382  11-04-11 10:40
>> resources/bundles/0/org.apache.sling.jcr.resource-2.0.10.jar
>>   640512  06-24-11 10:16
>> resources/bundles/0/org.apache.sling.jcr.ocm-2.0.4-incubator.jar
>>    45417  11-04-11 10:59
>> resources/bundles/0/org.apache.sling.jcr.classloader-3.1.4.jar
>>    35907  11-04-11 11:01
>> resources/bundles/0/org.apache.sling.bundleresource.impl-2.0.6.jar
>>    23882  11-04-11 11:03
>> resources/bundles/0/org.apache.sling.fsresource-1.0.2.jar
>>    26109  11-04-11 11:07
>> resources/bundles/0/org.apache.sling.launchpad.content-2.0.6.jar
>>    28231  11-04-11 11:07
>> resources/bundles/0/org.apache.sling.scripting.api-2.1.2.jar
>>    50777  06-04-12 10:50
>> resources/bundles/0/org.apache.sling.scripting.core-2.0.16.jar
>>   819190  11-04-11 11:07
>> resources/bundles/0/org.apache.sling.scripting.javascript-2.0.12.jar
>>  2195706  06-04-12 10:50
>> resources/bundles/0/org.apache.sling.scripting.jsp-2.0.14.jar
>>    23793  06-04-12 10:50
>> resources/bundles/0/org.apache.sling.scripting.jsp.taglib-2.1.0.jar
>>    13056  06-04-12 10:50
>> resources/bundles/0/org.apache.sling.launchpad.installer-1.0.0.jar
>>   111474  06-04-12 10:50
>> resources/bundles/0/org.apache.sling.installer.core-3.1.2.jar
>>    24605  06-04-12 10:50
>> resources/bundles/0/org.apache.sling.installer.provider.file-1.0.0.jar
>>    56920  06-04-12 10:50
>> resources/bundles/0/org.apache.sling.installer.provider.jcr-3.0.4.jar
>>   118850  11-04-11 11:08
>> resources/bundles/1/org.apache.sling.commons.log-2.1.2.jar
>>    15518  06-24-11 10:17
>>
>> resources/bundles/5/org.apache.sling.extensions.webconsolebranding-1.0.0.jar
>>    14792  06-24-11 10:17
>>
>> resources/bundles/5/org.apache.sling.extensions.webconsolesecurityprovider-1.0.0.jar
>>    47884  11-04-11 10:40
>> resources/bundles/5/org.apache.sling.commons.json-2.0.6.jar
>>    15671  06-24-11 10:17
>> resources/bundles/5/org.apache.sling.extensions.threaddump-0.2.0.jar
>>    15793  11-04-11 11:09
>> resources/bundles/5/org.apache.sling.jcr.webconsole-1.0.0.jar
>>   149706  06-04-12 10:50
>> resources/bundles/5/org.apache.sling.extensions.explorer-1.0.2.jar
>>    12474  06-24-11 09:57
>> resources/bundles/15/org.apache.sling.jcr.api-2.1.0.jar
>>    37483  06-24-11 09:59
>> resources/bundles/15/org.apache.sling.jcr.base-2.1.0.jar
>>  3985737  06-24-11 10:03
>> resources/bundles/15/org.apache.sling.jcr.jackrabbit.server-2.1.0.jar
>>    66766  11-04-11 11:34
>> resources/bundles/15/org.apache.sling.jcr.jackrabbit.usermanager-2.1.0.jar
>>    37653  11-04-11 12:23
>>
>> resources/bundles/15/org.apache.sling.jcr.jackrabbit.accessmanager-2.1.0.jar
>>  1871576  06-04-12 10:50
>> resources/bundles/15/org.apache.sling.jcr.webdav-2.1.0.jar
>>  1649156  06-04-12 10:50
>> resources/bundles/15/org.apache.sling.jcr.davex-1.0.0.jar
>>
>> On Mon, Jun 4, 2012 at 1:37 PM, Carsten Ziegeler <cz...@apache.org>
>> wrote:
>> > At a first look, this looks fine, so which bundles to you have in your
>> > final standalone app which you don't want to have there?
>> >
>> > Regards
>> > Carsten
>> >
>> > 2012/6/4 Erik Froese <er...@gmail.com>:
>> >> And here's the src/main/bundles/list.xml
>> >>
>> >> https://gist.github.com/2869507
>> >>
>> >> On Mon, Jun 4, 2012 at 12:50 PM, Erik Froese <er...@gmail.com>
>> wrote:
>> >>> Hey Carsten,
>> >>>
>> >>> I've updated the gist with my full pom.xml.
>> >>>
>> >>> https://gist.github.com/2869165
>> >>>
>> >>> Erik
>> >>>
>> >>> On Mon, Jun 4, 2012 at 12:47 PM, Carsten Ziegeler <
>> cziegeler@apache.org> wrote:
>> >>>> Hi,
>> >>>>
>> >>>> yes, this is the right list :)
>> >>>>
>> >>>> It depends how you setup your project, if you create a bundle list
>> >>>> (src/main/bundle/list.xml) which lists just the bundles you need you
>> >>>> should basically be done. In that case you don't need a dependency on
>> >>>> the Sling launchpad bundle list.
>> >>>> Maybe you could share the whole project so we can see how you try to
>> do this?
>> >>>>
>> >>>> Regards
>> >>>> Carsten
>> >>>>
>> >>>> 2012/6/4 Erik Froese <er...@gmail.com>:
>> >>>>> Hey,
>> >>>>>
>> >>>>> First off, is this the right place to send mail for questions about
>> >>>>> the maven-launchpad-plugin? If not, my apologies.
>> >>>>>
>> >>>>> I'm trying to use the maven-launchpad-plugin to bundle up an OSGi
>> >>>>> runtime and a bunch of bundles into an executable jar file. That part
>> >>>>> seems to work just fine. All of the bundles in my
>> >>>>> src/main/bundles/list.xml are included in the standalone jar.
>> >>>>>
>> >>>>> My problem is I don't need sling or the JCR in my application. I
>> tried
>> >>>>> to setting includeDefaultBundles to false but the sling/jcr jars
>> >>>>> always wind up in my jar.
>> >>>>>
>> >>>>> Here's the plugin configuration part of my pom.xml
>> >>>>>
>> >>>>> https://gist.github.com/2869165
>> >>>>>
>> >>>>> Is there something else I can do to get the plugin to stop merging in
>> >>>>> the defaults?
>> >>>>>
>> >>>>> Thanks
>> >>>>> Erik Froese
>> >>>>
>> >>>>
>> >>>>
>> >>>> --
>> >>>> Carsten Ziegeler
>> >>>> cziegeler@apache.org
>> >
>> >
>> >
>> > --
>> > Carsten Ziegeler
>> > cziegeler@apache.org
>>

Re: Using maven-launchpad-plugin but I don't need Sling in my standalone.

Posted by Justin Edelson <ju...@justinedelson.com>.
Erik-
I wasn't able to get your project to build due to missing dependencies.

Here's a simplified pom which does work correctly:
https://gist.github.com/2871513

Note that it would be simpler to configure the includeDefaultBundles just
one time (in a top-level configuration element under the plugin), but I
didn't want to do quite yet.

If you can put together a reproducible case of when includeDefaultBundles
doesn't work, please post it.

Regards,
Justin

On Mon, Jun 4, 2012 at 2:18 PM, Erik Froese <er...@gmail.com> wrote:

> I'm getting a lot of sling bundles I don't need. How can I get just
> what is in my list.xml?
>
> unzip -l
> /Users/froese/work/sakaiproject/nakamura/bundles/preview/target/org.sakaiproject.nakamura.preview-1.3-SNAPSHOT-bundles.jar
>  |grep sling
>    22567  06-24-11 09:57
> resources/bundles/0/org.apache.sling.commons.osgi-2.0.6.jar
>    34679  06-24-11 10:16
> resources/bundles/0/org.apache.sling.commons.mime-2.1.4.jar
>    22006  11-04-11 10:49
> resources/bundles/0/org.apache.sling.commons.classloader-1.2.2.jar
>   997941  06-24-11 10:02
> resources/bundles/0/org.apache.sling.commons.scheduler-2.2.0.jar
>    31734  11-04-11 12:24
> resources/bundles/0/org.apache.sling.commons.threads-3.1.0.jar
>   169278  06-04-12 10:50
> resources/bundles/0/org.apache.sling.event-3.0.2.jar
>    66870  04-06-12 11:11
> resources/bundles/0/org.apache.sling.api-2.2.0.jar
>    19366 11-04-11 10:52
> resources/bundles/0/org.apache.sling.settings-1.0.2.jar
>    75559  11-04-11 10:53
> resources/bundles/0/org.apache.sling.auth.core-1.0.6.jar
>   180208  06-04-12 10:50
> resources/bundles/0/org.apache.sling.engine-2.2.2.jar
>   305681  06-04-12 10:50
> resources/bundles/0/org.apache.sling.auth.openid-1.0.2.jar
>    50750  06-04-12 10:50
> resources/bundles/0/org.apache.sling.auth.form-1.0.2.jar
>    18657 06-04-12 10:50
> resources/bundles/0/org.apache.sling.auth.selector-1.0.4.jar
>    17587  11-04-11 10:41
> resources/bundles/0/org.apache.sling.adapter-2.0.8.jar
>    51512  11-04-11 10:56
> resources/bundles/0/org.apache.sling.servlets.resolver-2.1.0.jar
>    58555  11-04-11 10:58
> resources/bundles/0/org.apache.sling.servlets.get-2.1.2.jar
>   102085  06-24-11 10:05
> resources/bundles/0/org.apache.sling.servlets.post-2.1.0.jar
>   132295  11-04-11 12:04
> resources/bundles/0/org.apache.sling.jcr.contentloader-2.1.2.jar
>   167382  11-04-11 10:40
> resources/bundles/0/org.apache.sling.jcr.resource-2.0.10.jar
>   640512  06-24-11 10:16
> resources/bundles/0/org.apache.sling.jcr.ocm-2.0.4-incubator.jar
>    45417  11-04-11 10:59
> resources/bundles/0/org.apache.sling.jcr.classloader-3.1.4.jar
>    35907  11-04-11 11:01
> resources/bundles/0/org.apache.sling.bundleresource.impl-2.0.6.jar
>    23882  11-04-11 11:03
> resources/bundles/0/org.apache.sling.fsresource-1.0.2.jar
>    26109  11-04-11 11:07
> resources/bundles/0/org.apache.sling.launchpad.content-2.0.6.jar
>    28231  11-04-11 11:07
> resources/bundles/0/org.apache.sling.scripting.api-2.1.2.jar
>    50777  06-04-12 10:50
> resources/bundles/0/org.apache.sling.scripting.core-2.0.16.jar
>   819190  11-04-11 11:07
> resources/bundles/0/org.apache.sling.scripting.javascript-2.0.12.jar
>  2195706  06-04-12 10:50
> resources/bundles/0/org.apache.sling.scripting.jsp-2.0.14.jar
>    23793  06-04-12 10:50
> resources/bundles/0/org.apache.sling.scripting.jsp.taglib-2.1.0.jar
>    13056  06-04-12 10:50
> resources/bundles/0/org.apache.sling.launchpad.installer-1.0.0.jar
>   111474  06-04-12 10:50
> resources/bundles/0/org.apache.sling.installer.core-3.1.2.jar
>    24605  06-04-12 10:50
> resources/bundles/0/org.apache.sling.installer.provider.file-1.0.0.jar
>    56920  06-04-12 10:50
> resources/bundles/0/org.apache.sling.installer.provider.jcr-3.0.4.jar
>   118850  11-04-11 11:08
> resources/bundles/1/org.apache.sling.commons.log-2.1.2.jar
>    15518  06-24-11 10:17
>
> resources/bundles/5/org.apache.sling.extensions.webconsolebranding-1.0.0.jar
>    14792  06-24-11 10:17
>
> resources/bundles/5/org.apache.sling.extensions.webconsolesecurityprovider-1.0.0.jar
>    47884  11-04-11 10:40
> resources/bundles/5/org.apache.sling.commons.json-2.0.6.jar
>    15671  06-24-11 10:17
> resources/bundles/5/org.apache.sling.extensions.threaddump-0.2.0.jar
>    15793  11-04-11 11:09
> resources/bundles/5/org.apache.sling.jcr.webconsole-1.0.0.jar
>   149706  06-04-12 10:50
> resources/bundles/5/org.apache.sling.extensions.explorer-1.0.2.jar
>    12474  06-24-11 09:57
> resources/bundles/15/org.apache.sling.jcr.api-2.1.0.jar
>    37483  06-24-11 09:59
> resources/bundles/15/org.apache.sling.jcr.base-2.1.0.jar
>  3985737  06-24-11 10:03
> resources/bundles/15/org.apache.sling.jcr.jackrabbit.server-2.1.0.jar
>    66766  11-04-11 11:34
> resources/bundles/15/org.apache.sling.jcr.jackrabbit.usermanager-2.1.0.jar
>    37653  11-04-11 12:23
>
> resources/bundles/15/org.apache.sling.jcr.jackrabbit.accessmanager-2.1.0.jar
>  1871576  06-04-12 10:50
> resources/bundles/15/org.apache.sling.jcr.webdav-2.1.0.jar
>  1649156  06-04-12 10:50
> resources/bundles/15/org.apache.sling.jcr.davex-1.0.0.jar
>
> On Mon, Jun 4, 2012 at 1:37 PM, Carsten Ziegeler <cz...@apache.org>
> wrote:
> > At a first look, this looks fine, so which bundles to you have in your
> > final standalone app which you don't want to have there?
> >
> > Regards
> > Carsten
> >
> > 2012/6/4 Erik Froese <er...@gmail.com>:
> >> And here's the src/main/bundles/list.xml
> >>
> >> https://gist.github.com/2869507
> >>
> >> On Mon, Jun 4, 2012 at 12:50 PM, Erik Froese <er...@gmail.com>
> wrote:
> >>> Hey Carsten,
> >>>
> >>> I've updated the gist with my full pom.xml.
> >>>
> >>> https://gist.github.com/2869165
> >>>
> >>> Erik
> >>>
> >>> On Mon, Jun 4, 2012 at 12:47 PM, Carsten Ziegeler <
> cziegeler@apache.org> wrote:
> >>>> Hi,
> >>>>
> >>>> yes, this is the right list :)
> >>>>
> >>>> It depends how you setup your project, if you create a bundle list
> >>>> (src/main/bundle/list.xml) which lists just the bundles you need you
> >>>> should basically be done. In that case you don't need a dependency on
> >>>> the Sling launchpad bundle list.
> >>>> Maybe you could share the whole project so we can see how you try to
> do this?
> >>>>
> >>>> Regards
> >>>> Carsten
> >>>>
> >>>> 2012/6/4 Erik Froese <er...@gmail.com>:
> >>>>> Hey,
> >>>>>
> >>>>> First off, is this the right place to send mail for questions about
> >>>>> the maven-launchpad-plugin? If not, my apologies.
> >>>>>
> >>>>> I'm trying to use the maven-launchpad-plugin to bundle up an OSGi
> >>>>> runtime and a bunch of bundles into an executable jar file. That part
> >>>>> seems to work just fine. All of the bundles in my
> >>>>> src/main/bundles/list.xml are included in the standalone jar.
> >>>>>
> >>>>> My problem is I don't need sling or the JCR in my application. I
> tried
> >>>>> to setting includeDefaultBundles to false but the sling/jcr jars
> >>>>> always wind up in my jar.
> >>>>>
> >>>>> Here's the plugin configuration part of my pom.xml
> >>>>>
> >>>>> https://gist.github.com/2869165
> >>>>>
> >>>>> Is there something else I can do to get the plugin to stop merging in
> >>>>> the defaults?
> >>>>>
> >>>>> Thanks
> >>>>> Erik Froese
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> Carsten Ziegeler
> >>>> cziegeler@apache.org
> >
> >
> >
> > --
> > Carsten Ziegeler
> > cziegeler@apache.org
>

Re: Using maven-launchpad-plugin but I don't need Sling in my standalone.

Posted by Erik Froese <er...@gmail.com>.
I'm getting a lot of sling bundles I don't need. How can I get just
what is in my list.xml?

unzip -l /Users/froese/work/sakaiproject/nakamura/bundles/preview/target/org.sakaiproject.nakamura.preview-1.3-SNAPSHOT-bundles.jar
 |grep sling
    22567  06-24-11 09:57
resources/bundles/0/org.apache.sling.commons.osgi-2.0.6.jar
    34679  06-24-11 10:16
resources/bundles/0/org.apache.sling.commons.mime-2.1.4.jar
    22006  11-04-11 10:49
resources/bundles/0/org.apache.sling.commons.classloader-1.2.2.jar
   997941  06-24-11 10:02
resources/bundles/0/org.apache.sling.commons.scheduler-2.2.0.jar
    31734  11-04-11 12:24
resources/bundles/0/org.apache.sling.commons.threads-3.1.0.jar
   169278  06-04-12 10:50   resources/bundles/0/org.apache.sling.event-3.0.2.jar
    66870  04-06-12 11:11   resources/bundles/0/org.apache.sling.api-2.2.0.jar
    19366  11-04-11 10:52
resources/bundles/0/org.apache.sling.settings-1.0.2.jar
    75559  11-04-11 10:53
resources/bundles/0/org.apache.sling.auth.core-1.0.6.jar
   180208  06-04-12 10:50
resources/bundles/0/org.apache.sling.engine-2.2.2.jar
   305681  06-04-12 10:50
resources/bundles/0/org.apache.sling.auth.openid-1.0.2.jar
    50750  06-04-12 10:50
resources/bundles/0/org.apache.sling.auth.form-1.0.2.jar
    18657  06-04-12 10:50
resources/bundles/0/org.apache.sling.auth.selector-1.0.4.jar
    17587  11-04-11 10:41
resources/bundles/0/org.apache.sling.adapter-2.0.8.jar
    51512  11-04-11 10:56
resources/bundles/0/org.apache.sling.servlets.resolver-2.1.0.jar
    58555  11-04-11 10:58
resources/bundles/0/org.apache.sling.servlets.get-2.1.2.jar
   102085  06-24-11 10:05
resources/bundles/0/org.apache.sling.servlets.post-2.1.0.jar
   132295  11-04-11 12:04
resources/bundles/0/org.apache.sling.jcr.contentloader-2.1.2.jar
   167382  11-04-11 10:40
resources/bundles/0/org.apache.sling.jcr.resource-2.0.10.jar
   640512  06-24-11 10:16
resources/bundles/0/org.apache.sling.jcr.ocm-2.0.4-incubator.jar
    45417  11-04-11 10:59
resources/bundles/0/org.apache.sling.jcr.classloader-3.1.4.jar
    35907  11-04-11 11:01
resources/bundles/0/org.apache.sling.bundleresource.impl-2.0.6.jar
    23882  11-04-11 11:03
resources/bundles/0/org.apache.sling.fsresource-1.0.2.jar
    26109  11-04-11 11:07
resources/bundles/0/org.apache.sling.launchpad.content-2.0.6.jar
    28231  11-04-11 11:07
resources/bundles/0/org.apache.sling.scripting.api-2.1.2.jar
    50777  06-04-12 10:50
resources/bundles/0/org.apache.sling.scripting.core-2.0.16.jar
   819190  11-04-11 11:07
resources/bundles/0/org.apache.sling.scripting.javascript-2.0.12.jar
  2195706  06-04-12 10:50
resources/bundles/0/org.apache.sling.scripting.jsp-2.0.14.jar
    23793  06-04-12 10:50
resources/bundles/0/org.apache.sling.scripting.jsp.taglib-2.1.0.jar
    13056  06-04-12 10:50
resources/bundles/0/org.apache.sling.launchpad.installer-1.0.0.jar
   111474  06-04-12 10:50
resources/bundles/0/org.apache.sling.installer.core-3.1.2.jar
    24605  06-04-12 10:50
resources/bundles/0/org.apache.sling.installer.provider.file-1.0.0.jar
    56920  06-04-12 10:50
resources/bundles/0/org.apache.sling.installer.provider.jcr-3.0.4.jar
   118850  11-04-11 11:08
resources/bundles/1/org.apache.sling.commons.log-2.1.2.jar
    15518  06-24-11 10:17
resources/bundles/5/org.apache.sling.extensions.webconsolebranding-1.0.0.jar
    14792  06-24-11 10:17
resources/bundles/5/org.apache.sling.extensions.webconsolesecurityprovider-1.0.0.jar
    47884  11-04-11 10:40
resources/bundles/5/org.apache.sling.commons.json-2.0.6.jar
    15671  06-24-11 10:17
resources/bundles/5/org.apache.sling.extensions.threaddump-0.2.0.jar
    15793  11-04-11 11:09
resources/bundles/5/org.apache.sling.jcr.webconsole-1.0.0.jar
   149706  06-04-12 10:50
resources/bundles/5/org.apache.sling.extensions.explorer-1.0.2.jar
    12474  06-24-11 09:57
resources/bundles/15/org.apache.sling.jcr.api-2.1.0.jar
    37483  06-24-11 09:59
resources/bundles/15/org.apache.sling.jcr.base-2.1.0.jar
  3985737  06-24-11 10:03
resources/bundles/15/org.apache.sling.jcr.jackrabbit.server-2.1.0.jar
    66766  11-04-11 11:34
resources/bundles/15/org.apache.sling.jcr.jackrabbit.usermanager-2.1.0.jar
    37653  11-04-11 12:23
resources/bundles/15/org.apache.sling.jcr.jackrabbit.accessmanager-2.1.0.jar
  1871576  06-04-12 10:50
resources/bundles/15/org.apache.sling.jcr.webdav-2.1.0.jar
  1649156  06-04-12 10:50
resources/bundles/15/org.apache.sling.jcr.davex-1.0.0.jar

On Mon, Jun 4, 2012 at 1:37 PM, Carsten Ziegeler <cz...@apache.org> wrote:
> At a first look, this looks fine, so which bundles to you have in your
> final standalone app which you don't want to have there?
>
> Regards
> Carsten
>
> 2012/6/4 Erik Froese <er...@gmail.com>:
>> And here's the src/main/bundles/list.xml
>>
>> https://gist.github.com/2869507
>>
>> On Mon, Jun 4, 2012 at 12:50 PM, Erik Froese <er...@gmail.com> wrote:
>>> Hey Carsten,
>>>
>>> I've updated the gist with my full pom.xml.
>>>
>>> https://gist.github.com/2869165
>>>
>>> Erik
>>>
>>> On Mon, Jun 4, 2012 at 12:47 PM, Carsten Ziegeler <cz...@apache.org> wrote:
>>>> Hi,
>>>>
>>>> yes, this is the right list :)
>>>>
>>>> It depends how you setup your project, if you create a bundle list
>>>> (src/main/bundle/list.xml) which lists just the bundles you need you
>>>> should basically be done. In that case you don't need a dependency on
>>>> the Sling launchpad bundle list.
>>>> Maybe you could share the whole project so we can see how you try to do this?
>>>>
>>>> Regards
>>>> Carsten
>>>>
>>>> 2012/6/4 Erik Froese <er...@gmail.com>:
>>>>> Hey,
>>>>>
>>>>> First off, is this the right place to send mail for questions about
>>>>> the maven-launchpad-plugin? If not, my apologies.
>>>>>
>>>>> I'm trying to use the maven-launchpad-plugin to bundle up an OSGi
>>>>> runtime and a bunch of bundles into an executable jar file. That part
>>>>> seems to work just fine. All of the bundles in my
>>>>> src/main/bundles/list.xml are included in the standalone jar.
>>>>>
>>>>> My problem is I don't need sling or the JCR in my application. I tried
>>>>> to setting includeDefaultBundles to false but the sling/jcr jars
>>>>> always wind up in my jar.
>>>>>
>>>>> Here's the plugin configuration part of my pom.xml
>>>>>
>>>>> https://gist.github.com/2869165
>>>>>
>>>>> Is there something else I can do to get the plugin to stop merging in
>>>>> the defaults?
>>>>>
>>>>> Thanks
>>>>> Erik Froese
>>>>
>>>>
>>>>
>>>> --
>>>> Carsten Ziegeler
>>>> cziegeler@apache.org
>
>
>
> --
> Carsten Ziegeler
> cziegeler@apache.org

Re: Using maven-launchpad-plugin but I don't need Sling in my standalone.

Posted by Carsten Ziegeler <cz...@apache.org>.
At a first look, this looks fine, so which bundles to you have in your
final standalone app which you don't want to have there?

Regards
Carsten

2012/6/4 Erik Froese <er...@gmail.com>:
> And here's the src/main/bundles/list.xml
>
> https://gist.github.com/2869507
>
> On Mon, Jun 4, 2012 at 12:50 PM, Erik Froese <er...@gmail.com> wrote:
>> Hey Carsten,
>>
>> I've updated the gist with my full pom.xml.
>>
>> https://gist.github.com/2869165
>>
>> Erik
>>
>> On Mon, Jun 4, 2012 at 12:47 PM, Carsten Ziegeler <cz...@apache.org> wrote:
>>> Hi,
>>>
>>> yes, this is the right list :)
>>>
>>> It depends how you setup your project, if you create a bundle list
>>> (src/main/bundle/list.xml) which lists just the bundles you need you
>>> should basically be done. In that case you don't need a dependency on
>>> the Sling launchpad bundle list.
>>> Maybe you could share the whole project so we can see how you try to do this?
>>>
>>> Regards
>>> Carsten
>>>
>>> 2012/6/4 Erik Froese <er...@gmail.com>:
>>>> Hey,
>>>>
>>>> First off, is this the right place to send mail for questions about
>>>> the maven-launchpad-plugin? If not, my apologies.
>>>>
>>>> I'm trying to use the maven-launchpad-plugin to bundle up an OSGi
>>>> runtime and a bunch of bundles into an executable jar file. That part
>>>> seems to work just fine. All of the bundles in my
>>>> src/main/bundles/list.xml are included in the standalone jar.
>>>>
>>>> My problem is I don't need sling or the JCR in my application. I tried
>>>> to setting includeDefaultBundles to false but the sling/jcr jars
>>>> always wind up in my jar.
>>>>
>>>> Here's the plugin configuration part of my pom.xml
>>>>
>>>> https://gist.github.com/2869165
>>>>
>>>> Is there something else I can do to get the plugin to stop merging in
>>>> the defaults?
>>>>
>>>> Thanks
>>>> Erik Froese
>>>
>>>
>>>
>>> --
>>> Carsten Ziegeler
>>> cziegeler@apache.org



-- 
Carsten Ziegeler
cziegeler@apache.org

Re: Using maven-launchpad-plugin but I don't need Sling in my standalone.

Posted by Erik Froese <er...@gmail.com>.
And here's the src/main/bundles/list.xml

https://gist.github.com/2869507

On Mon, Jun 4, 2012 at 12:50 PM, Erik Froese <er...@gmail.com> wrote:
> Hey Carsten,
>
> I've updated the gist with my full pom.xml.
>
> https://gist.github.com/2869165
>
> Erik
>
> On Mon, Jun 4, 2012 at 12:47 PM, Carsten Ziegeler <cz...@apache.org> wrote:
>> Hi,
>>
>> yes, this is the right list :)
>>
>> It depends how you setup your project, if you create a bundle list
>> (src/main/bundle/list.xml) which lists just the bundles you need you
>> should basically be done. In that case you don't need a dependency on
>> the Sling launchpad bundle list.
>> Maybe you could share the whole project so we can see how you try to do this?
>>
>> Regards
>> Carsten
>>
>> 2012/6/4 Erik Froese <er...@gmail.com>:
>>> Hey,
>>>
>>> First off, is this the right place to send mail for questions about
>>> the maven-launchpad-plugin? If not, my apologies.
>>>
>>> I'm trying to use the maven-launchpad-plugin to bundle up an OSGi
>>> runtime and a bunch of bundles into an executable jar file. That part
>>> seems to work just fine. All of the bundles in my
>>> src/main/bundles/list.xml are included in the standalone jar.
>>>
>>> My problem is I don't need sling or the JCR in my application. I tried
>>> to setting includeDefaultBundles to false but the sling/jcr jars
>>> always wind up in my jar.
>>>
>>> Here's the plugin configuration part of my pom.xml
>>>
>>> https://gist.github.com/2869165
>>>
>>> Is there something else I can do to get the plugin to stop merging in
>>> the defaults?
>>>
>>> Thanks
>>> Erik Froese
>>
>>
>>
>> --
>> Carsten Ziegeler
>> cziegeler@apache.org

Re: Using maven-launchpad-plugin but I don't need Sling in my standalone.

Posted by Erik Froese <er...@gmail.com>.
Hey Carsten,

I've updated the gist with my full pom.xml.

https://gist.github.com/2869165

Erik

On Mon, Jun 4, 2012 at 12:47 PM, Carsten Ziegeler <cz...@apache.org> wrote:
> Hi,
>
> yes, this is the right list :)
>
> It depends how you setup your project, if you create a bundle list
> (src/main/bundle/list.xml) which lists just the bundles you need you
> should basically be done. In that case you don't need a dependency on
> the Sling launchpad bundle list.
> Maybe you could share the whole project so we can see how you try to do this?
>
> Regards
> Carsten
>
> 2012/6/4 Erik Froese <er...@gmail.com>:
>> Hey,
>>
>> First off, is this the right place to send mail for questions about
>> the maven-launchpad-plugin? If not, my apologies.
>>
>> I'm trying to use the maven-launchpad-plugin to bundle up an OSGi
>> runtime and a bunch of bundles into an executable jar file. That part
>> seems to work just fine. All of the bundles in my
>> src/main/bundles/list.xml are included in the standalone jar.
>>
>> My problem is I don't need sling or the JCR in my application. I tried
>> to setting includeDefaultBundles to false but the sling/jcr jars
>> always wind up in my jar.
>>
>> Here's the plugin configuration part of my pom.xml
>>
>> https://gist.github.com/2869165
>>
>> Is there something else I can do to get the plugin to stop merging in
>> the defaults?
>>
>> Thanks
>> Erik Froese
>
>
>
> --
> Carsten Ziegeler
> cziegeler@apache.org

Re: Using maven-launchpad-plugin but I don't need Sling in my standalone.

Posted by Carsten Ziegeler <cz...@apache.org>.
Hi,

yes, this is the right list :)

It depends how you setup your project, if you create a bundle list
(src/main/bundle/list.xml) which lists just the bundles you need you
should basically be done. In that case you don't need a dependency on
the Sling launchpad bundle list.
Maybe you could share the whole project so we can see how you try to do this?

Regards
Carsten

2012/6/4 Erik Froese <er...@gmail.com>:
> Hey,
>
> First off, is this the right place to send mail for questions about
> the maven-launchpad-plugin? If not, my apologies.
>
> I'm trying to use the maven-launchpad-plugin to bundle up an OSGi
> runtime and a bunch of bundles into an executable jar file. That part
> seems to work just fine. All of the bundles in my
> src/main/bundles/list.xml are included in the standalone jar.
>
> My problem is I don't need sling or the JCR in my application. I tried
> to setting includeDefaultBundles to false but the sling/jcr jars
> always wind up in my jar.
>
> Here's the plugin configuration part of my pom.xml
>
> https://gist.github.com/2869165
>
> Is there something else I can do to get the plugin to stop merging in
> the defaults?
>
> Thanks
> Erik Froese



-- 
Carsten Ziegeler
cziegeler@apache.org