Hi,

I'm trying to create my own Karaf distribution with karaf-maven-plugin and
include my private features. My target is just bring the resulting .tar.gz
and extract it on an application server without interacting with the
Console.

I have successfully generated a feature.xml with the following plugin
configuration in my pom.xml:

<plugin>
        <groupId>org.apache.karaf.tooling</groupId>
        <artifactId>karaf-maven-plugin</artifactId>
        <version>4.2.6</version>
        <executions>
          <execution>
            <goals>
              <goal>features-generate-descriptor</goal>
            </goals>
            <configuration>
              <includeProjectArtifact>true</includeProjectArtifact>
            </configuration>
          </execution>
        </executions>
</plugin>

However, I can't seem to have it installed (in other pom.xml):
<installedFeatures>
          <feature>wrapper</feature>
          <feature>aries-blueprint</feature>
          <feature>shell-compat</feature>
          <feature>my-feature</feature> <== This didn't work
</installedFeatures>

What am I missing? What is the right way to achieve my goal?

Thank you very much for your help!!!
Jasper



--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Reply via email to