[jbosstools-dev] Project Examples

Rob Cernich rcernich at redhat.com
Wed Jan 11 09:56:51 EST 2012


Hey Max,

> > SwitchYard assembles all its quickstarts into a single zip, which
> > is published to a Maven repository.  I was thinking about adding a
> > Maven importer that would use the artifact key to locate the
> > archive and install a specific quickstart.  This is what I have
> > envisioned:
> > 
> > * specify artifact key, i.e. group, artifact, version, packaging,
> > e.g.
> > org.switchyard.quickstarts:switchyard-quickstarts-distro:0.3.0.Final:zip.
> 
> > * specify root folder, e.g. /bean-service or /demos/orders
> 
> 
> > * import all projects under the specified folder
> 
> import all sounds like a horrible thing to me as a user. But better
> than nothing I guess.

Yeah.  That's why I want to make the changes (which I've already done).  I'll create a JIRA and submit my patch.

> if you already have a zip file at a stable URL then you can already
> use project examples infrastructure for this today I would say
> (assuming the projects are eclipse projects)
> 
> If maven projects then it is more tricky and I would say you should
> split out these examples into smaller ones or even better adapt them
> to archetypes so they work easily via JBoss Central ?
> /max
> http://about.me/maxandersen

The quickstarts and demos exist already, the Maven archetype only supports simple project creation (i.e. there's no archetype that creates a project, a service and configures the service to be exposed over JMS).  FYI, these are packaged with the runtime already and it seems a waste to have to create individual archives and store them up when they are already stored in a Maven repo.  Regardless, the work is done and seems to work well enough.

Best,
Rob



More information about the jbosstools-dev mailing list