Achim, Well, that's weird. Karaf 2.2.11 is what I"m using to generate the feature file. Any idea why it would be so big?
John On Thu, Nov 14, 2013 at 3:56 PM, Achim Nierbeck <[email protected]>wrote: > Hi John, > > it's most likely the wrong features xsd version. You'll need a 1.0.0 > features version. > Karaf 2.2.11 doesn't know the 1.2.0 version you're using yet. > Oh and you might consider doing a more "structured" features file with a > couple features, > not just one BIG one :) > > regards, Achim > > > 2013/11/14 John D. Ament <[email protected]> > > > Ah ha. > > > > So after overriding a few etc files, I'm able to get my custom dist to > boot > > with a few extra features installed. This includes mostly public > features. > > > > However, karaf (2.2.11 from SMX 4.5.3) doesn't seem to like my > > features.xml. I decided to gist the error/file in case anyone had any > > feedback. i generated the features.xml using the karaf plugins > > > > https://gist.github.com/johnament/7466114 > > > > John > > > > > > > > > > On Wed, Nov 13, 2013 at 11:28 PM, John D. Ament <[email protected] > > >wrote: > > > > > Hi all > > > > > > Another question, from a while back about custom distros on top of > > > servicemix. > > > > > > As of now, I am able to create my unpacked directory without an issue. > > > However, I have some questions (though maybe some of this is better > > suited > > > for karaf discussions). Here's my not too custom plugin tag of my pom > > file: > > > > > > <plugin> > > > <groupId>org.apache.karaf.tooling</groupId> > > > <artifactId>features-maven-plugin</artifactId> > > > <version>2.2.11</version> > > > <executions> > > > <execution> > > > <id>add-features-to-repo</id> > > > <phase>generate-resources</phase> > > > <goals> > > > <goal>add-features-to-repo</goal> > > > </goals> > > > <configuration> > > > <descriptors> > > > > > > > > > <descriptor>mvn:org.apache.karaf.assemblies.features/standard/2.2.11/xml/features</descriptor> > > > > > > > > > <descriptor>mvn:com.mycompany.esb/my-feature/${project.version}/xml/features</descriptor> > > > </descriptors> > > > <features> > > > <feature>my-feature</feature> > > > </features> > > > </configuration> > > > </execution> > > > </executions> > > > </plugin> > > > > > > Post install, when I do it manually I usually run this: > > > > > > features:install webconsole > > > features:install activemq-web-console > > > features:install camel-jackson > > > features:install camel-bean-validator > > > features:install activemq-camel > > > osgi:install -s mvn:commons-codec/commons-codec/1.6 > > > osgi:install -s > > > > > > mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-httpclient/3.1_7 > > > osgi:install -s > > > > > > mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-io > > > osgi:install -s mvn:org.codehaus.jackson/jackson-jaxrs/1.9.10 > > > osgi:install -s mvn:org.codehaus.jackson/jackson-xc/1.9.10 > > > osgi:install -s mvn:joda-time/joda-time/2.3 > > > osgi:install -s > > > > > > mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.bcpg-jdk16/1.46_2 > > > features:addurl mvn:io.hawt/hawtio-karaf/1.2-M26/xml/features > > > features:install hawtio-core > > > > > > Do I need to instead call each of these features in my pom file? > > > How would I install some of these non-feature installs? > > > > > > Also, even though I list my-feature in the install area, it doesn't get > > > installed. > > > > > > Thanks, > > > > > > John > > > > > > > > > -- > > Apache Karaf <http://karaf.apache.org/> Committer & PMC > OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & > Project Lead > OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home> > Commiter & Project Lead > blog <http://notizblog.nierbeck.de/> >
