Hello,

I am working on a project for one of my clients that uses Karaf. We
are looking for to build a customized distribution. I am
following the steps described in the Custom Distribution
(
http://karaf.apache.org/manual/2.2.2/developers-guide/custom-distribution.html
)
page but Maven fails to resolve one of the dependencies:

The dependencies section on my pom.xml file looks like this:

<properties>
        <karaf.version>2.2.4</karaf.version>
    </properties>

<dependencies>
        <dependency>
            <groupId>org.apache.karaf</groupId>
            <artifactId>apache-karaf</artifactId>
            <version>2.2.4</version>
            <type>tar.gz</type>
        </dependency>

        <dependency>
            <groupId>org.apache.karaf</groupId>
            <artifactId>apache-karaf</artifactId>
            <version>2.2.4</version>
            <type>xml</type>
            <classifier>features</classifier>
        </dependency>
    </dependencies>

When trying to create the package I get:

Could not resolve dependencies for project
TTL:ttl-transaction-core:pom:0.0.1-SNAPSHOT: Failure to find
org.apache.karaf:apache-karaf:xml:features:2.2.4

I also tried using version 2.2.2, as shown in the site, but it does
not work either. I searched throughout the documentation and the
mailing lists without finding any hint, as well.

Does anyone know where I can find that and/or which repository should
I use? I have a central Maven repository (pretty much the standard
Artifactory distribution with a few more repositories - such as
http://svn.apache.org/repos/asf/servicemix/m2-repo/) ...

Regards
-- 
Otavio R. Piske
http://orpiske.net

Reply via email to