Bug 1127193

Summary: JBoss EAP 6 Sources use unaccessible repository
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Jochen Cordes <jcordes>
Component: distributionAssignee: Fernando Nasser <fnasser>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Simka <msimka>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: fnasser, pgier, remerson
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-02 15:35:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jochen Cordes 2014-08-06 11:12:49 UTC
Description of problem:

The main pom of the JBoss EAP 6 sources contains a repository that can't be reached from the internet (http://download.lab.bos.redhat.com/brewroot/repos/jb-eap-6-rhel-6-build).

Version-Release number of selected component (if applicable):

JBoss EAP 6.2

How reproducible:

Always

Steps to Reproduce:
1. Download JBoss EAP 6.2 sources from https://access.redhat.com/jbossnetwork/restricted/softwareDetail.html?softwareId=26473&product=appplatform&version=6.2.0&downloadType=distributions
2. Unzip jboss-eap-6.2.0-src.zip and cd into jboss-eap-6.2
3. Run mvn clean install

Actual results:

Artifactes can't be resolved (f.e. antlr:antlr:pom:2.7.7.redhat-4)

Expected results:

Build runs without issues

Additional info:

How to solve:

Replace

<repository>
            <id>jboss-product-repository</id>
            <name>JBoss Internal Product Repository</name>
            <url>http://download.lab.bos.redhat.com/brewroot/repos/jb-eap-6-rhel-6-build/latest/maven/</url>
            <layout>default</layout>
            <releases>
                <enabled>true</enabled>
                <updatePolicy>never</updatePolicy>
            </releases>
            <snapshots>
                <enabled>false</enabled>
                <updatePolicy>never</updatePolicy>
            </snapshots>
        </repository>

with

<repository>
            <id>jboss-product-repository</id>
            <name>JBoss TechPreview Repository</name>
            <url>https://maven.repository.redhat.com/techpreview/all/</url>
            <layout>default</layout>
            <releases>
                <enabled>true</enabled>
                <updatePolicy>never</updatePolicy>
            </releases>
            <snapshots>
                <enabled>false</enabled>
                <updatePolicy>never</updatePolicy>
            </snapshots>
        </repository>

Comment 1 Fernando Nasser 2016-08-02 15:35:58 UTC
This should no longer be the case in EAP 6.4.x.