Fabric8 Maven Plugin: how to upload artifacts to fabric maven proxy leaving profile unmodified
Issue
-
I'd like to deploy artifacts directly to the fabric maven proxy of Fuse 6.3 on Karaf, using Fabric8 Maven Plugin. Along with osgi bundles I also deploy a features repository in order to declaratively control the set of installed artifacts. But the artifacts uploaded with mvn fabric8:deploy are also automatically added to the profile.
-
QUESTION: is there a way to make
mvn fabric8:deploycommand simply upload project artifacts, leaving the profile unmodified? - Ideally I'd want to
- upload fresh bundle/artifacts to the fabric maven proxy preventing them to be added as artifacts to any profile
- update the profile this freshly uploaded configuration resources
- update the features repo and features list of the profile
So far the only workaround I've found is using a fake profile (one not used by containers) for the modules uploading artifacts (point 1 above) setting the valid profile only on the maven submodule providing config (point 2-3 above).
Environment
- Red Hat JBoss Fuse
- 6.3.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.