Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-13403

Unable to override default maven repositories

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • fuse-7.7-GA
    • fuse-7.x-GA, fuse-7.6-GA
    • Fuse Online

      When specifying custom maven repositories in the CR:

      spec:                                                                                                                                                                                                               
        components:                                                                                                                                                                                                       
          server:                                                                                                                                                                                                         
            features:                                                                                                                                                                                                     
              mavenRepositories:                                                                                                                                                                                          
                myrepo: https://myrepo
      

      This repository is appended to the set of default repositories:

      oc get cm syndesis-server-config -o yaml    
      apiVersion: v1
      data:
        application.yml: |-
          ...
          maven:
            repositories:
              central: https://repo.maven.apache.org/maven2/
              myrepo: https://myrepo
              repo-02-redhat-ga: https://maven.repository.redhat.com/ga/
              repo-03-jboss-ea: https://repository.jboss.org/nexus/content/groups/ea/
          ....
      

      This means I can't remove the default set of repositories - because when I manually change the config map, the operator resets it back to this state

              lgarciaac Luis GarcĂ­a Acosta
              avano@redhat.com Andrej Vano
              Andrej Vano Andrej Vano
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: