I bet it tries to resolve first on all remote Maven repositories first (with aether).

Can you try to remove the remote repos from etc/org.ops4j.pax.url.mvn.cfg ?

I plan to provide a command to switch from dev to production mode to change the artifacts resolution order.

Regards
JB

On 05/12/2015 05:39 PM, bobshort wrote:
Hi,

I have a feature I'm trying to get running on Karaf 3. The features install
in seconds on Karaf 2.2, 2.3 and 2.4. On Karaf 3.0.3 it takes 1/2hr. The
bundles use the http resolver. Any ideas?



<?xml version="1.0" encoding="UTF-8"?>
<features name="My Feature"
xmlns="http://karaf.apache.org/xmlns/features/v1.0.0";>

        

        <feature name="my-app-base" version="1.0.0">
        
                <feature>war</feature>
                <feature>webconsole</feature>
        
                <bundle
start-level="60">http://somedomain.com/repo/ivy-osgi-library/repository/org.springframework/org.springframework.aop/3.0.5.RELEASE/org.springframework.aop-3.0.5.RELEASE.jar</bundle>
                <bundle
start-level="60">http://somedomain.com/repo/ivy-osgi-library/repository/org.springframework/org.springframework.asm/3.0.5.RELEASE/org.springframework.asm-3.0.5.RELEASE.jar</bundle>
                <bundle
start-level="60">http://somedomain.com/repo/ivy-osgi-library/repository/org.springframework/org.springframework.aspects/3.0.5.RELEASE/org.springframework.aspects-3.0.5.RELEASE.jar</bundle>
                <bundle
start-level="60">http://somedomain.com/repo/ivy-osgi-library/repository/org.springframework/org.springframework.beans/3.0.5.RELEASE/org.springframework.beans-3.0.5.RELEASE.jar</bundle>
                <bundle
start-level="60">http://somedomain.com/repo/ivy-osgi-library/repository/org.springframework/org.springframework.context/3.0.5.RELEASE/org.springframework.context-3.0.5.RELEASE.jar</bundle>
                <bundle
start-level="60">http://somedomain.com/repo/ivy-osgi-library/repository/org.springframework/org.springframework.context.support/3.0.5.RELEASE/org.springframework.context.support-3.0.5.RELEASE.jar</bundle>
                <bundle
start-level="60">http://somedomain.com/repo/ivy-osgi-library/repository/org.springframework/org.springframework.core/3.0.5.RELEASE/org.springframework.core-3.0.5.RELEASE.jar</bundle>
                <bundle
start-level="60">http://somedomain.com/repo/ivy-osgi-library/repository/org.springframework/org.springframework.expression/3.0.5.RELEASE/org.springframework.expression-3.0.5.RELEASE.jar</bundle>
                <bundle
start-level="60">http://somedomain.com/repo/ivy-osgi-library/repository/org.springframework/org.springframework.instrument/3.0.5.RELEASE/org.springframework.instrument-3.0.5.RELEASE.jar</bundle>
                <bundle
start-level="60">http://somedomain.com/repo/ivy-osgi-library/repository/org.springframework/org.springframework.oxm/3.0.5.RELEASE/org.springframework.oxm-3.0.5.RELEASE.jar</bundle>
                <bundle
start-level="60">http://somedomain.com/repo/ivy-osgi-library/repository/org.aopalliance/com.springsource.org.aopalliance/1.0.0/com.springsource.org.aopalliance-1.0.0.jar</bundle>

                <bundle
start-level="60">http://somedomain.com/repo/ivy-osgi-library/repository/org.springframework/org.springframework.transaction/3.0.5.RELEASE/org.springframework.transaction-3.0.5.RELEASE.jar</bundle>
                <bundle
start-level="60">http://somedomain.com/repo/ivy-osgi-library/repository/org.springframework/org.springframework.jdbc/3.0.5.RELEASE/org.springframework.jdbc-3.0.5.RELEASE.jar</bundle>
                <bundle
start-level="60">http://somedomain.com/repo/ivy-osgi-library/repository/org.springframework/org.springframework.web/3.0.5.RELEASE/org.springframework.web-3.0.5.RELEASE.jar</bundle>
                <bundle
start-level="60">http://somedomain.com/repo/ivy-osgi-library/repository/org.springframework/org.springframework.web.servlet/3.0.5.RELEASE/org.springframework.web.servlet-3.0.5.RELEASE.jar</bundle>

                <bundle
start-level="60">http://somedomain.com/repo/ivy-osgi-library/repository/org.springframework.osgi/org.springframework.osgi.core/1.2.1/spring-osgi-core-1.2.1.jar</bundle>
                <bundle
start-level="60">http://somedomain.com/repo/ivy-osgi-library/repository/org.springframework.osgi/org.springframework.osgi.io/1.2.1/spring-osgi-io-1.2.1.jar</bundle>
                <bundle
start-level="60">http://somedomain.com/repo/ivy-osgi-library/repository/org.springframework.osgi/org.springframework.osgi.extender/1.2.1/spring-osgi-extender-1.2.1.jar</bundle>
                <bundle
start-level="60">http://somedomain.com/repo/ivy-osgi-library/repository/org.springframework.osgi/org.springframework.osgi.annotation/1.2.1/spring-osgi-annotation-1.2.1.jar</bundle>
                <bundle
start-level="60">http://somedomain.com/repo/ivy-osgi-library/repository/org.springframework.osgi/org.springframework.osgi.web/1.2.1/spring-osgi-web-1.2.1.jar</bundle>
        </feature>
</features>



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Karaf-3-0-3-Feature-Deploy-extremely-slow-tp4040322.html
Sent from the Karaf - User mailing list archive at Nabble.com.


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

Reply via email to