You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2017/05/03 20:36:04 UTC

[jira] [Comment Edited] (ARTEMIS-1141) Validate Karaf features using the karaf plugin

    [ https://issues.apache.org/jira/browse/ARTEMIS-1141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15995615#comment-15995615 ] 

Guillaume Nodet edited comment on ARTEMIS-1141 at 5/3/17 8:35 PM:
------------------------------------------------------------------

I ran the built with tests with no problems.  Did I miss something ?

I missed the ArtemisFeatureTest, but the feature could not be installed, so the test is definitely not working very well to detect failures.
To the "how can that be used", the build ensures that you can't break the feature installation.  Try removing an important bundle from a feature and you'll see the build will break.  If a new package dependency is added which cause a new import to be added to one of the bundles, the build will also fail fast.


was (Author: gnt):
I ran the built with tests with no problems.  Did I miss something ?

I missed the ArtemisFeatureTest, but the feature can't be installed, so the test is definitely not working very well to detect failures.
To the "how can that be used", the build ensures that you can't break the feature installation.  Try removing an important bundle from a feature and you'll see the build will break.  If a new package dependency is added which cause a new import to be added to one of the bundles, the build will also fail fast.

> Validate Karaf features using the karaf plugin
> ----------------------------------------------
>
>                 Key: ARTEMIS-1141
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1141
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>          Components: osgi
>    Affects Versions: 2.0.0
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: 2.next
>
>
> The Karaf maven plugin provides a validation goal which run the OSGi resolver to ensure that the features can actually be installed in Karaf.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)