Hi Stuart,
Thanks for the reply. I have couple of more questions:

I'm now using Apache karaf, so I do not need the provision/poms/compiled etc
created. How do I create a project that does not create these projects. I
just want a Parent project.

Also when I would like to create other child project types (just pom, may be
an EBA or an assebly project). Can I accomplish this with a mvn
pax:create-bundle?

Thanks
Matt

On Sun, Sep 25, 2011 at 4:57 PM, Stuart McCulloch <[email protected]> wrote:

> On 25 Sep 2011, at 22:45, Matt Madhavan wrote:
>
> Hello,
> When I tried to create a child bundle project from eclipse using the
> maven-archetype-osgi-bundle I found couple of issues. I right cliked on the
> Parent project and did new Maven --> module and chose
> maven-archetype-osgi-bundle (I'm using 1.5)
>
> 1. It just smothers the parent pom (Every thing gets deleted and f new
> lines added).
> 2. The bundle symbolic name gets messed up. The artifact id
> = com.hcsc.ccsp.common.om.feature but the symbolic name created is:
> *com.hcsc.ccsp.common.om.feature.com.hcsc.ccsp.common.om.feature* while I
> was expecting just *com.hcsc.ccsp.common.om.feature*
> *
> *
> But when I use 1.0 the first problem does not happen. The second issue
> happens.
>
> Can some one take a look at it please?
>
>
> The pax-construct archetypes won't work properly when used via the Maven
> archetype plugin - this is because at the time they were written the
> archetype plugin didn't support any of the filtering, post-creation-hook,
> and pom traversal features needed to properly wire the new module into an
> existing project. That's why you see odd results, such as the parent pom
> getting overwritten instead of being merged.
>
> Instead you need to use the CLI pax-construct commands (or the
> maven-pax-plugin goals) to apply these archetypes, which add the necessary
> functionality.
>
> Thanks
> Matt
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general
>
>
>
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general
>
>
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to