Uploaded image for project: 'Cloud Enablement'
  1. Cloud Enablement
  2. CLOUD-4087

https://maven.repository.redhat.com/techpreview/all returns HTTP 302 instead of 404

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • EAP74 7.4.0.GA
    • EAP7
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      In S2I builds, a settings.xml is used that contains:

      <repository>
                <id>jboss-eap-repository</id>
                <url>https://maven.repository.redhat.com/techpreview/all</url>
                <releases>
                  <enabled>true</enabled>
                </releases>
                <snapshots>
                  <enabled>false</enabled>
                </snapshots>
              </repository>
      

      https://maven.repository.redhat.com/techpreview/all returns 302 instead of 404 when an artifact is missing: hence some HTML is downloaded and the build fails;

      https://maven.repository.redhat.com/techpreview/all should be removed from https://github.com/jboss-openshift/cct_module/blob/master/jboss/container/maven/default/artifacts/opt/jboss/container/maven/default/jboss-settings.xml#L27

      We are not sure why techpreview repository disappeared, so we created SPMM-8975.

              kwills@redhat.com Ken Wills
              tborgato@redhat.com Tommaso Borgato
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: