Connecting via https to maven repository (artifactory) with Fuse

Solution Verified - Updated -

Issue

  • We're configuring a Maven repository in a FUSE installed in Fabric mode. The actual configuration in default profile related is
    org.ops4j.pax.url.mvn.repositories= \
        https://artifactory:@artifactory.x.y.z/artifactory/xyz/xyz-gradle@snapshots \
        file:${runtime.home}/${karaf.default.repository}@snapshots@id=karaf-default, \
        file:${runtime.data}/maven/upload@snapshots@id=fabric-upload, \
        http://repo1.maven.org/maven2@id=central, \
        https://repo.fusesource.com/nexus/content/groups/public@id=fusepublic, \
        https://repository.jboss.org/nexus/content/repositories/public@id=jbosspublic, \
        https://repo.fusesource.com/nexus/content/repositories/releases@id=jbossreleases, \
        https://repo.fusesource.com/nexus/content/groups/ea@id=jbossearlyaccess, \
        http://repository.springsource.com/maven/bundles/release@id=ebrreleases, \
        http://repository.springsource.com/maven/bundles/external@id=ebrexternal
  • We're trying to using the Maven syntax https://<user>:<password>@repo_url to setup but the container does not start to provide from the defined artifactory URL.

Environment

  • Red Hat Fuse
    • 6.2.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content