I think we should not put all karaf plugins into one maven plugin. Instead I think it makes more sense to analyze which goals have similar dependencies and put them together.

For example the karaf-scr plugin has very few dependencies and is better suited to be kept as a separate plugin.
The same may apply for others but I have not looked into them in detail.

Christian


Am 04.03.2014 19:39, schrieb Jean-Baptiste Onofré:
Hi all,

I would like to discuss with you about my current work on the karaf-maven-plugin:

1/ on master, I refactored the karaf-maven-plugin to use the Maven annotations. It's simpler and cleaner, and compatible with all Maven version. I also added the Maven 3.1 and 3.2 support. I also fixed the same issue as on karaf-3.0.x (see below) and cleanup the code (using global
I propose the following cleanup/refactoring/renaming on the goals:
- karaf:commands-generate-help renamed to karaf:commands-documentation
- karaf:create-instance-archive renamed to karaf:instance-archive
- karaf:features-add-to-repository renamed to karaf:populate-repository
- karaf:features-create-kar renamed to karaf:create-kar
- karaf:features-export-meta-data renamed to karaf:export-metadata
- karaf:features-generate-descriptor renames to karaf:create-features
- karaf:features-validate-descriptor renamed to karaf:validate-features
Introduction of new goals:
- karaf:client to interact with a running instance
- karaf:instance to interact with instances (start, stop, etc)
- karaf:deploy to deploy bundles or features (and eventually populate the system repository using scp)
- karaf:run to bootstrap and run a Karaf container
I also merged the scr-karaf-maven-plugin in karaf-maven-plugin as a dedicated goal (karaf:scr). 2/ on karaf-3.0.x branch, I introduced a set of new integration tests (using the maven-invoker-plugin). I fixed the different issues (construct global features set to resolve all features including transitive ones, support of file and http URLs, support of <configfile/> in features repository XML, etc).

Thoughts ?

Regards
JB


--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
Talend Application Integration Division http://www.talend.com

Reply via email to