Hi,

The equinox 3.8.2 artifact is on SMX M2 repo:

http://svn.apache.org/repos/asf/servicemix/m2-repo/org/eclipse/org.eclipse.osgi/3.8.2.v20130124-134944/

You have to add this repo in your pom.xml:

<repository>
<id>smx.m2</id>
<url>http://svn.apache.org/repos/asf/servicemix/m2-repo/</url>
</repository>

Regards
JB

On 08/25/2014 02:51 PM, [email protected] wrote:
Trying to build Karaf custom distribution as mentioned in
http://karaf.apache.org/manual/latest/developers-guide/custom-distribution.html
and getting following error

Failure to find org.eclipse:org.eclipse.osgi:jar:3.8.2.v20130124-134944

pom.xml is as follows which just a copy paste of what available in
developer-guide with version tag added in line 26 and 36.

<?xml version="1.0" encoding="UTF-8"?>

<project xmlns="http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd";>

     <modelVersion>4.0.0</modelVersion>

     <groupId>org.apache.karaf</groupId>

     <artifactId>apache-karaf-minimal</artifactId>

     <version>3.0.2-SNAPSHOT</version>

     <packaging>karaf-assembly</packaging>

     <name>Apache Karaf :: Assemblies :: Minimal Distribution</name>

     <dependencies>

         <dependency>

         <!-- scope is compile so all features (there is only one) are
installed into startup.properties and the feature repo itself is not
installed -->

             <groupId>org.apache.karaf.features</groupId>

             <artifactId>framework</artifactId>

             <version>3.0.2-SNAPSHOT</version>

             <type>kar</type>

         </dependency>

         <dependency>

         <!-- scope is runtime so the feature repo is listed in the
features service config file, and features may be installed using the
karaf-maven-plugin configuration -->

             <groupId>org.apache.karaf.features</groupId>

             <artifactId>standard</artifactId>

             <classifier>features</classifier>

             <type>xml</type>

             <scope>runtime</scope>

             <version>3.0.2-SNAPSHOT</version>

         </dependency>

     </dependencies>

     <build>

         <plugins>

             <plugin>

                 <groupId>org.apache.karaf.tooling</groupId>

                 <artifactId>karaf-maven-plugin</artifactId>

                 <extensions>true</extensions>

                 <version>3.0.2-SNAPSHOT</version>

                 <configuration>

                     <!-- no startupFeatures -->

                     <bootFeatures>

                         <feature>standard</feature>

                         <feature>management</feature>

                     </bootFeatures>

                     <!-- no installedFeatures -->

                 </configuration>

             </plugin>

         </plugins>

     </build>

</project>

The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain proprietary, confidential or privileged information. If
you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and
destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email.

www.wipro.com


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

Reply via email to