Re: karaf-maven-plugin doesn't fail on feature name typo

2019-06-06 Thread Jean-Baptiste Onofré
Hi Lukasz, FYI, I created https://issues.apache.org/jira/browse/KARAF-6320 about this. The problem is about the pattern matching (it's possible to use regex to select features). If the pattern doesn't match, we don't do anything as it could be matched by another pattern. I will improve this. Reg

Re: karaf-maven-plugin doesn't fail on feature name typo

2019-06-05 Thread Jean-Baptiste Onofré
Hi, Agree, it should be improved. Let me create the Jira and fix that. Thanks Regards JB On 05/06/2019 11:26, lechlukasz wrote: > mvn karaf:verify doesn't fail when referring non-existing features. > > It is inconsistent, because if I give non-existing bootRepository, the mvn > verify will fa

Re: karaf-maven-plugin doesn't fail on feature name typo

2019-06-05 Thread lechlukasz
mvn karaf:verify doesn't fail when referring non-existing features. It is inconsistent, because if I give non-existing bootRepository, the mvn verify will fail, however the non-existing bootFeature will be silently ignored. -- Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.htm

Re: karaf-maven-plugin doesn't fail on feature name typo

2019-06-04 Thread Jean-Baptiste Onofré
Hi, Do you use karaf:verify on your features ? Regards JB On 04/06/2019 16:37, Lukasz Lech wrote: > Hello, > >   > > I’ve noticed that the container built with maven-karaf-plugin (4.2.4) >  “doesn’t work” without any error message. > > After the inspection I’ve noticed that one of my features

karaf-maven-plugin doesn't fail on feature name typo

2019-06-04 Thread Lukasz Lech
Hello, I've noticed that the container built with maven-karaf-plugin (4.2.4) "doesn't work" without any error message. After the inspection I've noticed that one of my features is not installed. The name of the feature was misspelled. The problem is, that maven build has not failed. It looks l