Hi,

the correct URLs to use are:

for Karaf standard features (config, ssh, management, spring, etc):
mvn:org.apache.karaf.assemblies.features/standard/2.2.4/xml/features

for enterprise features (jpa, transaction, etc):
mvn:org.apache.karaf.assemblies.features/enterprise/2.2.4/xml/features

both are included by default in the featuresRepositories (in etc/org.apache.karaf.features.cfg file).

Regards
JB

On 11/05/2011 01:55 PM, Andreas Pieber wrote:
Hey Otavio,

We've changed this from 2.1.x to 2.2.x to the following two feature files:

mvn:org.apache.karaf.assemblies.features/enterprise/xml/features/2.2.4
mvn:org.apache.karaf.assemblies.features/enterprise/xml/standard/2.2.4

Can you please update your pom files and check if this does the job? If
yes please create an issue that we don't forget to fix this problem in
the documentation.

Thank you and kind regards,
Andreas

On Sat, Nov 5, 2011 at 13:46, Otavio Rodolfo Piske <[email protected]
<mailto:[email protected]>> wrote:

    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



--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to