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

Unable to override default maven repositories

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: