Hi, I don't know if it's related, but here i'm behind an HTTP proxy, and when I copy in deploy/ the following two features files, only test2 appears in features list. It seems that when the XSD path is provided an internet connection is not available (or not direct) the feature is ignored (see test1).
test1.xml : <features xmlns="http://karaf.apache.org/xmlns/features/v1.0.0"> <repository>mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/1.0.0/xml/features</repository> <feature name="test1"> <feature>http</feature> </feature> </features> test2.xml: <features> <repository>mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/1.0.0/xml/features</repository> <feature name="test2"> <feature>http</feature> </feature> </features> features:list gives: karaf@root> features:list State Version Name Repository Description *[installed ] [0.0.0 ] test2 repo-0** [uninstalled] [0.3 ] transaction karaf-enterprise-2.2.0 OSGi Transaction Manager [uninstalled] [0.3 ] jpa karaf-enterprise-2.2.0 OSGi Persistence Container [uninstalled] [0.3 ] jndi karaf-enterprise-2.2.0 OSGi Service Registry JNDI access [uninstalled] [0.3 ] application-without-isolation karaf-enterprise-2.2.0 [uninstalled] [1.0.0 ] naming repo-0 [uninstalled] [1.0.0 ] transaction repo-0 [uninstalled] [1.0.0 ] nmr repo-0 [uninstalled] [1.0.0 ] nmr-audit repo-0 [uninstalled] [1.0.0 ] jbi repo-0 [uninstalled] [1.0.0 ] jbi-cluster repo-0 [uninstalled] [1.0.0 ] examples-nmr repo-0 [uninstalled] [2.5.6.SEC02 ] spring karaf-2.2.0 [uninstalled] [2.5.6.SEC02 ] spring-web karaf-2.2.0 [uninstalled] [3.0.5.RELEASE ] spring karaf-2.2.0 [uninstalled] [3.0.5.RELEASE ] spring-web karaf-2.2.0 [uninstalled] [1.2.1 ] spring-dm karaf-2.2.0 [uninstalled] [1.2.1 ] spring-dm-web karaf-2.2.0 [uninstalled] [2.2.0 ] wrapper karaf-2.2.0 [uninstalled] [2.2.0 ] obr karaf-2.2.0 [installed ] [2.2.0 ] config karaf-2.2.0 [installed ] [7.2.2.v20101205] jetty karaf-2.2.0 [uninstalled] [7.2.2.v20101205] jetty-jaas karaf-2.2.0 [installed ] [2.2.0 ] http karaf-2.2.0 [uninstalled] [2.2.0 ] war karaf-2.2.0 [uninstalled] [2.2.0 ] kar karaf-2.2.0 [uninstalled] [2.2.0 ] webconsole-base karaf-2.2.0 [uninstalled] [2.2.0 ] webconsole karaf-2.2.0 [installed ] [2.2.0 ] ssh karaf-2.2.0 [installed ] [2.2.0 ] management karaf-2.2.0 [uninstalled] [2.2.0 ] eventadmin karaf-2.2.0 [uninstalled] [2.2.0 ] jasypt-encryption karaf-2.2.0 * Installed via deploy directory 2011/3/31 Jean-Baptiste Onofré <[email protected]> > Anyway, we have a workaround by copying the fileSet for the features > descriptor :) > > > On 03/31/2011 10:28 AM, Andreas Pieber wrote: > >> Yeah, windows :) Mhm, this seams to be a bug in the features plugin. >> In the assembly pom it includes: >> >> <includeMvnBasedDescriptors>true</includeMvnBasedDescriptors> >> >> This should include them (in theory). So you have to search in the >> maven-features-plugin for the problem. >> >> Kind regards, >> Andreas >> >> On Thu, Mar 31, 2011 at 10:03 AM, Jean-Baptiste Onofré<[email protected]> >> wrote: >> >>> You have the features descriptor if you take the Karaf tar.gz (for Unix). >>> >>> If you download the zip (for Windows), the features files are not present >>> in >>> the system repo (there is not assemblies folder). >>> >>> The issue is on the zip assembly. >>> >>> Regards >>> JB >>> >>> >>> >>> On 03/31/2011 09:58 AM, Andreas Pieber wrote: >>> >>>> >>>> ok, now I'm confused... The feature descriptors are already included >>>> in the system repo: >>>> >>>> pieber@coprime [09:57:31] >>>> [~/projects/karaf/assemblies/apache-karaf/target] [karaf-2.2.x] >>>> -> % tree >>>> apache-karaf-2.2.1-SNAPSHOT/system/org/apache/karaf/assemblies/features >>>> >>>> >>>> <<< >>>> apache-karaf-2.2.1-SNAPSHOT/system/org/apache/karaf/assemblies/features >>>> ├── enterprise >>>> │ └── 2.2.1-SNAPSHOT >>>> │ └── enterprise-2.2.1-SNAPSHOT-features.xml >>>> └── standard >>>> └── 2.2.1-SNAPSHOT >>>> └── standard-2.2.1-SNAPSHOT-features.xml >>>> >>>> 4 directories, 2 files >>>> >>>> Kind regards, >>>> Andreas >>>> >>>> On Thu, Mar 31, 2011 at 9:32 AM, Jean-Baptiste Onofré<[email protected]> >>>> wrote: >>>> >>>>> >>>>> Agree. I made the test this morning. >>>>> >>>>> I'm gonna fix that for Karaf 2.2.1 release (and also on the trunk). >>>>> >>>>> Thanks >>>>> Regards >>>>> JB >>>>> >>>>> On 03/31/2011 09:31 AM, Hervé BARRAULT wrote: >>>>> >>>>>> >>>>>> Hi, >>>>>> for my startup case, putting the 2 features files in the right >>>>>> directories solved the problem. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> system\org\apache\karaf\assemblies\features\enterprise\2.2.0\enterprise-2.2.0-features.xml >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> system\org\apache\karaf\assemblies\features\standard\2.2.0\standard-2.2.0-features.xml >>>>>> >>>>>> >>>>>> Regards >>>>>> Hervé >>>>>> >>>>> >>>>> >>>
