2011/6/14 Lars Fischer <[email protected]>:
>
> When running mvn install, I get an error about a missing dependency:
>
> [ERROR] Failed to execute goal on project distri: Could not resolve
> dependencies for project test.karaf:
> distri:pom:0.0.1-SNAPSHOT: The following artifacts could not be
> resolved: org.eclipse:osgi:jar:3.6.0.v20100517
> , org.apache.karaf:apache-karaf:xml:features:2.2.1: Could not find
> artifact org.eclipse:osgi:jar:3.6.0.v201005
> 17
>
> What repository can I use to resolve this dependency?

Ok, org.eclipse:osgi:jar is available from the servicemix repository.
(http://svn.apache.org/repos/asf/servicemix/m2-repo)


But now I have the next missing dependency:
org.apache.karaf:apache-karaf:xml:features:2.2.1

The example uses a features-maven-plugin, which I configured with a
descriptor like
"<descriptor>mvn:org.apache.karaf/apache-karaf/${karaf.version}/xml/features</descriptor>"

This artifact can not be resolved. What is the correct descriptor for
karaf 2.2.1?

Regards,
Lars

Reply via email to