Maybe adding repository of your nexus into the <repositories> of the pom.xml. 
for example:

        <repository>
            <id>nexus repo</id>
            <url>https://localhost:8080:/.....</url>
            <name>Nexus Repo</name>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
            <releases>
                <enabled>false</enabled>
            </releases>
        </repository>

HTH
Xilai
From: Marco Westermann [mailto:m...@intersales.de]
Sent: Tuesday, July 23, 2013 2:45 PM
To: user@karaf.apache.org
Subject: Re: creating features for own bundles and making the accessible

Hi Freeman,

thank you for your answer but I think this is one step further. My problem 
don't accour when trying to install my feature to karaf. Instead I get the 
error when building the project created by karaf-features-archtype.

Thank you,


Marco


Am 23.07.2013 02:25, schrieb Freeman Fang:
Hi,

Edit $KARAF_HOME/etc/org.ops4j.pax.url.mvn.cfg,

add your local nexus url to

org.ops4j.pax.url.mvn.repositories

property
-------------
Freeman(Yue) Fang

Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://fusesource.com | http://www.redhat.com/
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: @Freeman小屋



On 2013-7-22, at 下午8:37, Marco Westermann wrote:


Hi,

I try to get my written osgi-bundles available as features.

I read that there is an archtype to create the features.xml from dependencies 
in the pom.xml.

When I try this, I get an error, that my referenced bundle could not be found 
in central repo. How can I archiv that it uses my local nexus repo to look up 
the bundles instead of the central one.

thanks and
best regards,

Marco Westermann

--
++ Business-Software aus einer Hand ++
++ Internet, Warenwirtschaft, Linux, Virtualisierung ++
http://www.intersales.de
http://www.eisxen.org
http://www.tarantella-partner.de
http://www.medisales.de
http://www.eisfair.net

interSales AG Internet Commerce
Subbelrather Str. 247
50825 Köln

Tel  02 21 - 27 90 50
Fax  02 21 - 27 90 517
Mail isi...@intersales.de<mailto:isi...@intersales.de>
Mail m...@intersales.de<mailto:m...@intersales.de>
Web  www.intersales.de<http://www.intersales.de>

Handelsregister Köln HR B 30904
Ust.-Id.: DE199672015
Finanzamt Köln-Nord. UstID: nicht vergeben
Aufsichtsratsvorsitzender: Michael Hippler
Vorstand: Andrej Radonic, Peter Zander





--

++ Business-Software aus einer Hand ++

++ Internet, Warenwirtschaft, Linux, Virtualisierung ++

http://www.intersales.de

http://www.eisxen.org

http://www.tarantella-partner.de

http://www.medisales.de

http://www.eisfair.net



interSales AG Internet Commerce

Subbelrather Str. 247

50825 Köln



Tel  02 21 - 27 90 50

Fax  02 21 - 27 90 517

Mail isi...@intersales.de<mailto:isi...@intersales.de>

Mail m...@intersales.de<mailto:m...@intersales.de>

Web  www.intersales.de<http://www.intersales.de>



Handelsregister Köln HR B 30904

Ust.-Id.: DE199672015

Finanzamt Köln-Nord. UstID: nicht vergeben

Aufsichtsratsvorsitzender: Michael Hippler

Vorstand: Andrej Radonic, Peter Zander

Reply via email to