karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Achim Nierbeck <bcanh...@googlemail.com>
Subject Re: [PROPOSAL] Create and provide karaf-boot plugin
Date Mon, 27 Apr 2015 18:02:42 GMT
Hi,

one more, maybe we can merge parts of my plugin to deploy the current
artifact on an karaf instance on it.
See also [1], this requires the jolokia servlet to be deployed though.

regards, Achim

[1] -
https://github.com/ANierbeck/JavaLang-Tooling/tree/master/karaf-deployer-maven-plugin

2015-04-27 19:57 GMT+02:00 Guillaume Nodet <gnodet@apache.org>:

> 2015-04-27 16:03 GMT+02:00 Jean-Baptiste Onofré <jb@nanthrax.net>:
>
> > Hi all,
> >
> > On a local branch, I worked on some new goals for the karaf-maven-plugin,
> > especially:
> >
> > karaf:run to easily bootstrap and start a Karaf instance
> >
>
> +1
>
>
> > karaf:deploy to upload (scp) the project artifact (or a given artifact)
> in
> > the deploy folder or the system folder (respecting the maven structure)
> >
>
> +1 we could also add sftp and http/https upload, with the help of the maven
> http servlet i've added in 4.x
>
>
> > karaf:client to connect to a running Karaf instance and execute commands
> >
>
> +1, i suppose we'd need interactive and scripted, like the bin/client
> script, right ?
>
> >
> > I would like to add a new plugin (more than a new goal):
> >
> > karaf-boot-maven-plugin
> >
> > with the boot goal.
> >
> > The purpose is easily:
> > 1/ in the end user code module, build a karaf custom distribution
> > including karaf standard distribution and the end user built application
> > 2/ be able to easily include test with pax-exam
> > 3/ provide a ready to run artifact
> > 4/ provide a way to specify profiles or features to include in the
> > distribution
> >
> > It's just an idea for now. The purpose is to provide a ready to run Karaf
> > container like users does with spring-boot.
> >
>
> So it would create the distribution, same as the install-kars / assembly
> goal, then use the karaf:run goal ?
> The only step than the assembly / run / archive goals can't do is the
> tests, but I'm not completely sure to understand this part...
> It looks more like an archetype than a plugin to me ? Or do I miss
> something ?
>
> >
> > Thoughts ?
> >
> > Regards
> > JB
> > --
> > Jean-Baptiste Onofré
> > jbonofre@apache.org
> > http://blog.nanthrax.net
> > Talend - http://www.talend.com
> >
>



-- 

Apache Member
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/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message