Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1210313

Summary: JDG Maven dependencies require EAP maven repo
Product: [JBoss] JBoss Data Grid 6 Reporter: Shay Matasaro <smatasar>
Component: BuildAssignee: Sebastian Łaskawiec <slaskawi>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Gencur <mgencur>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4.0CC: dstahl, jdg-bugs, jholusa, rmarwaha, slaskawi
Target Milestone: ER4   
Target Release: 6.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
There's now a new Maven repository provided as a zip file: jboss-datagrid-$RELEASE-maven-repository-full.zip However, this repository is missing some required dependencies. As a result, this repository has to be used together with the online Maven repository: http://maven.repository.redhat.com/techpreview/all/
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-23 12:25:15 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 Shay Matasaro 2015-04-09 12:31:45 UTC
Currently the JDG maven repo has some dependencies on the EAP repo, for example the jboss-parent pom.

workarounds:
- use the EAP maven repo in combination with the JDG repo
- use the online tech preview repo

Comment 3 Sebastian Łaskawiec 2015-04-21 11:41:18 UTC
A full offline maven repository will be called: 
*jboss-datagrid-$RELEASE-maven-repository-full.zip*

Comment 4 Jiri Holusa 2015-05-04 09:35:00 UTC
Hi Sebastian, I was veryfing the full distribution with quickstarts and I found many missing dependencies. I thought there will be just a few of them, so I started manually copying them one by one and resolving more and more. After almost an hour, I'm still not able to run all quickstarts, so I'm handling this back to you for investigation.

This is where I got so far, missing dependencies:

org.jboss.spec:jboss-javaee-6.0:pom:3.0.2.Final-redhat-4
org.jboss.component.management:jboss-dependency-management-all:pom:6.0.1-redhat-1
org.jboss.component.management:jboss-dependency-management-build:pom:6.0.1-redhat-1
org.jboss.component.management:jboss-dependency-management-eap:pom:6.0.1-redhat-1
org.jboss.spec.javax.faces:jboss-jsf-api_2.1_spec:jar:2.1.19.1.Final-redhat-1
org.jboss:jboss-parent:pom:10-redhat-2 
org.jboss.component.management:jboss-component-version-master:pom:6.1.0-redhat-2
org.jboss.component.management:jboss-dependency-management-all:pom:6.1.0-redhat-2
org.jboss.component.management:jboss-dependency-management-build:pom:6.1.0-redhat-2
org.jboss.component.management:jboss-dependency-management-eap:pom:6.1.0-redhat-2

After these, I was able to run carmart, carmart-tx and cdi quickstart. Next I tried to build eap-cluster-app and here are other missing dependencies:

org.jboss.as:jboss-as-ejb-client-bom:pom:7.2.1.Final-redhat-10
org.jboss.as:jboss-as-parent:pom:7.2.1.Final-redhat-10
org.jboss.component.management:jboss-project-dependency-relocations:pom:6.0.1-redhat-1
org.jboss.component.management:jboss-dependency-management-all:pom:6.1.0-redhat-1
org.jboss.component.management:jboss-dependency-management-build:pom:6.1.0-redhat-1
org.jboss.component.management:jboss-dependency-management-eap:pom:6.1.0-redhat-1
org.jboss:jboss-ejb-client:jar:1.0.23.Final-redhat-1
org.jboss.logging:jboss-logging:jar:3.1.2.GA-redhat-1 
org.jboss.marshalling:jboss-marshalling:jar:1.3.18.GA-redhat-1
org.jboss.marshalling:jboss-marshalling-parent:pom:1.3.18.GA-redhat-1
org.jboss.marshalling:jboss-marshalling-river:jar:1.3.18.GA-redhat-1
org.jboss.spec.javax.ejb:jboss-ejb-api_3.1_spec:jar:1.0.2.Final-redhat-2
org.jboss.xnio:xnio-nio:jar:3.0.7.GA-redhat-1
org.jboss.as:jboss-as-build-config:jar:7.2.1.Final-redhat-10
org.infinispan:infinispan-core:jar:5.2.7.Final-redhat-1
org.infinispan:infinispan-parent:jar:5.2.7.Final-redhat-1

Even after adding these, it's still not possible to run eap-cluster-app, there's more.

Comment 5 Martin Gencur 2015-05-04 11:03:27 UTC
Sebastian, I'm not sure if you've done this but could you please try building all the quickstarts with only the "full" Maven repository before passing it to ON_QA?Only this way we can see if some dependencies are missing.

Comment 8 Sebastian Łaskawiec 2015-05-13 07:32:01 UTC
Hey Martin!

From release perspective this is really hard to do because quickstarts are not built by the Brew (we build them separately and put into "candidates" area). I'll talk to Dave about creating another "smoke test" step in our release procedure. Unfortunately I can't promise you in which release this will happen.