Cannot build Apache Karaf from Source without adding custom Maven repositories
------------------------------------------------------------------------------
Key: KARAF-1227
URL: https://issues.apache.org/jira/browse/KARAF-1227
Project: Karaf
Issue Type: Bug
Components: karaf-core
Affects Versions: 2.2.5
Environment: Ubuntu 11.10 64-bit, OpenJDK 6, corporate Nexus repository
Reporter: Hendy Irawan
Some repos are not available from Central, required by
org.apache.karaf:org.apache.karaf.main:bundle:2.2.5 :
1. org.eclipse:osgi:jar:3.6.2.R36x_v20110210 --> This is only available from
http://svn.apache.org/repos/asf/servicemix/m2-repo, which needs to be added to
<repositories> or documented in the "BUILDING" guide.
Ironically, this artifact isn't even available in Eclipse Foundation's own
http://maven.eclipse.org/nexus ! :(
2. biz.aQute:bndlib:jar:0.0.313. It is available from
http://www.aqute.biz/repo, however newer versions are available from Central.
To use the latest bndlib, edit src/pom.xml, and add inside dependencyManagement:
{code}
<dependency>
<groupId>biz.aQute</groupId>
<artifactId>bndlib</artifactId>
<version>1.50.0</version>
</dependency>
{code}
Meanwhile, Maven Bundle Plugin is already on version 2.3.7, so it's better to
upgrade:
{code}
<felix.plugin.version>2.3.7</felix.plugin.version>
{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