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

VDB builder base image does not build with released operator

XMLWordPrintable

      The initial virtualdatabase-builder image build fails with the release DV operator because it cannot find the required maven artifacts:

      Could not find artifact org.teiid:vdb-codegen-plugin:jar:1.5.1.fuse-jdk11-100012-redhat-00001 in repo-03-jboss-ga (https://repository.jboss.org/)
      

      This is because the config.yaml file specifies the ga repository but the maven artifacts were (correctly) pushed to the earlyaccess repository:

      mavenRepositories:
        central: https://repo.maven.apache.org/maven2
        repo-02-redhat-ga: http://maven.repository.redhat.com/ga/
        repo-03-jboss-ga: https://repository.jboss.org/
      

      A workaround for this is to use the maven repo override mechanism to change to the earlyaccess repository by adding the following to each VDB the user wants to deploy:

            mavenRepositories:
              repo-02-redhat-ga: http://maven.repository.redhat.com/earlyaccess/all
      

            jschatte@redhat.com Jan Schatteman
            asmigala@redhat.com Andrej Smigala
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: