openengsb/openengsb-framework — pull request #611 by bonomat (2011-10-24 22:17:10+00:00)
Title: Openengsb 2071/archetype improvement

if you are reviewing this: please have a look at the corresponding openengsb-maven-plugin branch:
OPENENGSB-2071/adapt-archetypes

I have adapted the archetype to generate a connector and a domain, the are now working like charm with the openengsb-maven branch : OPENENGSB-2071/adapt-archetypes,
now the openengsb-maven-plugin is retrieving the actual openengsb-framework version from maven central and trying to use this version for the archetypes.
so at the moment this is not working, because the new openengsb-framework with the new archetypes has to be released, but then it should work, in the meanwhile try this to test the archetypes:

checkout this branch and build it,
checkout the openengsb-maven-plugin branch: OPENENGSB-2071/adapt-archetypes and build it

go to an empty directory and type:
mvn org.openengsb:openengsb-maven-plugin:3.0.0-SNAPSHOT:genDomain to generate a new domain
and
mvn org.openengsb:openengsb-maven-plugin:3.0.0-SNAPSHOT:genConnector to generate a new connector

when you are asked which archetype version do you want to use type in 3.0.0-SNAPSHOT (because the needed archetype is not yet available on maven central)

there are some minor correction you have to do after the generation: the domain should build out of the box but the connector : try example as domain and you just have to implement the missing methods

if you think this is ok, i will backport this to 2.x.y