You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Achim Nierbeck <bc...@googlemail.com> on 2011/12/15 09:08:50 UTC
Re: Basic question - Maven Plugin for creating Parent Projects/Bundle projects
Hi JB,
wouldn't it make more sense to add the web-bundle and war archetype to pax
web :)
regards, Achim
2011/12/15 Jean-Baptiste Onofré <jb...@nanthrax.net>
> NB: the archetypes work (bad usage on my side ;), I need more coffee on
> the morning :)
>
>
> On 12/14/2011 11:32 PM, David Jencks wrote:
>
>> We also have a karaf-assembly archetype (in trunk).
>>
>> I think that an archetype that uses the bundle packaging should be in
>> felix next to the maven bundle plugin. There's no need to hide it here.
>>
>> thanks
>> david jencks
>>
>> On Dec 14, 2011, at 1:39 PM, Matt Madhavan wrote:
>>
>> Hi JB,
>>> Please keep me informed. I'm very interested in participating.
>>>
>>> Thanks
>>> Matt
>>>
>>> --
>>> View this message in context: http://karaf.922171.n3.nabble.**
>>> com/Basic-question-Maven-**Plugin-for-creating-Parent-**
>>> Projects-Bundle-projects-**tp3586378p3586851.html<http://karaf.922171.n3.nabble.com/Basic-question-Maven-Plugin-for-creating-Parent-Projects-Bundle-projects-tp3586378p3586851.html>
>>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>>
>>
>>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
--
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Re: Basic question - Maven Plugin for creating Parent Projects/Bundle projects
Posted by Andreas Pieber <an...@gmail.com>.
I'm not so sure if we can really use that much of the pax plugin. There is
much structure and logic you typically do not use for a karaf project. The
question is: what exactly do you want the archetype for: a) a multiproject
karaf project or b) a single module. Both would be completely different
from the current pax structure. I would suggest not to use e.g. those osgi
files but rather define the logic directly in the pom. In addition I would
suggest to not use the parents/xxx pom structure but rather a clean head <-
child structure straight from the top to the bottom. In addition we'll need
a features/assembly project instead of the provision folder. I think that's
all.
WDYT?
Kind regards,
Andreas
On Thu, Dec 15, 2011 at 18:15, Matt Madhavan <ma...@gmail.com> wrote:
> Hello JB and Achim,
> Maven Pax Plugin might be a good starting point. Looks like it has not been
> updated for a while and does not work well at all with m2eclipse(When you
> try to create a bundle it totally cobbers the parent pom) and its tailored
> more towards PaxRunner.
>
> But I'm sure we can borrow lots of base knowledge and code from this.
>
> Just a thought!
>
> Thanks
> Matt
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Basic-question-Maven-Plugin-for-creating-Parent-Projects-Bundle-projects-tp3586378p3589266.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>
Re: Basic question - Maven Plugin for creating Parent Projects/Bundle
projects
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Matt,
sorry but I don't use Eclipse. I tested all archetypes in pure Maven
without problem.
I'm working on a set of new archetypes tonight. I will blog about that
tomorrow.
Regards
JB
On 12/15/2011 06:15 PM, Matt Madhavan wrote:
> Hello JB and Achim,
> Maven Pax Plugin might be a good starting point. Looks like it has not been
> updated for a while and does not work well at all with m2eclipse(When you
> try to create a bundle it totally cobbers the parent pom) and its tailored
> more towards PaxRunner.
>
> But I'm sure we can borrow lots of base knowledge and code from this.
>
> Just a thought!
>
> Thanks
> Matt
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Basic-question-Maven-Plugin-for-creating-Parent-Projects-Bundle-projects-tp3586378p3589266.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Re: Basic question - Maven Plugin for creating Parent
Projects/Bundle projects
Posted by Matt Madhavan <ma...@gmail.com>.
Hello JB and Achim,
Maven Pax Plugin might be a good starting point. Looks like it has not been
updated for a while and does not work well at all with m2eclipse(When you
try to create a bundle it totally cobbers the parent pom) and its tailored
more towards PaxRunner.
But I'm sure we can borrow lots of base knowledge and code from this.
Just a thought!
Thanks
Matt
--
View this message in context: http://karaf.922171.n3.nabble.com/Basic-question-Maven-Plugin-for-creating-Parent-Projects-Bundle-projects-tp3586378p3589266.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Re: Basic question - Maven Plugin for creating Parent Projects/Bundle projects
Posted by Achim Nierbeck <bc...@googlemail.com>.
JB,
:) I suggest you grab another cup of coffee then ;)
regards, Achim
2011/12/15 Jean-Baptiste Onofré <jb...@nanthrax.net>
> Right, it's what we said yesterday, but my morning wake up wasn't good ;)
>
> Regards
> JB
>
>
> On 12/15/2011 09:08 AM, Achim Nierbeck wrote:
>
>> Hi JB,
>>
>> wouldn't it make more sense to add the web-bundle and war archetype to
>> pax web :)
>>
>> regards, Achim
>>
>> 2011/12/15 Jean-Baptiste Onofré <jb@nanthrax.net <mailto:jb@nanthrax.net
>> >>
>>
>>
>> NB: the archetypes work (bad usage on my side ;), I need more coffee
>> on the morning :)
>>
>>
>> On 12/14/2011 11:32 PM, David Jencks wrote:
>>
>> We also have a karaf-assembly archetype (in trunk).
>>
>> I think that an archetype that uses the bundle packaging should
>> be in felix next to the maven bundle plugin. There's no need
>> to hide it here.
>>
>> thanks
>> david jencks
>>
>> On Dec 14, 2011, at 1:39 PM, Matt Madhavan wrote:
>>
>> Hi JB,
>> Please keep me informed. I'm very interested in participating.
>>
>> Thanks
>> Matt
>>
>> --
>> View this message in context:
>> http://karaf.922171.n3.nabble.**__com/Basic-question-Maven-__*
>> *Plugin-for-creating-Parent-__**Projects-Bundle-projects-__**
>> tp3586378p3586851.html
>>
>> <http://karaf.922171.n3.**nabble.com/Basic-question-**
>> Maven-Plugin-for-creating-**Parent-Projects-Bundle-**
>> projects-tp3586378p3586851.**html<http://karaf.922171.n3.nabble.com/Basic-question-Maven-Plugin-for-creating-Parent-Projects-Bundle-projects-tp3586378p3586851.html>
>> >
>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>
>>
>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org <ma...@apache.org>
>>
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>>
>>
>>
>> --
>>
>> Apache Karaf <http://karaf.apache.org/> Committer & PMC
>> OPS4J Pax Web <http://wiki.ops4j.org/**display/paxweb/Pax+Web/<http://wiki.ops4j.org/display/paxweb/Pax+Web/>>
>> Committer
>> & Project Lead
>> blog <http://notizblog.nierbeck.de/**>
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
--
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Re: Basic question - Maven Plugin for creating Parent Projects/Bundle
projects
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Right, it's what we said yesterday, but my morning wake up wasn't good ;)
Regards
JB
On 12/15/2011 09:08 AM, Achim Nierbeck wrote:
> Hi JB,
>
> wouldn't it make more sense to add the web-bundle and war archetype to
> pax web :)
>
> regards, Achim
>
> 2011/12/15 Jean-Baptiste Onofré <jb@nanthrax.net <ma...@nanthrax.net>>
>
> NB: the archetypes work (bad usage on my side ;), I need more coffee
> on the morning :)
>
>
> On 12/14/2011 11:32 PM, David Jencks wrote:
>
> We also have a karaf-assembly archetype (in trunk).
>
> I think that an archetype that uses the bundle packaging should
> be in felix next to the maven bundle plugin. There's no need
> to hide it here.
>
> thanks
> david jencks
>
> On Dec 14, 2011, at 1:39 PM, Matt Madhavan wrote:
>
> Hi JB,
> Please keep me informed. I'm very interested in participating.
>
> Thanks
> Matt
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.__com/Basic-question-Maven-__Plugin-for-creating-Parent-__Projects-Bundle-projects-__tp3586378p3586851.html
> <http://karaf.922171.n3.nabble.com/Basic-question-Maven-Plugin-for-creating-Parent-Projects-Bundle-projects-tp3586378p3586851.html>
> Sent from the Karaf - User mailing list archive at Nabble.com.
>
>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org <ma...@apache.org>
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
>
>
>
> --
>
> Apache Karaf <http://karaf.apache.org/> Committer & PMC
> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer
> & Project Lead
> blog <http://notizblog.nierbeck.de/>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com