Hi
While upgrading from 2.3.4 to 3.0.2, I have an issue with configuring 
org.ops4j.pax.url.mvn.cfg
I need to access all 'remote' artifacts via a password-protected 'mirror' Maven 
repository.
This worked fine in 2.3.4 by configuring

   
org.ops4j.pax.url.mvn.repositories=http\://user\:pass@repo/artifactory/repo@snapshots@id\=my-repo

However, it fails in 3.0.2. It seems to ignore the provided 'user' and 'pass'.
(and the Artifactory logs show no credentials are provided).

I understand the new Aether implementation looks into ~/.m2/settings.xml, but 
also there is a <server> entry for 'my-repo':

    <servers>
        <server>
            <id>my-repo</id>
            <username>user</username>
            <password>pass</password>
        </server>
    </servers>


Any suggestions on how to configure Karaf so it can use a password-protected 
'mirror' Maven repository?

Thanks
Martin

Reply via email to