[
https://issues.apache.org/jira/browse/KARAF-1679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13424394#comment-13424394
]
Jean-Baptiste Onofré commented on KARAF-1679:
---------------------------------------------
The artifact is on ServiceMix repo and this repo is defined in the Karaf
pom.xml.
Moreover, this artifact is required in the Karaf distribution assemblies as the
Equinox framework is shipped in Karaf (to be able to switch from Felix to
Equinox very easily just by updating the system.properties).
> org.apache.karaf:apache-karaf:2.2.8 has a 'compile' dependency to
> org.eclipse:osgi:jar:3.6.2.R36x_v20110210
> -----------------------------------------------------------------------------------------------------------
>
> Key: KARAF-1679
> URL: https://issues.apache.org/jira/browse/KARAF-1679
> Project: Karaf
> Issue Type: Bug
> Components: karaf-osgi
> Affects Versions: 2.2.8
> Reporter: Hendy Irawan
>
> org.eclipse:osgi:jar:3.6.2.R36x_v20110210 is not in Maven Central (causes a
> bit of issue for us using Nexus proxy).
> And it seems not used by the final build anyway... I suggest it be marked
> scope=test and/or optional=true.
> karaf already depends on org.osgi.core 4.2.0 which is similar artifact to
> org.eclipse:osgi.
> Workaround:
> {code}
> <dependency>
> <groupId>org.apache.karaf</groupId>
> <artifactId>apache-karaf</artifactId>
> <version>${karaf.version}</version>
> <type>tar.gz</type>
> <exclusions>
> <exclusion>
> <artifactId>osgi</artifactId>
> <groupId>org.eclipse</groupId>
> </exclusion>
> </exclusions>
> </dependency>
> <dependency>
> <groupId>org.apache.karaf.assemblies.features</groupId>
> <artifactId>standard</artifactId>
> <version>${karaf.version}</version>
> <type>xml</type>
> <classifier>features</classifier>
> </dependency>
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira