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

Reply via email to